Oct 14, 2019
11:51 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 14, 2019
11:51 PM
Hi all ,
Does anyone know which flag or register/bit should I check in the ASCLIN Module when a LIN communication error happens?
Thank you in advance
Kind regards
Lucas
#8042000 12878
Does anyone know which flag or register/bit should I check in the ASCLIN Module when a LIN communication error happens?
Thank you in advance
Kind regards
Lucas
#8042000 12878
- Tags:
- IFX
1 Reply
Oct 15, 2019
03:12 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 15, 2019
03:12 AM
Hi Lucas ,
Following errors are defined in Lin 1.3 specification.
1. Bit Error
2. Checksum Error
3. Identifier Parity Error
4. Slave Not Responding Error
5. Inconsistent-Synch Field Error
6. Physical Bus Error
A: You need to check these flags at FLAG register in ASCLIN module.
Bit Error ; CE
Checksum Error ; LC
Identifier Parity Error : LP
Slave Not Responding Error : RT
Inconsistent-Synch Field Error : LA
Physical Bus Error : CE or BD
Note;
While CE checks for bit error on the bus. It requires additionally a CAN Transceiver or any Transceiver which supports loopback of transmitted data from the LIN bus to check for bit flips.
And BD detects any physical bus error due to stuck at faults on the bus. However, this is only supported on the slave not master.
Kind regards
B
Following errors are defined in Lin 1.3 specification.
1. Bit Error
2. Checksum Error
3. Identifier Parity Error
4. Slave Not Responding Error
5. Inconsistent-Synch Field Error
6. Physical Bus Error
A: You need to check these flags at FLAG register in ASCLIN module.
Bit Error ; CE
Checksum Error ; LC
Identifier Parity Error : LP
Slave Not Responding Error : RT
Inconsistent-Synch Field Error : LA
Physical Bus Error : CE or BD
Note;
While CE checks for bit error on the bus. It requires additionally a CAN Transceiver or any Transceiver which supports loopback of transmitted data from the LIN bus to check for bit flips.
And BD detects any physical bus error due to stuck at faults on the bus. However, this is only supported on the slave not master.
Kind regards
B