CAN in Normal Mode with STM32F407 microcontroller
Hello everyone,
I'm trying to switch from loopback mode to normal mode. So the program is working perfectly in loopback mode but i had to adapt it so i can use it in the desired normal mode.
I switched to the HSE as a source clock for CAN communication and I'm using PB8 and PB9 for CAN_Tx/Rx.
As a transceiver I'm using the SN65HVD230 with a 120 Ohm terminating resistor and the CANH and CANL are wired correctly to an DB9 connector then to a CAN interface for analyzing.
- I also checked the baud rate and i made sure that there's no mismatch.
- I selected the right channel for the CAN interface
- The transceiver is connected to VDD and GND
- The acceptance filter is configured to let any frame pass through it
- The interruption in the RX is enabled
- The error I'm receiving is an acknowledgment error from the CAN interface
You can find attached my project and i hope you can help me.


