T89C51CC01 Atmel, T89C51CC01 Datasheet - Page 97

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
4129K–CAN–01/05
2. Configure message object 3 in reception to receive only standard (11-bit identi-
Note:
3. Send a message on the message object 12
// Enable the CAN macro
// Select the message object 3
// Enable the interrupt on this message object
// Clear the status and control register
// Init the acceptance filter to accept only message 100h in standard mode
// Enable channel in reception
EA = 1
ECAN = 1
CANGIE = 20h
// Select the message object 12
// Enable the interrupt on this message object
// Clear the Status register
// load the identifier to send (ex: 555h)
// load data to send
// configure the control register
fier) message 100h
CANGCON = 02h
CANPAGE = 30h
CANIE2 = 08h
CANSTCH = 00h
CANCONCH = 00h
CANIDT1 = 20h
CANIDT2 = 00h
CANIDT3 = 00h
CANIDT4 = 00h
CANIDM1 = FFh
CANIDM2 = FFh
CANIDM3 = FFh
CANIDM4 = FFh
CANCONCH = 88h // enable reception
CANPAGE = C0h
CANIE1 = 01h
CANSTCH = 00h;
CANIDT1 = AAh;
CANIDT2 = A0h;
CANMSG = 00h
CANMSG = 01h
CANMSG = 02h
CANMSG = 03h
CANMSG = 04h
CANMSG = 05h
CANMSG = 06h
CANMSG = 07h
CANCONCH = 18h
To enable the CAN interrupt in reception:
T89C51CC01
97

Related parts for T89C51CC01