參數(shù)資料
型號: T89C51RD2-SMWI-M
廠商: Atmel Corp.
英文描述: 0 to 40MHz Flash Programmable 8-bit Microcontroller
中文描述: 0至40MHz可編程閃存8位微控制器
文件頁數(shù): 96/170頁
文件大?。?/td> 1927K
代理商: T89C51RD2-SMWI-M
96
A/T89C51CC01
4129L–CAN–08/05
CAN Autobaud and
Listening Mode
To activate the Autobaud feature, the AUTOBAUD bit in the CANGCON register must
be set. In this mode, the CAN controller is only listening to the line without acknowledg-
ing the received messages. It cannot send any message. The error flags are updated.
The bit timing can be adjusted until no error occurs (good configuration find).
In this mode, the error counters are frozen.
To go back to the standard mode, the AUTOBAUD bit must be cleared.
Figure 52.
Autobaud Mode
Routines Examples
1.
Init of CAN macro
// Reset the CAN macro
CANGCON = 01h;
// Disable CAN interrupts
ECAN = 0;
ETIM = 0;
// Init the Mailbox
for num_page =0; num_page <15; num_page++
{
CANPAGE = num_channel << 4;
CANCONCH = 00h
CANSTCH = 00h;
CANIDT1 = 00h;
CANIDT2 = 00h;
CANIDT3 = 00h;
CANIDT4 = 00h;
CANIDM1 = 00h;
CANIDM2 = 00h;
CANIDM3 = 00h;
CANIDM4 = 00h;
for num_data =0; num_data <8; num_data++)
{
CANMSG = 00h;
}
}
// Configure the bit timing
CANBT1 = xxh
CANBT2 = xxh
CANBT3 = xxh
0
1
TxDC
RxDC’
AUTOBAUD
CANGCON.3
RxDC
TxDC’
相關(guān)PDF資料
PDF描述
T89C51RC2-SLSIM 8-bit Microcontroller with 16 Kbytes/ 32 Kbytes FLASH
T89C51RD2-RDUI-L 0 to 40MHz Flash Programmable 8-bit Microcontroller
T89C51RD2-RDUI-M 0 to 40MHz Flash Programmable 8-bit Microcontroller
T89C51RD2-RDRC-L 0 to 40MHz Flash Programmable 8-bit Microcontroller
T89C51RD2-RDRC-M 0 to 40MHz Flash Programmable 8-bit Microcontroller
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
T89C51SND1 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:Single Chip Microcontroller with MP3 Decoder and Man Machine Interface
T89C51SND1-ROTIL 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:Single Chip Microcontroller with MP3 Decoder and Man Machine Interface
T89D 制造商:HellermannTyton 功能描述:Standoff bracket for 66 blocks
T8A60L 制造商:Taitron Components Inc 功能描述:
T8A6CI 制造商:KEC 制造商全稱:KEC(Korea Electronics) 功能描述:BI-DIRECTIONAL TRIODE THYRISTOR 8A MOLD TRIAC (AC POWER CONTROL)