In
, the value of TA25 bit needs to be checked. This is done by first copying the entire CANTA
register to its shadow (using a 32-bit read) and then checking the relevant bit, repeating this operation until that
condition is satisfied. TA25 bit should NOT be checked with the following statement:
while(ECanaRegs.CANTA.bit.TA25 == 0);
Global Acceptance Mask − CANGAM
Mailbox Enable − CANME
Mailbox Direction − CANMD
Transmission Request Set − CANTRS
Transmission Request Reset − CANTRR
Transmission Acknowledge − CANTA
Abort Acknowledge − CANAA
Received Message Pending − CANRMP
Received Message Lost − CANRML
Remote Frame Pending − CANRFP
Master Control − CANMC
Bit−Timing Configuration − CANBTC
Error and Status − CANES
Transmit Error Counter − CANTEC
Receive Error Counter − CANREC
Global Interrupt Flag 0 − CANGIF0
Global Interrupt Mask − CANGIM
Mailbox Interrupt Mask − CANMIM
Mailbox Interrupt Level − CANMIL
Overwrite Protection Control − CANOPC
TX I/O Control − CANTIOC
RX I/O Control − CANRIOC
Time−Stamp Counter − CANTSC
Global Interrupt Flag 1 − CANGIF1
Time−Out Control − CANTOC
Time−Out Status − CANTOS
Reserved
eCAN−A Control and Status Registers
Message Identifier − MSGID (32 bits)
61E8h−61E9h
Message Control − MSGCTRL (32 bits)
Message Data Low − CANMDL (4 bytes)
Message Data High − CANMDH (4 bytes)
Message Mailbox (16 Bytes)
Control and Status Registers
6000h
603Fh
Local Acceptance Masks (LAM)
(32
×
32−Bit RAM)
6040h
607Fh
6080h
60BFh
60C0h
60FFh
eCAN−A Registers (512 Bytes)
Message Object Time Stamps (MOTS)
(32
×
32−Bit RAM)
Message Object Time−Out (MOTO)
(32
×
32−Bit RAM)
Mailbox 0
6100h−6107h
Mailbox 1
6108h−610Fh
Mailbox 2
6110h−6117h
Mailbox 3
6118h−611Fh
eCAN−A Mailbox RAM (512 Bytes)
Mailbox 4
6120h−6127h
Mailbox 28
61E0h−61E7h
Mailbox 29
61E8h−61EFh
Mailbox 30
61F0h−61F7h
Mailbox 31
61F8h−61FFh
61EAh−61EBh
61ECh−61EDh
61EEh−61EFh
Figure 16-4. eCAN-A Memory Map
Controller Area Network (CAN)
1006
TMS320x2806x Microcontrollers
SPRUH18I – JANUARY 2011 – REVISED JUNE 2022
Copyright © 2022 Texas Instruments Incorporated
Содержание TMS320 2806 Series
Страница 2: ......