I have a device based on TMS470R1B1M from which I try to send CAN standard frames every second. As soon as I turn on the device, the device enters the error passive state.
How do I handle this error condition?
Electrical Engineering Stack Exchange is a question and answer site for electronics and electrical engineering professionals, students, and enthusiasts. It only takes a minute to sign up.Sign up to join this community
If there are no other devices on the bus — and I'm assuming your "CAN analyser" is completely passive — then that's your problem. As soon as your device sends a message, it fails to see any acknowledgement of it, and keeps resending until the error counters force it into the error passive state.
A functional CAN bus always has to have at least two active devices on it.