CANBUS Between two STM controllers
- June 22, 2023
- 19 replies
- 13699 views
Hello I am trying to attempt a CANBUS communication between two different STM boards, I've been following the videos on the STM website as a reference and I got the LOOPBACK Mode to work with one STM board but I am having trouble getting the NORMAL mode to work with two Stm boards.
Video I am referencing: https://youtu.be/KHNRftBa1Vc
My Master board is a Nucleo-L4R5ZI-P
Slave board is a Nucleo-L4A6ZG
Attached is an image of my current setup on trying to get the CAN transmit working
I kept the code mostly the same as the video, the problem I have right now is when I run it the video doesn't clarify if I should run the slave first then the master or run them in debug mode, doing either method I am getting all sorts of errors or just nothing happening, any clarification on what I can do to fix this would be massive help, Thank you!
