參數(shù)資料
型號(hào): T89C51RD2-SLFC-L
廠商: Atmel Corp.
英文描述: 0 to 40MHz Flash Programmable 8-bit Microcontroller
中文描述: 0至40MHz可編程閃存8位微控制器
文件頁數(shù): 86/170頁
文件大?。?/td> 1927K
代理商: T89C51RD2-SLFC-L
86
A/T89C51CC01
4129L–CAN–08/05
Working on Message Objects
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.
CAN Controller
Management
In order to enable the CAN Controller correctly the following registers have to be
initialized:
General Control (CANGCON),
Bit Timing (CANBT 1, 2 and 3),
And for each page of 15 message objects
message object Control (CANCONCH),
message object Status (CANSTCH).
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:
Transmit message object,
Receive message object,
Receive buffer message object.
Disable
This configuration is made in the CONCH field of the CANCONCH register (see
Table 56).
When a message object is configured, the corresponding ENCH bit of CANEN 1 and 2
register is set.
Table 56.
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
CONCH 2
Type of Message Object
0
0
disable
0
1
Transmitter
1
0
Receiver
1
1
Receiver buffer
相關(guān)PDF資料
PDF描述
T89C51RD2-SLFC-M 0 to 40MHz Flash Programmable 8-bit Microcontroller
T89C51RD2-SLRI-L 0 to 40MHz Flash Programmable 8-bit Microcontroller
T89C51RD2-SLRI-M 0 to 40MHz Flash Programmable 8-bit Microcontroller
T89C51RD2-SLTC-L 0 to 40MHz Flash Programmable 8-bit Microcontroller
T89C51SND1 Single Chip Microcontroller with MP3 Decoder and Man Machine Interface
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
T89C51RD2-SLFC-M 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:0 to 40MHz Flash Programmable 8-bit Microcontroller
T89C51RD2-SLFI-L 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:0 to 40MHz Flash Programmable 8-bit Microcontroller
T89C51RD2-SLFI-M 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:0 to 40MHz Flash Programmable 8-bit Microcontroller
T89C51RD2-SLRC-L 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:0 to 40MHz Flash Programmable 8-bit Microcontroller
T89C51RD2-SLRCM 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:0 to 40 MHz Flash Programmable 8-bit Microcontroller