atmega32c1 ATMEL Corporation, atmega32c1 Datasheet - Page 217

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.12
17.5.13
7647A–AVR–02/08
Checksum
Interrupts
CHECKSUM
=
255
BREAK/SYNC field sequence happens, the transfer in progress is aborted and the processing of
the new frame starts.
On the slave node, the BREAK detection is processed with the synchronization setting available
when the LIN/UART controller processed the (aborted) response. But the re-synchronization
restarts as usual. Due to a possible difference of timing reference between the BREAK field and
the rest of the frame, the time-out values can be slightly inaccurate.
The last field of a frame is the checksum.
In LIN 2.1, the checksum contains the inverted eight bit sum with carry over all data bytes and
the protected identifier. This calculation is called enhanced checksum.
In LIN 1.3, the checksum contains the inverted eight bit sum with carry over all data bytes. This
calculation is called classic checksum.
Frame identifiers 60 (0x3C) to 61 (0x3D) shall always use classic checksum
As shown in
combined to drive two interrupts. Each of these flags have their respective enable interrupt bit in
LINENIR register.
(see
• On slave node(s), an error is generated (i.e. LBERR in case of Tx Response or LFERR in
• On master node, the user (code) is responsible for this aborting of frame. To do this, the
case of Rx Response). Information on data error is also available, refer to the
17.5.7.5.
master task has first to abort the on-going communication (clearing LCMD bits - LIN Abort
command) and then to apply the Tx Header command. In this case, the abort error flag -
LABORT - is set.
unsigned char
Section 17.5.8 “xxOK Flags” on page 215
CHECKSUM
Figure 17-13 on page
n
0
DATA n
=
255
+
unsigned char
PROTECTED ID.
218, the four communication flags of the LINSIR register are
n
0
DATA n
+
unsigned char
and
+
Section 17.5.9 “xxERR Flags” on page
unsigned char
ATmega32/64/M1/C1
n
0
DATA n
n
0
DATA n
+
PROTECTED ID.
»
8
Section
»
8
215).
217

Related parts for atmega32c1