Table 16-18. Master Control Register (CANMC) Field Descriptions (continued)
Bit
Field
Value
Description
5
SRES
This bit can only be written and is always read as zero.
1
A write access to this bit causes a software reset of the module (all parameters, except
the protected registers, are reset to their default values). The mailbox contents and the error
counters are not modified. Pending and ongoing transmissions are canceled without perturbing the
communication.
0
0 No effect
4:0
MBNR 4:0
0 - 31
Mailbox for which the CPU requests a write access to the data field. This field is used in
conjunction with the CDR bit. The bit MBNR.4 is for eCAN only, and is reserved in the SCC mode.
16.9.11.1 CAN Module Action in SUSPEND
The following points describe the behavior of the module in SUSPEND mode.
1. If there is no traffic on the CAN bus and SUSPEND mode is requested, the node goes into SUSPEND mode.
2. If there is traffic on the CAN bus and SUSPEND mode is requested, the node goes into SUSPEND mode
when the ongoing frame is over.
3. If the node was transmitting, when SUSPEND is requested, it goes to SUSPEND state after it gets the
acknowledgment. If it does not get an acknowledgment or if there are some other errors, it transmits an error
frame and then goes to SUSPEND state. The TEC is modified accordingly. In the second case, that is, it
is suspended after transmitting an error frame, the node re-transmits the original frame after coming out of
suspended state. The TEC is modified after transmission of the frame accordingly.
4. If the node was receiving, when SUSPEND is requested, it goes to SUSPEND state after transmitting the
acknowledgment bit. If there is any error, the node sends an error frame and go to SUSPEND state. The
REC is modified accordingly before going to SUSPEND state.
5. If there is no traffic on the CAN bus and SUSPEND removal is requested, the node comes out of SUSPEND
state.
6. If there is traffic on the CAN bus and SUSPEND removal is requested, the node comes out after the bus
goes to idle. Therefore, a node does not receive any "partial" frame, which could lead to generation of error
frames.
7. When the node is suspended, it does not participate in transmitting or receiving any data. Thus, neither
acknowledgment bit nor any error frame is sent. TEC and REC are not modified during SUSPEND state.
Controller Area Network (CAN)
1034
TMS320x2806x Microcontrollers
SPRUH18I – JANUARY 2011 – REVISED JUNE 2022
Copyright © 2022 Texas Instruments Incorporated
Содержание TMS320 2806 Series
Страница 2: ......