atmega32c1 ATMEL Corporation, atmega32c1 Datasheet - Page 181

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
16.7
16.7.1
16.7.2
7647A–AVR–02/08
Error Management
Fault Confinement
Error Types
The CAN channel may be in one of the three following states:
For fault confinement, a transmit error counter (TEC) and a receive error counter (REC) are
implemented. BOFF and ERRP bits give the information of the state of the CAN channel. Setting
BOFF to one may generate an interrupt.
Figure 16-12. Line Error Mode
Note:
• Error active (default):
• Error passive:
• Bus off:
• BERR: Bit error. The bit value which is monitored is different from the bit value sent.
• SERR: Stuff error. Detection of more than five consecutive bit with the same polarity.
• CERR: CRC error (Rx only). The receiver performs a CRC check on every destuffed received
• FERR: Form error. The form error results from one (or more) violations of the fixed form of
The CAN channel takes part in bus communication and can send an active error frame when
the CAN macro detects an error.
The CAN channel cannot send an active error frame. It takes part in bus communication, but
when an error is detected, a passive error frame is sent. Also, after a transmission, an error
passive unit will wait before initiating further transmission.
The CAN channel is not allowed to have any influence on the bus.
message from the start of frame up to the data field. If this checking does not match with the
destuffed CRC field, an CRC error is set.
the following bit fields:
– CRC delimiter
– acknowledgement delimiter
Note:
More than one REC/TEC change may apply during a given message transfer.
Exceptions:
- Recessive bit sent monitored as dominant bit during the arbitration field and the acknowl-
edge slot.
- Detecting a dominant bit during the sending of an error frame.
ERRP = 1
BOFF = 0
Passive
Error
TEC > 127 or
REC > 127
ERRP = 0
BOFF = 0
TEC < 127 and
REC < 127
interrupt - BOFFIT
TEC > 255
ATmega32/64/M1/C1
Active
Error
Reset
ERRP = 0
BOFF = 1
of 11 consecutive
128 occurrences
recessive bit
Bus
Off
181

Related parts for atmega32c1