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

32-bit risc microcontroller. can controller (can-a)
Hide thumbs Also See for TXZ Series:
Table of Contents

Advertisement

[CANMCR](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 [CANTSP] register and a write of "0" to the
[CANTSC] 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 [CANGSR]<SMA> bit is "1" before setting
[CANMCR]<SMR> to "0".
2018-10-30
R
Read as "0".
Suspend mode request
R/W
0: Cancels suspend mode (normal operation)
1: Request suspend mode
R
Read as "0".
Test loop back
R/W
0: Cancels test loop back mode (normal operation)
1: Request test loop back mode (This mode supports stand-alone operation.)
Test error
0: Cancels test error mode (normal operation)
R/W
1: Request test error mode (In this mode, it is possible to write the CAN error counter register
[CANCEC].
Change configuration request
0: Cancels configuration mode (normal operation)
R/W
1: Request configuration mode (In this mode, it possible to write the bit configuration
registers, [CANBCR1] and [CANBCR2].)
Sleep mode request (Note3)
0: Cancels sleep mode (normal operation)
R/W
1: Request 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".
Walk-up on bus activity
R/W
0: Wakes up only by a write access to the [CANMCR] register.
1: Wakes up by detecting a bus active state or a write access to the [CANMCR].
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".
41 / 54
Function
TXZ Family
CAN Controller
Rev. 1.1

Advertisement

Table of Contents
loading

Table of Contents