Figure 2-6 shows what parameters are included in Advanced Configuration block.
- Enable Additional Core
Configuration: enable or disable additional functions like timestamp and process
nonmatching frames.
- Enable Bus Monitoring Mode: in
bus monitoring mode (see ISO 11898-1:2015, Bus Monitoring section), the MCAN
module is able to receive valid data and remote frames, but cannot start a
transmission. The MCAN module sends only recessive bits on the CAN bus. If the
MCAN module is required to send a dominant bit (ACK bit, overload flag, active
error flag), then the bit is rerouted internally so that the MCAN module
monitors this dominant bit. The CAN bus can remain in recessive state. The bus
monitoring mode can be used to analyze the traffic on a CAN bus without
affecting the bus by the transmission of dominant bits.
- Enable Normal CAN Operation:
defines normal CAN operation mode to restricted operation mode. In restricted
operation mode, the CAN node is able to receive data and remote frames and to
give acknowledgment to valid frames, but the node does not send data frames,
remote frames, active error frames, or overload frames. In case of an error
condition or overload condition, the node does not send dominant bits; instead,
the node waits for the occurrence of bus idle condition to resynchronize to the
CAN communication. The restricted operation mode is automatically entered when
the Tx Handler is not able to read data from the Message RAM in time. To leave
restricted operation mode, the host CPU has to reset the MCAN_CCCR.ASM bit. This
mode can be used in applications that adapt themselves to different CAN bit
rates. In this case, the application tests different bit rates and leaves the
restricted operation mode after the node has received a valid frame.
- Time Stamp Prescaler Value: the
MCAN module has integrated a 16-bit wrap-around counter for timestamp
generation. The timestamp counter prescaler MCAN_TSCC.TCP field can be
configured to clock the counter in multiples of CAN bit times (1-16). On start
of a frame reception or transmission, the counter value is captured and stored
into the timestamp section of an Rx Buffer, Rx FIFO or Tx Event FIFO
element.
- Timestamp Counter Value:
configures the timestamp counter value to 0x0, from the internal 16-bit counter
or from an external timestamp.
- Time-out Counter Source Select:
the MCAN module has an integrated a 16-bit timeout counter. The timeout counter
is used to signal timeout conditions for the Rx FIFO 0, Rx FIFO 1, and Tx Event
FIFO Message RAM elements. In continuous mode, the counter is immediately
restarted at the value configured by the MCAN_TOCC.TOP field. In case the
timeout counter is controlled by one of the FIFOs, an empty FIFO presets the
counter to the value configured by the MCAN_TOCC.TOP field. Down-counting is
started when the first FIFO element is stored.
- Start Value Of The Timeout
Counter: defines the timeout duration.
- Enable Time-out Counter: enables
the timeout function.
- Reject Remote Frames Extended:
filter or reject all remote frames with 29-bit extended IDs.
- Reject Remote Frames Standard:
filter or reject all remote frames with 11-bit standard IDs.
- Accept Non-matching Frames
Extended: defines how received messages with 29-bit IDs that do not match any
element of the filter list are treated.
- Accept Non-matching Frames
Standard: defines how received messages with 11-bit IDs that do not match any
element of the filter list are treated.