upd70f3402 Renesas Electronics Corporation., upd70f3402 Datasheet - Page 628

no-image

upd70f3402

Manufacturer Part Number
upd70f3402
Description
32-/16-bit Single-chip Microcontroller With Can Interface
Manufacturer
Renesas Electronics Corporation.
Datasheet
The transition from the initialization mode to an operation mode is controlled by the bit string
OPMODE[2:0] in the CnCTRL register.
Changing from one operation mode into another requires shifting to the initialization mode in between.
Do not change one operation mode to another directly; otherwise the operation will not be guaranteed.
Requests for transition from an operation mode to the initialization mode are held pending when the
CAN bus is not in the interframe space (i.e., frame reception or transmission is in progress), and the
CAN module enters the initialization mode at the first bit in the interframe space (the values of
OPMODE[2:0] are changed to 00H). After issuing a request to change the mode to the initialization
mode, read the OPMODE[2:0] bits until their values become 000B to confirm that the module has
entered the initialization mode (refer to Figure 16-58, “Re-initialization,” on page 661).
Remark:
16.8.5 Resetting error counter CnERC of CAN module
If it is necessary to reset the CAN module error counter CnERC and the CAN module information regis-
ter CnINFO when re-initialization or forced recovery from the bus-off state is made, set the CCERC bit
of the CnCTRL register to 1 in the initialization mode. When this bit is set to 1, the CAN module error
counter CnERC and the CAN module information register CnINFO are cleared to their default values.
Remark:
628
OPMODE[2:0] = 00H
and CAN bus is busy.
n = 0, 1
m = 0 to 31
n = 0, 1
m = 0 to 31
OPMODE[2:0] = 00H
and CAN bus is busy.
[Normal operation
mode]
OPMODE[2:0]=01H
[Normal operation
mode with ABT]
OPMODE[2:0]=02H
Figure 16-50: Transition to Operation Modes
OPMODE[2:0] = 00H
and interframe space
OPMODE[2:0] = 01H
OPMODE[2:0] = 02H
GOM = 1
RESET
Chapter 16 FCAN Controller
User’s Manual U16702EE3V2UD00
OPMODE[2:0] = 00H
and interframe space
All CAN modules are
in INIT mode and GOM = 0
RESET released
CAN module
channel invalid
OPMODE[2:0] = 03H
INIT mode
OPMODE[2:0] = 00H
[Receive-only mode]
OPMODE[2:0]=03H
EFSD = 1
and GOM = 0
OPMODE[2:0] = 00H
and interframe space
OPMODE[2:0] = 04H
OPMODE[2:0] = 00H
and CAN bus is busy.
OPMODE[2:0] = 00H
and interframe space
[Single-shot mode]
OPMODE[2:0]=04H
OPMODE[2:0] = 00H
and interframe space
OPMODE[2:0] = 05H
OPMODE[2:0] = 00H
and CAN bus is busy.
[Self-test mode]
OPMODE[2:0]=05H
OPMODE[2:0] = 00H
and CAN bus is busy.

Related parts for upd70f3402