ata6616 ATMEL Corporation, ata6616 Datasheet - Page 200

no-image

ata6616

Manufacturer Part Number
ata6616
Description
Microcontroller With Lin Transceiver, 5v Regulator And Watchdog
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ata6616-P3QW
Manufacturer:
ATMEL
Quantity:
950
Part Number:
ata6616-P3QW
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ata6616C
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ata6616C-P3QW
Manufacturer:
ATMEL
Quantity:
887
4.16.5.8
4.16.5.9
200
ATA6616/ATA6617 [Preliminary]
xxOK Flags
xxERR Flags
There are three xxOK flags in LINSIR register:
These flags can generate interrupts if the corresponding enable interrupt bit is set in the LINE-
NIR register (see
LERR bit of the LINSIR register is an logical ‘OR’ of all the bits of LINERR register (see
4.16.5.13 “Interrupts” on page
• LIDOK: LIN IDentifier OK
• LRXOK: LIN RX response complete
• LTXOK: LIN TX response complete
• LBERR = LIN Bit ERRor.
• LCERR = LIN Checksum ERRor.
• LPERR = LIN Parity ERRor (identifier).
• LSERR = LIN Synchronization ERRor.
• LFERR = LIN Framing ERRor.
• LTOERR = LIN Time Out ERRor.
• LOVERR = LIN OVerrun ERRor.
It is set at the end of the header, either by the Tx Header function or by the Rx Header. In LIN
1.3, before generating LIDOK, the controller updates the LRXDL & LTXDL fields in LINDLR
register.
It is not driven in UART mode.
It is set at the end of the response by the Rx Response function in LIN mode and once a
character is received in UART mode.
It is set at the end of the response by the Tx Response function in LIN mode and once a
character has been sent in UART mode.
A unit that is sending a bit on the bus also monitors the bus. A LIN bit error will be flagged
when the bit value that is monitored is different from the bit value that is sent. After detection
of a LIN bit error the transmission is aborted.
A LIN checksum error will be flagged if the inverted modulo-256 sum of all received data
bytes (and the protected identifier in LIN 2.1) added to the checksum does not result in 0xFF.
A LIN parity error in the IDENTIFIER field will be flagged if the value of the parity bits does
not match with the identifier value. (See LP[1:0] bits in
Register - LINIDR” on page
corrupted parity bits and a corrupted identifier. The hardware does not undertake any
correction. However, the LIN slave application has to solve this as:
- known identifier (parity bits corrupted),
- or corrupted identifier to be ignored,
- or new identifier.
A LIN synchronization error will be flagged if a slave detects the edges of the SYNCH field
outside the given tolerance.
A framing error will be flagged if dominant STOP bit is sampled.
Same function in UART mode.
A time-out error will be flagged if the MESSAGE frame is not fully completed within the
maximum length T
IDENTIFIER fields (see
Overrun error will be flagged if a new command (other than LIN Abort) is entered while ‘Busy
Section 4.16.5.13 “Interrupts” on page
Frame_Maximum
Section 4.16.5.10 “Frame Time Out” on page
202). There are eight flags:
210). A LIN slave application does not distinguish between
by any slave task upon transmission of the SYNCH and
DRAFT
202).
Section 4.16.6.8 “LIN Identifier
201).
9132A–AUTO–10/08
Section

Related parts for ata6616