sorry, I don't know if I'm in the right section.I have a question about the LIN capability detection of a collision.
I studied the specification 2.2. I understood HOW the master MANAGES a collision in case of event triggered frame. But I do not understand HOW the master KNOWS that a collision occurs. If we suppose that two slaves send a response, only the slave that has lost the arbitration knows it. In fact this slave sees in the bus different bits than those he injected. Perhaps this slave is able to send an error message?
Please, can you help me?
The collision is supposed to be caught by the master, based on the one of the checksums ending up wrong. Optimally the frame IDs of the set of event-triggered frames would be selected such that any combination would already invalidate the PID.
Hi Broeker, Thanks you very much for your answer. I'm not sure I understood correctly, so I repeat you my understanding.
Simona said:I don't know if I'm in the right section.
I think not!
LIN is a network protocol:
It has nothing to do with Keil or ARM.
View all questions in Keil forum