cancel
Showing results for 
Search instead for 
Did you mean: 

Configuring CAN Drivers to the STM32L4R9I-EVAL board

sonic_solutions
Associate

As I tried to find CAN drivers for " STM32L4R9I-EVAL" but I didn't find any, And I tried configuring CAN example of Stm32L476G-Eval board but it is not working.

Anyone who worked on CAN (Protocol )configuring on STM32L4R9I-EVAL board please Guide me in this

1 ACCEPTED SOLUTION

Accepted Solutions
mƎALLEm
ST Employee

Hello @sonic_solutions and welcome to the ST community,

Attached a preliminary configuration of CAN1 on STM32L4R9I-EVAL board: PB8 and PB9 are used for CAN communication.

But from hardware standpoint, you need to ensure: 

JP12 & JP13: fitted.

JP14 fitted in position 1-2:

mALLEm_0-1749630416433.png

Remove R235 and R243:

mALLEm_1-1749630476114.png

You need to connect another CAN node to the board that has a 120ohm terminating resistor connected on it.

Hope that helps.

 

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
mƎALLEm
ST Employee

Hello @sonic_solutions and welcome to the ST community,

Attached a preliminary configuration of CAN1 on STM32L4R9I-EVAL board: PB8 and PB9 are used for CAN communication.

But from hardware standpoint, you need to ensure: 

JP12 & JP13: fitted.

JP14 fitted in position 1-2:

mALLEm_0-1749630416433.png

Remove R235 and R243:

mALLEm_1-1749630476114.png

You need to connect another CAN node to the board that has a 120ohm terminating resistor connected on it.

Hope that helps.

 

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.
mƎALLEm
ST Employee

The new question moved to this post.

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.

Thank you very much for the solution. However, I’m still unclear about the core point.

My main concern is that I need CAN files such that, when the code is flashed onto the STM32L4R9I-EVAL board, it should behave in the following way: upon receiving a CAN message, the board should either print a response or perform an action in response to that message.

Could you please help me with this

Please follow the new discussion in this post.

Thank you

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.