Theory of Operation
The CAN controller appears to the microprocessor as an I/O device. Each peripheral has 256 bytes of I/O address space allocated to it. CAN0 and CAN1 share Interrupt 6.
Table 5-2. CAN I/O Address
CAN Controller | Base Address |
CAN0 | A800h |
CAN1 | A900h |
CAN Register Summaries
DSTni contains two independent CAN channels. Operation and access to each device, however, is the same. The only difference is the starting I/O base address for each channel, as shown in Table
Both CAN channels have their registers located and fixed in the internal I/O space of the DSTni chip. Both are implemented as true
Each CAN channel has 62,
Register Summary
Table 5-3. CAN Channel Register Summary
Hex Offset |
| Register |
00 |
| TxMessage_0: ID, |
02 |
| |
04 |
| TxMessage_0: Data, |
06 |
| |
08 |
| |
0A |
| |
0C |
| TxMessage_0: RTR, IDE, |
0E |
| TxMessage_0: Control Flags, TXAbort, TRX |
10 |
| TxMessage_1: ID, |
12 |
| |
14 |
| TxMessage_1: Data, |
16 |
| |
18 |
| |
1A |
| |
1C |
| TxMessage_1: RTR, IDE, |
1E |
| TxMessage_1: Control Flags, TXAbort, TRX |
20 |
| TxMessage_2: ID, |
22 |
| |
24 |
| TxMessage_2: Data, |
26 |
| |
28 |
| |
2A |
| |
2C |
| TxMessage_2: RTR, IDE, |
2E |
| TxMessage_2: Control Flags, TXAbort, TRX |
| 58 |