atmega32c1 ATMEL Corporation, atmega32c1 Datasheet - Page 215

no-image

atmega32c1

Manufacturer Part Number
atmega32c1
Description
Atmega32m1 Automotive 8-bit Avr Microcontroller With 32k/64k Bytes In-system Programmable Flash
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
atmega32c1-15AZ
Manufacturer:
ATMEL
Quantity:
170
Part Number:
atmega32c1-15AZ
Manufacturer:
Atmel
Quantity:
10 000
17.5.7.5
17.5.7.6
17.5.8
17.5.9
7647A–AVR–02/08
xxOK Flags
xxERR Flags
Data Length after Error
Data Length in UART Mode
Figure 17-11. Tx Response - Error
Note:
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
17.5.13 “Interrupts” on page
The UART mode forces LRXDL and LTXDL to 0 and disables the writing in LINDLR register,
Note that after reset, LRXDL and LTXDL are also forced to 0.
LIDOK: LIN IDentifier OK
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.
LRXOK: LIN RX response complete
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.
LTXOK: LIN TX response complete
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.
LBERR = LIN Bit ERRor.
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.
LCERR = LIN Checksum ERRor.
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.
LPERR = LIN Parity ERRor (identifier).
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
- LINIDR” on page
ity bits and a corrupted identifier. The hardware does not undertake any correction. How-
Information on response (ex: error on byte) is only available at the end of the serialization/de-seri-
alization of the byte.
LIN bus
LRXDL
LBUSY
LTXDL
Section 17.5.13 “Interrupts” on page
225). A LIN slave application does not distinguish between corrupted par-
4
4
217). There are eight flags:
DATA-0
0
DATA-1
1
217).
ATmega32/64/M1/C1
ERROR
Section 17.6.8 “LIN Identifier Register
DATA-2
2
LERR
Section
215

Related parts for atmega32c1