cancel
Showing results for 
Search instead for 
Did you mean: 

CAN1 communication doesnt work

Mr4
Associate III

Hi I'm very new in working with CAN-bus. My project involves two stm32 boards (both are nucleo-l433rc-p) and I want to get CAN-bus communication between them. The code is supposed to make a build in LED blink each time the blue button on the main nucleo board is pressed (although I would be happy to get any CAN communication at all).

Relevant code:

Main:

Mr4_1-1708681676633.png

Mr4_2-1708681748704.png

Mr4_3-1708681789418.png

Mr4_4-1708681846276.png

Relevant code secondary:

Mr4_5-1708682088030.png

Mr4_6-1708682327123.png

Mr4_9-1708682653222.png

Mr4_8-1708682622988.png

Hardware:

Mr4_10-1708682722550.png

Mr4_12-1708682990190.jpeg

 

 

2 REPLIES 2
SofLit
ST Employee

Hello,

Did you manage to solve your issue? If you could you please share the solution as other members can benefit from it?

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.
Karl Yamashita
Lead III

CAN Rx (PA11) is on CN7-3. You currently have your CAN transceiver Rx on CN7-6 which is PB13.

 

Tips and Tricks with TimerCallback https://www.youtube.com/@eebykarl
If you find my solution useful, please click the Accept as Solution so others see the solution.