2024-12-05 01:37 AM - last edited on 2024-12-05 01:55 AM by SofLit
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?
Solved! Go to Solution.
2024-12-05 01:55 AM - edited 2024-12-11 08:12 AM
Hello,
You can simply use CAN in Loopback mode. You don't need for a second node to establish a CAN bus with transceivers:
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.
2024-12-05 01:55 AM - edited 2024-12-11 08:12 AM
Hello,
You can simply use CAN in Loopback mode. You don't need for a second node to establish a CAN bus with transceivers:
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.