2018-11-27 04:44 PM
I have several slave devices devices hanging off connected to an STM32F7. When I power cycle the slave devices, the REC field in the ESR is greater than 128, causing the EPBF bit (in passive mode) to also be set. If I reload the chip, ESR is cleared and CAN communications are OK. I could not figure out a way to clear the ESR otherwise.
2018-11-28 02:00 AM
Are you sending messages while the slaves are powered off? Then the master does not see an ACK for the message, incrementes the error counter and tries to resend until 128 errors have happened. Make sure at least one other device on the bus is powered when you send messages