431
Chapter 13
FCAN Interface Function
Preliminary User’s Manual U14913EE1V0UM00
(3)
CAN 1 to 3 definition registers (C1DEF to C3DEF)
The CxDEF registers define normal and diagnostic operation and indicate CAN bus error and
states of the corresponding CAN module x
(x = 1 to 3).
These registers can be read in 8-bit and 16-bit units. It can be written in 16-bit units only. For setting
and clearing certain bits a special set/clear method applies (refer to chapter 13.3.1).
Figure 13-35: CAN 1 to 3 Definition Registers (C1DEF to C3DEF) (1/3)
Note: The register address is calculated according to the following formula:
effective address = P address offset
Read
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Address
Offset
Note
Initial
value
C1DEF
0
0
0
0
0
0
0
0
DGM MOM SSHT PBB BERR VALID WAKE OVR
852H
0101H
C2DEF
0
0
0
0
0
0
0
0
DGM MOM SSHT PBB BERR VALID WAKE OVR
892H
0101H
C3DEF
0
0
0
0
0
0
0
0
DGM MOM SSHT PBB BERR VALID WAKE OVR
8D2H
0101H
Write
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
C1DEF
ST_
DGM
ST_
MOM
ST_
SSHT
ST_
PBB
0
0
0
0
CL_
DGM
CL_
MOM
CL_
SSHT
CL_
PBB
CL_
BERR
CL_
VALID
CL_
WAKE
CL_
OVR
852H
C2DEF
ST_
DGM
ST_
MOM
ST_
SSHT
ST_
PBB
0
0
0
0
CL_
DGM
CL_
MOM
CL_
SSHT
CL_
PBB
CL_
BERR
CL_
VALID
CL_
WAKE
CL_
OVR
892H
C3DEF
ST_
DGM
ST_
MOM
ST_
SSHT
ST_
PBB
0
0
0
0
CL_
DGM
CL_
MOM
CL_
SSHT
CL_
PBB
CL_
BERR
CL_
VALID
CL_
WAKE
CL_
OVR
8D2H
Read (1/2)
Bit Position
Bit Name
Function
7
DGM
Specifies the storage of receive message in diagnostic mode.
0: receive only and store valid message in message buffer type 7
1: receive only and store valid message as in normal operation mode
Remark:
The settings of the DGM bit are only effective in diagnostic mode
(MOM = 1). In normal operation mode (MOM = 0) the DGM bit settings
have no meaning.
6
MOM
Defines the module operating mode.
0: Normal operating mode
1: Diagnostic mode
Remarks:
1. The diagnostic mode provides the following functional behavior:
(a) Transmission of data frames and remote frames is not possible.
(b) No acknowledge is generated upon reception of a valid message.
(c) On reception of a valid message the VALID flag is set (0).
(d) Receive and transmit error counters remain unchanged on errors.
2. The diagnostic mode can be used for baud rate detection and diag-
nostic purposes.
Caution:
When the diagnostic mode (MOM = 1) is defined for a CAN module,
the CxBRP register is only accessible in the initialisation state
(ISTAT = 1). While ISTAT is cleared (0) write access to the CxBRP is
prohibited and reading the address of the CxBRP register returns
the status of the CxDINF register.
Summary of Contents for V850E/CA1 ATOMIC
Page 6: ...6 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 52: ...52 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 144: ...144 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 162: ...162 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 224: ...224 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 308: ...308 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 512: ...512 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 564: ...564 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 566: ...566 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 584: ...584 Preliminary User s Manual U14913EE1V0UM00 MEMO ...