Skip to main content
Visitor II
June 17, 2024
Solved

Does anyone has CAN bus register code for F4?

  • June 17, 2024
  • 2 replies
  • 1335 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

    This topic has been closed for replies.
    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

    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ƎALLEmAnswer
    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.