488
Chapter 14
FCAN Interface Function
Preliminary User’s Manual U15839EE1V0UM00
Figure 14-34:
CAN 1 to 4 Control Registers (C1CTRL to C4CTRL) (2/5)
Read (1/2)
Bit Position
Bit Name
Function
15, 14
TECS1,
TECS0
Indicates the transmission error counter status.
13, 12
RECS1,
RECS0
Indicates the reception error counter status.
11
BOFF
Indicates a bus-off status of the CAN module.
0: CAN module is not in bus-off state (transmission error counter < 256)
1: CAN module is in bus-off state (transmission error counter = 256)
10
TSTAT
Indicates the transmission status.
0: No transmission activity on the CAN bus.
1: Transmission activity on the CAN bus.
9
RSTAT
Indicates the reception status.
0: No reception activity on the CAN bus.
1: Reception activity on the CAN bus.
8
ISTAT
Indicates the initialisation mode.
0: CAN module is in normal operation mode.
1: CAN module is stopped and set into initialisation mode (Reset value).
Remarks: 1. The ISTAT bit is set when the setting of the INIT bit is acknowledged by
the CAN protocol layer. It is cleared automatically when the INIT bit is
cleared.
2. In initialisation mode the level of the corresponding CAN transmit out-
put is recessive (logical high).
3. Data manipulation of the CxSYNC and CxBRP registers is only possi-
ble during INIT state.
4. In INIT state the transmission and reception error counters are cleared
and any error status is reset.
7
TPE
Indicates the transmit pin status.
0: CAN transmit pin is disabled (tri-state).
1: CAN transmit pin is enabled.
6
DLEVR
Specifies the dominant level of the CAN receive input pin.
0: Low level at the receive input is interpreted as a dominant bit (0).
1: High level at the receive input is interpreted as a dominant bit (0).
Remark:
From software point of view a dominant bit is always a “0” value.
5
DLEVT
Specifies the dominant level of the CAN transmit output pin.
0: A dominant bit (0) results in a low level output.
1: A dominant bit (0) results in a high level output.
Remark:
From software point of view a dominant bit is always a “0” value.
TECS1
TECS0
Transmission Error Counter Status
0
0
Transmission error counter below warning level (< 96)
0
1
Transmission error counter in warning level range (96 to 127)
1
0
Reserved (not possible)
1
1
Transmission error counter above warning level (
≥
128)
RECS1
RECS0
Reception Error Counter Status
0
0
Reception error counter below warning level (< 96)
0
1
Reception error counter in warning level range (96 to 127)
1
0
Reserved (not possible)
1
1
Reception error counter in the error passive range (
≥
128)
Содержание mPD703128
Страница 6: ...6 Preliminary User s Manual U15839EE1V0UM00 ...
Страница 20: ...20 Preliminary User s Manual U15839EE1V0UM00 ...
Страница 32: ...32 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 154: ...154 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 238: ...238 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 356: ...356 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 522: ...522 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 600: ...600 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 610: ...610 Preliminary User s Manual U15839EE1V0UM00 ...
Страница 612: ......