Issue getting two ST micro controllers to communicate with each other using CAN BUS
I currently have two STM32 Micro controllers, One is the NUCLEO-L4A6ZG and the other is the NUCLEO-L4R5ZI-P
I want to communicate between the two using the CAN Transmission but I am confused about a couple errors that I have been hitting, So for reference I've been following this website
Google: Mattewtrendev, Setting Up the CAN Bus on STM32
And I designed my circuit without using a transceiver and instead using resistors and diodes. The tutorial unfortunately doesn't explain how to actually run the programs to see if it's working. I'm kind of a noob when it comes to STM32CUBEIDE programming so I have it right now that both boards are connected to my computer through USBs and in the IDE I have it so each board is two separate projects. IN order to get it running I will run the main form CAN_BUS1 then debug the main from CAN_BUS2 unfortunately when I do this I hit a hard fault and I've been kind of stuck on how to actually run something like this?
