Skip to main content
Associate III
February 23, 2024
Question

CAN1 communication doesnt work

  • February 23, 2024
  • 2 replies
  • 1711 views

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

 

 

This topic has been closed for replies.

2 replies

mƎALLEm
ST Technical Moderator
April 3, 2024

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 "Best answer" on the reply which solved your issue or answered your question.
Karl Yamashita
Principal
April 3, 2024

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

 

If a reply has proven helpful, click on Accept as Solution so that it'll show at top of the post.CAN Jammer an open source CAN bus hacking toolCANableV3 Open Source