Skip to main content
Visitor II
July 18, 2024
Solved

CAN is not working in loopback mode on STM32F469I DISCO board

  • July 18, 2024
  • 1 reply
  • 1287 views

I am trying to interface CAN communication in loopback mode in STM32F469I DISCO but it is not working.

    This topic has been closed for replies.
    Best answer by mƎALLEm

    There is no CAN examples available for STM32F469I DISCO board but you can inspire from the example provided in the STM32CubeF4 in github from this link for STM32469I_EVAL board (the same microcontroller, but you need to check the RCC and the CAN GPIO pins configurations):

    https://github.com/STMicroelectronics/STM32CubeF4/tree/master/Projects/STM32469I_EVAL/Examples/CAN/CAN_Loopback

    But you didn't share your code to look at it.

    Two questions: 

    Did you enable and configure correctly the filters.

    Did you configure the internal pull-up resistor for CAN_Rx pin ? if not it needs to be configured.

    1 reply

    Technical Moderator
    July 18, 2024

    Hello @jrupesh90_  and welcome to the community.

    You need to describe what kind of issue you are facing.

    You can refer to this link on how to post a thread.

    You need to share your project including the ioc file.

    Visitor II
    July 18, 2024

    I am trying to interface CAN in loopback mode in STM32F469I DISCO board but my code is not working. Can you provide me some code snippets with respect to board.

    mƎALLEmAnswer
    Technical Moderator
    July 18, 2024

    There is no CAN examples available for STM32F469I DISCO board but you can inspire from the example provided in the STM32CubeF4 in github from this link for STM32469I_EVAL board (the same microcontroller, but you need to check the RCC and the CAN GPIO pins configurations):

    https://github.com/STMicroelectronics/STM32CubeF4/tree/master/Projects/STM32469I_EVAL/Examples/CAN/CAN_Loopback

    But you didn't share your code to look at it.

    Two questions: 

    Did you enable and configure correctly the filters.

    Did you configure the internal pull-up resistor for CAN_Rx pin ? if not it needs to be configured.