2018-09-11 02:21 AM
I need a CAN hal example code for stm32f103.
2018-09-12 03:04 AM
Hi @Manoj Hiwarkar ,
There is an example under STM32CubeF1 firmware package (runs on STM32F103xG devices).
You may found it under the path below:
STM32Cube_FW_F1_V1.6.1\Projects\STM3210E_EVAL\Examples\CAN\CAN_Networking
The example shows how to configure the CAN peripheral in order to send and receive CAN frames in normal mode.
Khouloud.
2018-09-12 06:04 AM
Also understand that on the F103 you can't do USB and CAN at the same time.
2018-09-12 06:43 AM
ok. One more thing, is STM32F103 compatible with MCP2516 tranciever ?