Skip to main content
Associate II
June 17, 2024
Solved

Does anyone has CAN bus register code for F4?

  • June 17, 2024
  • 2 replies
  • 1336 views

All I need is a simple example CAN normal mode, I been searching around but found nothing. It just for educational purpose. Appreciate for any help

Best answer by mƎALLEm

Hello,

In the title you mention "register code"? what do you mean by that? an example not using HAL but with direct access to the registers? if yes ST doesn't provide a such example but using HAL as indicated by my colleague and especially the example CAN/CAN_Networking. 

2 replies

Mike_ST
Technical Moderator
June 18, 2024

Hello,

Please download the STM32F4x software package:

STM32F4 software package 

There are 2 examples in STM32Cube_FW_F4_V1.28.0\Projects\STM324x9I_EVAL\Examples\CAN

Hope that helps.

mƎALLEm
mƎALLEmBest answer
Technical Moderator
June 18, 2024

Hello,

In the title you mention "register code"? what do you mean by that? an example not using HAL but with direct access to the registers? if yes ST doesn't provide a such example but using HAL as indicated by my colleague and especially the example CAN/CAN_Networking. 

"To give better visibility on the answered topics, please click on ""Accept as Solution"" on the reply which solved your issue or answered your question."