457
Chapter 14
FCAN Interface Function
Preliminary User’s Manual U15839EE1V0UM00
(3)
CAN global status register (CGST)
The CGST register indicates and controls the operation modes of the FCAN system. This register
can be read in 1-bit, 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 14.3.1 “Bit set/clear
function” on page 452)
Figure 14-12:
CAN Global Status Register (CGST) (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
CGST
0
0
0
0
0
0
0
1
MERR
0
0
0
EFSD TSM EVM GOM
1010H
0000H
Write
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
CGST
0
0
0
0
ST_
EFSD
ST_
TSM
ST_
EVM
ST_
GOM
CL_
MERR
0
0
0
CL_
EFSD
CL_
TSM
CL_
EVM
CL_
GOM
1010H
Read (1/2)
Bit Position
Bit Name
Function
7
MERR
Indicates the error status of the memory access controller (MAC).
0: No error occurrence
1: At least one error occurred since the flag was cleared last
A MAC error occurs under the following conditions:
- An attempt to clear the GOM flag was performed although not all CAN modules
are set to initialization state.
- Access to an illegal address, or access is prohibited by MAC (see GOM flag
description below)
3
EFSD
Enable forced shut down.
0: Forced shut down is disabled.
1: Forced shut down is enabled.
Remark:
In case of an emergency it might be necessary to reset all CAN modules
immediately. In this case the EFSD flag has to be set before clearing the
GOM flag.
2
TSM
Indicates the operating mode of the CAN global time system counter (CGTSC).
0: CAN global time system counter is stopped.
1: CAN global time system counter is operating.
1
EVM
Indicates the event operating mode.
0: CAN bridge is disabled.
1: CAN bridge is enabled.
Remark:
Due to the reason that no CAN bridge is implemented in the V850E/CA2
device, this bit must not be set at any time.
Summary of Contents for mPD703128
Page 6: ...6 Preliminary User s Manual U15839EE1V0UM00 ...
Page 20: ...20 Preliminary User s Manual U15839EE1V0UM00 ...
Page 32: ...32 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 154: ...154 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 238: ...238 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 356: ...356 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 522: ...522 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 600: ...600 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 610: ...610 Preliminary User s Manual U15839EE1V0UM00 ...
Page 612: ......