I’m working for the first time on CAN protocol, with two STM32 F103RB - Nucleo64 and two transceivers (MCP2551). I’m trying to send a message from one of those two microcontrollers to the other one, in order to flash the LED of the target. I have succeeded in sending the message but not to receive it, could you help me please.
You will find attached the main program and my can.c library.
Thank you for your attention.