Datasheet
Section 3 MCU Operating Modes
Rev.7.00 Dec. 24, 2008 Page 71 of 698
REJ09B0074-0700
Section 3 MCU Operating Modes
3.1 Operating Mode Selection
This LSI supports four operating modes (modes 4 to 7). These modes enable selection of the CPU
operating mode, enabling/disabling of on-chip ROM, and the initial bus width setting, by setting
the mode pins (MD2 to MD0) as show in table 3.1. Modes 4 to 6 are external extended modes that
allow access to the external memory and peripheral devices. In external extended mode, 8-bit or
16-bit address space can be set for each area depending on the bus controller setting after program
execution starts. If 16-bit access is selected for any one area, 16-bit bus mode is set; if 8-bit access
is selected for all areas, 8-bit bus mode is set. In mode 7, the external address space cannot be
used. Do not change the mode pin settings during operation. Only mode 7 is available in the
H8S/2212 Group.
Table 3.1 MCU Operating Mode Selection
External Data Bus
MCU
Operating
Mode
MD2 MD1 MD0
CPU Operating
Mode Description
On-chip
ROM Initial Value
Maximum
Value
4 1 0 0 Advanced mode On-chip ROM
disabled, extended
mode
Disabled 16 bits 16 bits
5 1 0 1 Advanced mode On-chip ROM
disabled, extended
mode
Disabled 8 bits 16 bits
6 1 1 0 Advanced mode On-chip ROM
enabled, extended
mode
Enabled 8 bits 16 bits
7 1 1 1 Advanced mode Single-chip mode Enabled – –
Note: When using the E6000 emulator:
• Mode 7 is not available in the H8S/2218 Group. (The E6000 emulator does not support
mode 7.)
• Note following restrictions to use the RTC and USB in mode 6.
Specify PFCR so that A9 and A8 are output on the PB1 and PB0 pins.
Set H'FF in PCDDR so that A7 to A0 are output on the PC7 to PC0 pins.