SPRUIW9C October 2021 – March 2024 TMS320F280033 , TMS320F280034 , TMS320F280034-Q1 , TMS320F280036-Q1 , TMS320F280036C-Q1 , TMS320F280037 , TMS320F280037-Q1 , TMS320F280037C , TMS320F280037C-Q1 , TMS320F280038-Q1 , TMS320F280038C-Q1 , TMS320F280039 , TMS320F280039-Q1 , TMS320F280039C , TMS320F280039C-Q1
Table 29-17 lists the memory-mapped registers for the MCANSS_REGS registers. All register offset addresses not listed in Table 29-17 should be considered as reserved locations and the register contents should not be modified.
Offset (x8) | Offset (x16) | Acronym | Register Name | Write Protection | Section |
---|---|---|---|---|---|
0h | 0h | MCANSS_PID | MCAN Subsystem Revision Register | Go | |
4h | 2h | MCANSS_CTRL | MCAN Subsystem Control Register | Go | |
8h | 4h | MCANSS_STAT | MCAN Subsystem Status Register | Go | |
Ch | 6h | MCANSS_ICS | MCAN Subsystem Interrupt Clear Shadow Register | Go | |
10h | 8h | MCANSS_IRS | MCAN Subsystem Interrupt Raw Satus Register | Go | |
14h | Ah | MCANSS_IECS | MCAN Subsystem Interrupt Enable Clear Shadow Register | Go | |
18h | Ch | MCANSS_IE | MCAN Subsystem Interrupt Enable Register | Go | |
1Ch | Eh | MCANSS_IES | MCAN Subsystem Interrupt Enable Status | Go | |
20h | 10h | MCANSS_EOI | MCAN Subsystem End of Interrupt | Go | |
24h | 12h | MCANSS_EXT_TS_PRESCALER | MCAN Subsystem External Timestamp Prescaler 0 | Go | |
28h | 14h | MCANSS_EXT_TS_UNSERVICED_INTR_CNTR | MCAN Subsystem External Timestamp Unserviced Interrupts Counter | Go |
Complex bit access types are encoded to fit into small table cells. Table 29-18 shows the codes that are used for access types in this section.
Access Type | Code | Description |
---|---|---|
Read Type | ||
R | R | Read |
R-0 | R -0 | Read Returns 0s |
Write Type | ||
W | W | Write |
W1C | W 1C | Write 1 to clear |
W1S | W 1S | Write 1 to set |
Reset or Default Value | ||
-n | Value after reset or the default value |
MCANSS_PID is shown in Figure 29-25 and described in Table 29-19.
Return to the Summary Table.
MCAN Subsystem Revision Register
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
SCHEME | RESERVED | MODULE_ID | |||||||||||||
R-1h | R-2h | R-8E0h | |||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | MAJOR | RESERVED | MINOR | ||||||||||||
R-Ah | R-1h | R-0h | R-1h | ||||||||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-30 | SCHEME | R | 1h | PID Register Scheme Reset type: SYSRSn |
29-28 | RESERVED | R | 2h | Reserved |
27-16 | MODULE_ID | R | 8E0h | Module Identification Number Reset type: SYSRSn |
15-11 | RESERVED | R | Ah | Reserved |
10-8 | MAJOR | R | 1h | Major Revision of the MCAN Subsystem Reset type: SYSRSn |
7-6 | RESERVED | R | 0h | Reserved |
5-0 | MINOR | R | 1h | Minor Revision of the MCAN Subsystem Reset type: SYSRSn |
MCANSS_CTRL is shown in Figure 29-26 and described in Table 29-20.
Return to the Summary Table.
MCAN Subsystem Control Register
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | |||||||
R-0h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||
R-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | |||||||
R-0h | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | EXT_TS_CNTR_EN | AUTOWAKEUP | WAKEUPREQEN | DBGSUSP_FREE | RESERVED | ||
R-0h | R/W-0h | R/W-0h | R/W-0h | R/W-1h | R-0h | ||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-7 | RESERVED | R | 0h | Reserved |
6 | EXT_TS_CNTR_EN | R/W | 0h | External Timestamp Counter Enable. 0 External timestamp counter disabled 1 External timestamp counter enabled Reset type: SYSRSn |
5 | AUTOWAKEUP | R/W | 0h | Automatic Wakeup Enable. Enables the MCANSS to automatically clear the MCAN CCCR.INIT bit, fully waking the MCAN up, on an enabled wakeup request. 0 Disable the automatic write to CCCR.INIT 1 Enable the automatic write to CCCR.INIT Reset type: SYSRSn |
4 | WAKEUPREQEN | R/W | 0h | Wakeup Request Enable. Enables the MCANSS to wakeup on CAN RXD activity. 0 Disable wakeup request 1 Enables wakeup request Reset type: SYSRSn |
3 | DBGSUSP_FREE | R/W | 1h | Debug Suspend Free Bit. Enables debug suspend. 0 Disable debug suspend 1 Enable debug suspend Reset type: SYSRSn |
2-0 | RESERVED | R | 0h | Reserved |
MCANSS_STAT is shown in Figure 29-27 and described in Table 29-21.
Return to the Summary Table.
MCAN Subsystem Status Register
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | |||||||
R-0h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||
R-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | |||||||
R-0h | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | ENABLE_FDOE | MEM_INIT_DONE | RESET | ||||
R-0h | R-X | R-0h | R-0h | ||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-3 | RESERVED | R | 0h | Reserved |
2 | ENABLE_FDOE | R | X | Flexible Datarate Operation Enable. Determines whether CAN FD operation may be enabled via the MCAN core CCCR.FDOE bit (bit 8) or if only standard CAN operation is possible with this instance of the MCAN. 0 MCAN is only capable of standard CAN communication 1 MCAN may be configured to perform CAN FD communication Reset type: SYSRSn |
1 | MEM_INIT_DONE | R | 0h | Memory Initialization Done. 0 Message RAM initialization is in progress 1 Message RAM is initialized for use Reset type: SYSRSn |
0 | RESET | R | 0h | Soft Reset Status. 0 Not in reset 1 Reset is in progress Reset type: SYSRSn |
MCANSS_ICS is shown in Figure 29-28 and described in Table 29-22.
Return to the Summary Table.
MCAN Subsystem Interrupt Clear Shadow Register
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | |||||||
R-0h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||
R-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | |||||||
R-0h | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | EXT_TS_CNTR_OVFL | ||||||
R-0h | R-0/W1C-0h | ||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-1 | RESERVED | R | 0h | Reserved |
0 | EXT_TS_CNTR_OVFL | R-0/W1C | 0h | External Timestamp Counter Overflow Interrupt Status Clear. Reads always return a 0. 0 Write of '0' has no effect 1 Write of '1' clears the MCANSS_IRS.EXT_TS_CNTR_OVFL bit Reset type: SYSRSn |
MCANSS_IRS is shown in Figure 29-29 and described in Table 29-23.
Return to the Summary Table.
MCAN Subsystem Interrupt Raw Satus Register
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | |||||||
R-0h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||
R-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | |||||||
R-0h | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | EXT_TS_CNTR_OVFL | ||||||
R-0h | R/W1S-0h | ||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-1 | RESERVED | R | 0h | Reserved |
0 | EXT_TS_CNTR_OVFL | R/W1S | 0h | External Timestamp Counter Overflow Interrupt Status. This bit is set by HW or by a SW write of '1'. To clear, use the MCANSS_ICS.EXT_TS_CNTR_OVFL bit. 0 External timestamp counter has not overflowed 1 External timestamp counter has overflowed When this bit is set to '1' by HW or SW, the MCANSS_EXT_TS_UNSERVICED_INTR_CNTR.EXT_TS_INTR_CNTR bit field will increment by 1. Reset type: SYSRSn |
MCANSS_IECS is shown in Figure 29-30 and described in Table 29-24.
Return to the Summary Table.
MCAN Subsystem Interrupt Enable Clear Shadow Register
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | |||||||
R-0h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||
R-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | |||||||
R-0h | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | EXT_TS_CNTR_OVFL | ||||||
R-0h | R-0/W1C-0h | ||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-1 | RESERVED | R | 0h | Reserved |
0 | EXT_TS_CNTR_OVFL | R-0/W1C | 0h | External Timestamp Counter Overflow Interrupt Enable Clear. Reads always return a 0. 0 Write of '0' has no effect 1 Write of '1' clears the MCANSS_IES.EXT_TS_CNTR_OVFL bit Reset type: SYSRSn |
MCANSS_IE is shown in Figure 29-31 and described in Table 29-25.
Return to the Summary Table.
MCAN Subsystem Interrupt Enable Register
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | |||||||
R-0h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||
R-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | |||||||
R-0h | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | EXT_TS_CNTR_OVFL | ||||||
R-0h | R/W1S-0h | ||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-1 | RESERVED | R | 0h | Reserved |
0 | EXT_TS_CNTR_OVFL | R/W1S | 0h | External Timestamp Counter Overflow Interrupt Enable. A write of '0' has no effect. A write of '1' sets the MCANSS_IES.EXT_TS_CNTR_OVFL bit. Reset type: SYSRSn |
MCANSS_IES is shown in Figure 29-32 and described in Table 29-26.
Return to the Summary Table.
MCAN Subsystem Interrupt Enable Status
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | |||||||
R-0h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||
R-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | |||||||
R-0h | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | EXT_TS_CNTR_OVFL | ||||||
R-0h | R-0h | ||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-1 | RESERVED | R | 0h | Reserved |
0 | EXT_TS_CNTR_OVFL | R | 0h | External Timestamp Counter Overflow Interrupt Enable Status. To set, use the CANSS_IE.EXT_TS_CNTR_OVFL bit. To clear, use the MCANSS_IECS.EXT_TS_CNTR_OVFL bit. 0 External timestamp counter overflow interrupt is not enabled 1 External timestamp counter overflow interrupt is enabled Reset type: SYSRSn |
MCANSS_EOI is shown in Figure 29-33 and described in Table 29-27.
Return to the Summary Table.
MCAN Subsystem End of Interrupt
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | EOI | ||||||||||||||||||||||||||||||
R-0h | R-0/W1S-0h | ||||||||||||||||||||||||||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-8 | RESERVED | R | 0h | Reserved |
7-0 | EOI | R-0/W1S | 0h | End of Interrupt. A write to this register will clear the associated interrupt. If the unserviced interrupt counter is > 1, another interrupt is generated. 0x00 External TS Interrupt is cleared 0x01 MCAN[0] interrupt is cleared 0x02 MCAN[1] interrupt is cleared Other writes are ignored. Reset type: SYSRSn |
MCANSS_EXT_TS_PRESCALER is shown in Figure 29-34 and described in Table 29-28.
Return to the Summary Table.
MCAN Subsystem External Timestamp Prescaler 0
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | PRESCALER | ||||||||||||||||||||||||||||||
R-0h | R/W-0h | ||||||||||||||||||||||||||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-24 | RESERVED | R | 0h | Reserved |
23-0 | PRESCALER | R/W | 0h | External Timestamp Prescaler Reload Value. The external timestamp count rate is the host (system) clock rate divided by this value, except in the case of 0. A zero value in this bit field will act identically to a value of 0x000001. Reset type: SYSRSn |
MCANSS_EXT_TS_UNSERVICED_INTR_CNTR is shown in Figure 29-35 and described in Table 29-29.
Return to the Summary Table.
MCAN Subsystem External Timestamp Unserviced Interrupts Counter
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | |||||||
R-0h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||
R-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | |||||||
R-0h | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | EXT_TS_INTR_CNTR | ||||||
R-0h | R-0h | ||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-5 | RESERVED | R | 0h | Reserved |
4-0 | EXT_TS_INTR_CNTR | R | 0h | External Timestamp Counter Unserviced Rollover Interrupts. If this value is > 1, an MCANSS_EOI write of '1' to bit 0 will issue another interrupt. The status of this bit field is affected by the MCANSS_IRS.EXT_TS_CNTR_OVFL bit field. Reset type: SYSRSn |