cancel
Showing results for 
Search instead for 
Did you mean: 

Testing CAN Protocol on STM32L476G evaluation board

Sujith
Associate II

Hi,
I’m using the STM32L76G evaluation board and would like to work with the CAN protocol. I have a DB9 connector but no slave devices. Could you suggest how I can test and work with CAN in this setup?

1 ACCEPTED SOLUTION

Accepted Solutions
SofLit
ST Employee

Hello,

You can simply use CAN in Loopback mode. You don't need for a second node to establish a CAN bus with transceivers:

SofLit_0-1733392751420.png

You can also probe Tx frames on CAN Tx pin.

You can inspire from this example: https://github.com/STMicroelectronics/STM32CubeF4/tree/master/Projects/STM324xG_EVAL/Examples/CAN/CAN_LoopBack

Hope that answered your question.

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

1 REPLY 1
SofLit
ST Employee

Hello,

You can simply use CAN in Loopback mode. You don't need for a second node to establish a CAN bus with transceivers:

SofLit_0-1733392751420.png

You can also probe Tx frames on CAN Tx pin.

You can inspire from this example: https://github.com/STMicroelectronics/STM32CubeF4/tree/master/Projects/STM324xG_EVAL/Examples/CAN/CAN_LoopBack

Hope that answered your question.

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.