AT90CAN128-16AE ATMEL Corporation, AT90CAN128-16AE Datasheet - Page 240

no-image

AT90CAN128-16AE

Manufacturer Part Number
AT90CAN128-16AE
Description
8-bit Avr Microcontroller With 128K Bytes of Isp Flash And CAN Controller.flash (Kbytes) 128 Vcc (V) 2.7-5.5 EEPROM (Kbytes) 4 SRAM (bytes) 4K CAN (mess. Obj.) 15
Manufacturer
ATMEL Corporation
Datasheet
CAN Data Buffers
CAN Timer
Prescaler
16-bit Timer
Time Triggering
Stamping Message
240
AT90CAN128
CLK
RXOK[i]
TXOK[i]
To preserve register allocation, the CAN data buffer is seen such as a FIFO (with
address pointer accessible) into a MOb selection.This also allows to reduce the risks of
un-controlled accesses.
There is one FIFO per MOb. This FIFO is accessed into a MOb page thanks to the CAN
message register.
The data index (INDX) is the address pointer to the required data byte. The data byte
can be read or write. The data index is automatically incremented after every access if
the AINC* bit is reset. A roll-over is implemented, after data index=7 it is data index=0.
The first byte of a CAN frame is stored at the data index=0, the second one at the data
index=1, ...
A programmable 16-bit timer is used for message stamping and time trigger communi-
cation (TTC).
Figure 118. CAN Timer Block Diagram
An 8-bit prescaler is initialized by CANTCON register. It receives the clk
It provides CLK
This timer starts counting from 0x0000 when the CAN controller is enabled (ENFG bit).
When the timer rolls over from 0xFFFF to 0x0000, an interrupt is generated (OVRTIM).
Two synchronization modes are implemented for TTC (TTC bit):
In TTC mode, a frame is sent once, even if an error occurs.
The capture of the timer value is done in the MOb which receives or sends the frame. All
managed MOb are stamped, the stamping of a received (sent) frame occurs on RxOk
(TXOK).
IO
OVRTIM
synchronization on Start of Frame (SYNCTTC=0),
synchronization on End of Frame (SYNCTTC=1).
8
CANSTM[i]
CANTIM
overrun
CLK
CANTCON
to the CAN Timer if the CAN controller is enabled.
CANTIM
= CLK
CLK
CANTIM
CANTIM
IO
x 8 x (CANTCON [7:0] + 1)
ENFG
CANTTC
TTC
SYNCTTC
IO
4250C–CAN–03/04
divided by 8.
"EOF "
"SOF "

Related parts for AT90CAN128-16AE