cancel
Showing results for 
Search instead for 
Did you mean: 

CAN is not working in loopback mode on STM32F469I DISCO board

jrupesh90_
Associate II

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

1 ACCEPTED SOLUTION

Accepted Solutions

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.

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.

View solution in original post

4 REPLIES 4
SofLit
ST Employee

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.

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.

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.

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.

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.

Hello @jrupesh90_ ,

Could you please give a status of this thread and tell if you solved your issue?

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.