cancel
Showing results for 
Search instead for 
Did you mean: 

Can't receive any CAN data on STM32F303CCT6

MSzła.1
Associate III

Hello I tried to receive any CAN signal on my device based on STM32F303CCT6. Maybe you have solution :), CAN pins are remapped on PB9 and PB8 pins by STMCubeMX configurator

Below my code (main.c):

https://pastecode.io/s/7av2ge6m

and my settings in configurator:


_legacyfs_online_stmicro_images_0693W00000dDdRcQAK.png
_legacyfs_online_stmicro_images_0693W00000dDdRhQAK.png
_legacyfs_online_stmicro_images_0693W00000dDdRmQAK.pngI also set CAN RX pull HIGH using the internal pull-up, like in the tutorial https://controllerstech.com/can-protocol-in-stm32/

Thanks for help

0 REPLIES 0