STM32H753 FDCAN Bus Recovery
Good Morning,
I'm struggling with FDCAN Bus Recovery.
The system we have to use consists of an STM32H753-based board and a 3rd party ECU, which is internally terminated via software. Our custom board is also terminated, resulting in the correct 60 Ohm between CAN Hi & CAN Lo.
In the event I add an additional termination resistor to the Bus, the power-up sequence doesn't matter, however the bus is the over-terminated, which is obviously not correct. I can, however, see the custom board initially blurting out a CAN frame as fast as it can before the other ECU has finished powering up, and then normal CAN comms is seen on PCAN (the PCAN has been configured to not send any Acks).
However, if I leave the bus as it is, it looks like the bus from the perspective of the custom board just turns off. I can see the 3rd party ECU splurging out one of its' messages as fast as it can, however our board should be seeing this message and transmitting Acks etc.
I have implemented the Bus-Off recovery specified in the documentation (waiting for the Bus-Off flag to be set in the PSR Register and then clearing the Init bit), but it seems not to work at all and the CAN Bus just remains in the Off State.
How should I rectify this issue without altering the power-up sequence of the ECU's?
