Microchip-MPLAB-Harmony / core

Harmony 3 Core
https://onlinedocs.microchip.com/v2/keyword-lookup?keyword=MH3_core&redirect=true
Other
17 stars 12 forks source link

Driver CANFD controler on SPI bus #20

Closed raf6410 closed 2 years ago

raf6410 commented 3 years ago

Hi,

I would like to add some extra CANFD channel via SPI on my custom board. The controleur CANFD is MCP2518FD. I would like to have driver bloc in Harmony 3. I tried to understand how it make but i'm a newbie in harmony.

Could you help me ?

jigneshmoradiya1 commented 3 years ago

Hi,

Harmony 3 supports CAN/CAN-FD PLIB (Peripheral Library) only for on-chip CAN/CAN-FD controller for Microchip 32-bit MCU/MPU devices. As per requirement, The following option can be considered to add external CAN-FD controller via SPI (SPI to CAN-FD) using MCP2518FD:

Thank you.

raf6410 commented 3 years ago

Thanks for your help.

In using a custom board with a DsPIC32MK. I'm already use the 4 CAN channels inside the PIC. I know this exemple, i have already tried to merge this exemple with my code.

Other question, How "harmony communty" choose new driver to add ? For exemple, if i would like to create a driver " External CANFD controller" I can push here myself or it will be "Validate" by Harmony community"?