cancel
Showing results for 
Search instead for 
Did you mean: 

Enable RX0 Interrupts

KMew
Senior III

Hello,

I apologize for any obvious questions, but I am new to CAN and STM32 programming.

I have written a code that successfully sends CAN messages to a CANalyzer for data interpretation, so I believe I have enabled the CAN portion correctly. My next objective is to send a message from a CANalyzer to the MCU and have it turn an LED on when it properly received the message.

I am using an evaluation board (STM32H7B3I-EVAL).

I attached a copy of my main.c file.

What I would like to know is how to enable an RX interrupt handler so that I can receive CAN data.

What do I have to add to the main.c to make that happen?

0 REPLIES 0