Figure 2-1 shows what
parameters are included in MCAN Basic Frequency block.
- Enable CAN FD Mode: where CAN
flexible data mode needs to be enabled.
- Enable Bit Rate Switching: by
enabling this feature, MCAN sends data at higher rate instead of the arbitration
rate. This function only works when CAN FD mode is enabled.
- Enable Loopback Mode: transmitted
messages become received messages. This allows users to monitor the CAN messages
on the CAN_TX pin without a CAN transceiver.
- Enable Transmit Pause: pauses for
two CAN bit times before the next transmission. The transmit pause feature is
intended for use in CAN networks where the CAN Message IDs are specific and
cannot easily be changed. These Message IDs can have a higher priority than
other defined Message IDs, while in a specific application, the relative
priority is inverse. This allows for when one ECU sends a burst of CAN messages
that causes CAN messages from another ECU to be delayed (paused).
- Enable Edge Filtering: two
consecutive dominant time quanta required to detect an edge for hard
synchronization. Enabling this function is to make sure that nodes can
accurately detect signal edges and perform hard synchronization under the
condition of longer data bit times, thereby improving the stability and
reliability of CAN bus communication.
- Enable Protocol Exception
Handling: detection of bits that are reserved for future protocol
expansion.
- Messages Will Only Be Sent Once:
if automatic retransmission is disabled, then the MCAN module no longer
retransmits when there is a transmission error, NACK, or the MCAN module loses
arbitration.
- Enable Wakeup Request: enables
the MCAN module to wakeup on CAN RXD activity.
- Enable Auto-Wakeup: enables the
MCAN module to automatically clear the MCAN CCCR.INIT bit, fully waking the MCAN
up on an enabled wakeup request. Issuing a clock stop request puts the MCAN
module into powerdown mode (sleep mode). During transition from IDLE to ACTIVE,
if the enable wakeup request and enable auto-wakeup functions are enabled, then
a read-modify-write is issued to clear the MCAN_CCCR.INIT bit. The MCAN core
resumes operation after the MCAN Core responds to the removal of the clock stop
request with removing the clock stop acknowledge.
Note: Note that after a clock stop request has been removed by the hardware, the
first frame (wakeup frame) is not received. This is because after the clock
stop is issued, there are no active clocks running into the IP. Therefore,
after removing the clock stop request, the wakeup frame that enables the
clock has to be retransmitted.
- Enable Emulation or Debug
Suspend: MCAN module can be suspended for emulation or debug.
- Message RAM Watchdog Preload
Value: the RAM Watchdog monitors the READY output of the Message RAM. A Message
RAM access by the Generic Master Interface of the MCAN starts the Message RAM
Watchdog Counter with the value configured. The counter is reloaded when the
Message RAM signals successful completion by activating the READY output. In
case there is no response from the Message RAM until the counter has counted
down to zero, the counter stops and the interrupt flag MCAN_IR.WDI is set. The
RAM Watchdog Counter is clocked by the host (system) clock.