ATMEGA16M1-MU Atmel, ATMEGA16M1-MU Datasheet - Page 177

no-image

ATMEGA16M1-MU

Manufacturer Part Number
ATMEGA16M1-MU
Description
IC MCU AVR 16K FLASH 32VQFN
Manufacturer
Atmel
Series
AVR® ATmegar
Datasheets

Specifications of ATMEGA16M1-MU

Core Processor
AVR
Core Size
8-Bit
Speed
16MHz
Connectivity
CAN, LIN, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, Temp Sensor, WDT
Program Memory Size
16KB (8K x 16)
Program Memory Type
FLASH
Eeprom Size
512 x 8
Ram Size
1K x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Data Converters
A/D 11x10b; D/A 1x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
32-VQFN Exposed Pad, 32-HVQFN, 32-SQFN, 32-DHVQFN
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Number Of I /o
-
19.8
19.8.1
19.8.2
8209D–AVR–11/10
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 19-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
ATmega16M1/32M1/64M1
interrupt - BOFFIT
TEC > 255
Active
Error
Reset
ERRP = 0
BOFF = 1
of 11 consecutive
128 occurrences
recessive bit
Bus
Off
177

Related parts for ATMEGA16M1-MU