2019-06-18 05:07 AM
Dear experts,
I'd be grateful if you could point me to some basic CAN bus example code for the F103 (blue pill) which later may be ported to the F4xx family (most likely F423)
Thanks for your help!
Solved! Go to Solution.
2019-06-18 09:05 AM
Hello,
You can get inspired from the CAN example available in the STM32CubeF1 firmware package to configure the CAN peripheral to send and receive CAN frames in normal mode: STM32Cube_FW_F1_V1.7.0\Projects\STM3210E_EVAL\Examples\CAN\CAN_Networking
There are also many CAN examples with STM32CubeF4 firmware package.
Best Regards,
Imen
2019-06-18 09:05 AM
Hello,
You can get inspired from the CAN example available in the STM32CubeF1 firmware package to configure the CAN peripheral to send and receive CAN frames in normal mode: STM32Cube_FW_F1_V1.7.0\Projects\STM3210E_EVAL\Examples\CAN\CAN_Networking
There are also many CAN examples with STM32CubeF4 firmware package.
Best Regards,
Imen
2019-06-18 08:06 PM
Thanks, Imen!
2019-06-18 10:26 PM
IMHO Cube examples don't fit a "minimal/basic" description very well.
At least for the F103, SPL-based (Standard Peripheral Lib) examples are available. The SPL examples highlight the setup process better than the convoluted Cube code. I had tried some while ago with a Cube-based F74x example, and fell back to the MCB1760 (NXP).
I think for the F42x, SPL code might be available too.