[Canxmcr](Master Control Register) - Toshiba TXZ+ Series Reference Manual

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

Advertisement

[CANxMCR](Master Control Register)

Bit
Bit Symbol
After Reset Type
31:12
-
0
11
SUR
0
10
-
0
9
TSTLB
0
8
TSTERR
0
7
CCR
1
6
SMR
0
5
-
0
4
WUBA
0
3
MTOS
0
2
-
0
1
TSCC
0
0
SRES
0
Note1: The time stamp counter is also cleared by a write to the [CANxTSP] register and a write of "0" to the
[CANxTSC] register.
Note2: After software reset, all registers in the CAN must be accessed after the following time.
(1) When communication by CAN bus is not performed, please wait for more than 16 clocks based on fsys.
(2) When communication by CAN bus is performed, please wait for more than 88 clocks based on fsys.
Note 3: To cancel sleep mode of the CAN operation, check that the [CANxGSR]<SMA> bit is "1" before setting
[CANxMCR]<SMR> to "0".
R
Read as "0".
Suspend mode request
R/W
0: Cancels suspend mode (normal operation)
1: Requests suspend mode
R
Read as "0".
Test loop back
R/W
0: Cancels test loop back mode (normal operation)
1: Requests test loop back mode (This mode supports stand-alone operation.)
Test error
0: Cancels test error mode (normal operation)
R/W
1: Requests test error mode (In this mode, it is possible to write the CAN error counter register
[CANxCEC].
Change configuration request
0: Cancels configuration mode (normal operation)
R/W
1: Requests configuration mode (In this mode, it possible to write the bit configuration
registers, [CANxBCR1] and [CANxBCR2].)
Sleep mode request (Note3)
0: Cancels sleep mode (normal operation)
R/W
1: Requests sleep mode (In this mode, the clock of the CAN controller stops and the error
counters and transmission requests are reset.)
R
Read as "0".
Wake-up on bus activity
R/W
0: Wakes up only by a write access to the [CANxMCR] register.
1: Wakes up by detecting a bus active state or a write access to the [CANxMCR].
Mailbox transmission order select
R/W
0: Messages are transmitted in ascending order of mailbox number.
1: Messages in mailboxes are transmitted in descending order of message ID priority.
R
Read as "0".
Time stamp counter clear
0: Disable
W
1: Clears the time stamp counter to "0". (Note1)
R
Read as always "0".
Software reset (Note2)
0: Disable
W
1: Resets the CAN controller by software.
R
Read as always "0".
39 / 52
Function
TXZ+ Family
CAN Controller
2020-10-01
Rev. 1.0

Advertisement

Table of Contents
loading

Table of Contents