參數(shù)資料
型號: T89C51CC02UA-TISIM
廠商: Atmel
文件頁數(shù): 139/159頁
文件大小: 0K
描述: IC 8051 MCU FLASH 16K 28SOIC
標準包裝: 27
系列: AT89C CAN
核心處理器: 8051
芯體尺寸: 8-位
速度: 40MHz
連通性: CAN,UART/USART
外圍設備: POR,PWM,WDT
輸入/輸出數(shù): 20
程序存儲器容量: 16KB(16K x 8)
程序存儲器類型: 閃存
EEPROM 大小: 2K x 8
RAM 容量: 512 x 8
電壓 - 電源 (Vcc/Vdd): 3 V ~ 5.5 V
數(shù)據(jù)轉(zhuǎn)換器: A/D 8x10b
振蕩器型: 外部
工作溫度: -40°C ~ 85°C
封裝/外殼: 28-SOIC(0.295",7.50mm 寬)
包裝: 管件
配用: AT89STK-06-ND - KIT DEMOBOARD 8051 MCU W/CAN
其它名稱: T89C51CC02UATISIM
80
AT/T89C51CC02
4126L–CAN–01/08
Working on Message Objects
The Page message object register (CANPAGE) is used to select one of the 4 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 & 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 (CANEN) gives a fast over-
view 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
When a message object is configured, the corresponding ENCH bit of CANEN register
is set.
Table 54. Configuration for CONCH1:2
When a Transmitter or Receiver action of a message object is completed, the corre-
sponding ENCH bit of the CANEN 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
Disable
0
1
Transmitter
10
Receiver
1
Receiver buffer
相關PDF資料
PDF描述
T89C51CC02UA-SISIM IC 8051 MCU FLASH 16K 28PLCC
PIC18LF27J53-I/SS IC PIC MCU 128KB FLASH 28SSOP
T89C51CC02UA-RATIM IC 8051 MCU FLASH 16K 32VQFP
DSPIC33FJ16MC304-I/PT IC DSPIC MCU/DSP 16K 44TQFP
T89C51CC02CA-TISIM IC 8051 MCU FLASH 16K 28SOIC
相關代理商/技術參數(shù)
參數(shù)描述
T89C51IC 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:8-bit Microcontroller with Flash and I2C Interface
T89C51IC2 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:8-bit Microcontroller with Flash and I2C Interface
T89C51IC2-RLTIL 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:8-bit Microcontroller with Flash and I2C Interface
T89C51IC2-RLTIM 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:8-bit Microcontroller with Flash and I2C Interface
T89C51IC2-SLSCM 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:8-bit Microcontroller with Flash and I2C Interface