T89C51CC01 Atmel, T89C51CC01 Datasheet - Page 95

no-image

T89C51CC01

Manufacturer Part Number
T89C51CC01
Description
Enhanced 8-Bit Microcontroller
Manufacturer
Atmel
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
T89C51CC01CA-7CTIM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
T89C51CC01CA-RLTIM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
T89C51CC01CA-SLSIM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
T89C51CC01CASLIM
Quantity:
6 968
Part Number:
T89C51CC01UA-7CTIM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
T89C51CC01UA-RLTIM
Manufacturer:
Atmel
Quantity:
10 000
Time Trigger
Communication (TTC)
and Message Stamping
Figure 51. Block Diagram of CAN Timer
4129K–CAN–01/05
CLOCK
CANSTCH.4
CANSTCH.5
Fcan
RXOK i
TXOK i
CANSTMPH and CANSTMPL
÷ 6
The T89C51CC01 has a programmable 16-bit Timer (CANTIMH and CANTIML) for
message stamp and TTC.
This CAN Timer starts after the CAN controller is enabled by the ENA bit in the CANG-
CON register.
Two modes in the timer are implemented:
Note:
The CAN Timer works in a roll-over from FFFFh to 0000h which serves as a time base.
When the timer roll-over from FFFFh to 0000h, an interrupt is generated if the ETIM bit
in the interrupt enable register IEN1 is set.
CANTCON
CANTIMH and CANTIML
Time Trigger Communication:
Message Stamping
In this mode, CAN only sends the frame once, even if an error occurs.
Capture of this timer value in the CANTTCH and CANTTCL registers on
Start Of Frame (SOF) or End Of Frame (EOF), depending on the SYNCTTC
bit in the CANGCON register, when the network is configured in TTC by the
TTC bit in the CANGCON register.
Capture of this timer value in the CANSTMPH and CANSTMPL registers of
the message object which received or sent the frame.
All messages can be stamps.
The stamping of a received frame occurs when the RxOk flag is set.
The stamping of a sent frame occurs when the TxOk flag is set.
CANGCON.1
CANTTCH and CANTTCL
ENA
When 0xFFFF to 0x0000
CANGCON.5
TTC
CANGCON.4
SYNCTTC
SOF on CAN frame
EOF on CAN frame
T89C51CC01
OVRTIM
CANGIT.5
95

Related parts for T89C51CC01