CAN Communication: Can't Receive Message
- 9 replies
- 4413 views
I am attempting to use my STM32H7B3I-EVAL evaluation board to send and receive CAN communication messages. I am communicating with a Vector CANalayzer (16.0, VN1630A). The CANalyzer is being used both to display messages received from the evaluation board, as well as transmit its own data and send it to the evaluation board.
I am currently running the following C code attached to this.
The CANalyzer sees the data that is being sent in the bode for lines 111-138 in the code. However, when I try to receive data from the CANalyzer and make an LED blink on the evaluation board, it does not work.
CANalyzer settings:

The data I'm sending from the CANalyzer:
Message ID: 0x123
Data Length: 8
Data: Alternates between 0x2233445566778899 to 0x1223344556677889 every 2 seconds
I'm unsure why this code is successfully sending data to the CANalyzer but not receiving the data sent from it.
Have I not configured the Rx properly?
