AT89C51CC03 Atmel Corporation, AT89C51CC03 Datasheet - Page 92

no-image

AT89C51CC03

Manufacturer Part Number
AT89C51CC03
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of AT89C51CC03

Flash (kbytes)
64 Kbytes
Max. Operating Frequency
40 MHz
Cpu
8051-12C
Max I/o Pins
37
Spi
1
Uart
1
Can
1
Adc Channels
8
Adc Resolution (bits)
10
Adc Speed (ksps)
62.5
Sram (kbytes)
2.25
Eeprom (bytes)
2048
Self Program Memory
API
Operating Voltage (vcc)
3.0 to 5.5
Timers
4
Isp
UART/CAN
Watchdog
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT89C51CC03C-7CTIM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C51CC03C-IM
Manufacturer:
AT
Quantity:
17
Part Number:
AT89C51CC03C-RDRIM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C51CC03C-RLRIM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C51CC03C-RLTIM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C51CC03C-S3RIM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C51CC03CA-IM
Manufacturer:
TI
Quantity:
18
Part Number:
AT89C51CC03CA-JM
Manufacturer:
ATEML
Quantity:
42
Part Number:
AT89C51CC03CA-RDTUM
Manufacturer:
COSMO
Quantity:
6 000
Part Number:
AT89C51CC03CA-RLTUM
Manufacturer:
ADI
Quantity:
141
Working on Message Objects
CAN Controller
Management
92
AT89C51CC03
The Page message object register (CANPAGE) is used to select one of the 15 message
objects. Then, message object Control (CANCONCH) and message object Status
(CANSTCH) are available for this selected message object number in the corresponding
SFRs. A single register (CANMSG) is used for the message. The mailbox pointer is
managed by the Page message object register with an auto-incrementation at the end of
each access. The range of this counter is 8.
Note that the maibox is a pure RAM, dedicated to one message object, without overlap.
In most cases, it is not necessary to transfer the received message into the standard
memory. The message to be transmitted can be built directly in the maibox. Most calcu-
lations or tests can be executed in the mailbox area which provide quicker access.
In order to enable the CAN Controller correctly the following registers have to be
initialized:
During operation, the CAN Enable message object registers 1 and 2 (CANEN 1 and 2)
gives a fast overview of the message objects availability.
The CAN messages can be handled by interrupt or polling modes.
A message object can be configured as follows:
This configuration is made in the CONCH1:2 field of the CANCONCH register (see
Table 46).
When a message object is configured, the corresponding ENCH bit of CANEN 1 and 2
register is set.
Table 46. Configuration for CONCH1:2
When a Transmitter or Receiver action of a message object is completed, the corre-
sponding ENCH bit of the CANEN 1 and 2 register is cleared. In order to re-enable the
message object, it is necessary to re-write the configuration in CANCONCH register.
Non-consecutive message objects can be used for all three types of message objects
(Transmitter, Receiver and Receiver buffer),
CONCH 1
General Control (CANGCON),
Bit Timing (CANBT 1, 2 and 3),
And for each page of 15 message objects
Transmit message object,
Receive message object,
Receive buffer message object.
Disable
0
0
1
1
message object Control (CANCONCH),
message object Status (CANSTCH).
CONCH 2
0
1
0
1
Type of Message Object
Disable
Transmitter
Receiver
Receiver buffer
4182O–CAN–09/08

Related parts for AT89C51CC03