AT90CAN128 Automotive Atmel Corporation, AT90CAN128 Automotive Datasheet - Page 247

no-image

AT90CAN128 Automotive

Manufacturer Part Number
AT90CAN128 Automotive
Description
Manufacturer
Atmel Corporation

Specifications of AT90CAN128 Automotive

Flash (kbytes)
128 Kbytes
Pin Count
64
Max. Operating Frequency
16 MHz
Cpu
8-bit AVR
# Of Touch Channels
16
Hardware Qtouch Acquisition
No
Max I/o Pins
53
Ext Interrupts
8
Usb Speed
No
Usb Interface
No
Spi
1
Twi (i2c)
1
Uart
2
Can
1
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
8
Adc Resolution (bits)
10
Adc Speed (ksps)
15
Analog Comparators
1
Resistive Touch Screen
No
Temp. Sensor
No
Crypto Engine
No
Sram (kbytes)
4
Eeprom (bytes)
4096
Self Program Memory
YES
Dram Memory
No
Nand Interface
No
Picopower
No
Temp. Range (deg C)
-40 to 125
I/o Supply Class
2.7 to 5.5
Operating Voltage (vcc)
2.7 to 5.5
Fpu
No
Mpu / Mmu
no / no
Timers
4
Output Compare Channels
8
Input Capture Channels
2
Pwm Channels
7
32khz Rtc
Yes
Calibrated Rc Oscillator
Yes
19.7.2
7682C–AUTO–04/08
Error Types
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
– end-of-frame
– error delimiter
– overload 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 =
BOFF = 0
1
Passive
Error
TEC > 127 or
REC > 127
ERRP =
BOFF = 0
TEC < 127 and
REC < 127
0
BOFFIT interrupt
TEC > 255
Active
Error
Reset
AT90CAN32/64/128
ERRP =
BOFF = 1
0
of 11 consecutiv
128 occurrences
recessive bit
Bus
Off
247

Related parts for AT90CAN128 Automotive