Operation Mode; Configuration Mode - Toshiba TXZ+ Series Reference Manual

Hide thumbs Also See for TXZ+ Series:
Table of Contents

Advertisement

TXZ+ Family
CAN Controller

3.4. Operation Mode

Configuration Mode

The CAN controller needs initial setup before starting operation (setting of the bit configuration registers,
[CANxBCR1] and [CANxBCR2]). Writes to the [CANxBCR1] and [CANxBCR2] are possible only when the
CAN controller is in configuration mode.
After reset, the [CANxMCR]<CCR> and the [CANxGSR]<CCE> are set to "1" and the configuration mode is set.
A write of "0" to the [CANxMCR]<CCR> bit sets the CAN controller to the normal operation mode. After leaving
configuration mode, the [CANxGSR]<CCE> bit is cleared to "0" and the power-up sequence starts. The power-up
sequence detects 11 consecutive recessive bits on the CAN bus line. After detection, the CAN controller is a bus
on and ready for operation.
A write of "1" to the [CANxMCR]<CCR> bit sets the CAN controller to enter configuration mode from normal
operation mode. After the CAN controller has entered configuration mode, the [CANxGSR]<CCE> bit is set to
"1".
Figure 3.6 shows the flowchart of the initial setup of the CAN controller.
When the CAN controller enters into configuration mode, the CAN error counter [CANxCEC], the time stamp
counter [CANxTSC], and the time stamp hold registers will be cleared.
20 / 52
2020-10-01
Rev. 1.0

Advertisement

Table of Contents
loading

Table of Contents