English
Language : 

M16C30P_07 Datasheet, PDF (45/317 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/30 SERIES
M16C/30P Group
6. Processor Mode
6. Processor Mode
6.1 Types of Processor Mode
Three processor modes are available to choose from: single-chip mode, memory expansion mode, and
microprocessor mode. Table 6.1 shows the Features of Processor Modes.
Table 6.1 Features of Processor Modes
Processor Modes
Single-Chip Mode
Memory
Expansion Mode
Microprocessor
Mode
Access Space
Pins which are Assigned I/O Ports
SFR, Internal RAM, Internal ROM All pins are I/O ports or peripheral function I/O pins
SFR, Internal RAM, Internal ROM, Some pins serve as bus control pins (1)
External Area (1)
SFR, Internal RAM, External Area (1) Some pins serve as bus control pins (1)
NOTES:
1. Refer to 7. Bus.
6.2 Setting Processor Modes
Processor mode is set by using the CNVSS pin and the PM01 to PM00 bits in the PM0 register.
Table 6.2 shows the Processor Mode After Hardware Reset. Table 6.3 shows the PM01 to PM00 Bits Set Values
and Processor Modes.
Table 6.2 Processor Mode After Hardware Reset
CNVSS Pin Input Level
VSS
VCC1 (1)
Processor Modes
Single-Chip Mode
Microprocessor Mode
NOTES:
1. If the microcomputer is reset in hardware by applying VCC1 to the CNVSS pin (hardware reset), the
internal ROM cannot be accessed regardless of PM01 to PM00 bits.
Table 6.3 PM01 to PM00 Bits Set Values and Processor Modes
PM01 to PM00 Bits
00b
01b
10b
11b
Processor Modes
Single-Chip Mode
Memory Expansion Mode
Do not set
Microprocessor Mode
Rewriting the PM01 to PM00 bits places the microcomputer in the corresponding processor mode regardless of
whether the input level on the CNVSS pin is “H” or “L”. Note, however, that the PM01 to PM00 bits cannot be
rewritten to “01b” (memory expansion mode) or “11b” (microprocessor mode) at the same time the PM07 to PM02
bits are rewritten. Note also that these bits cannot be rewritten to enter microprocessor mode in the internal ROM,
nor can they be rewritten to exit microprocessor mode in areas overlapping the internal ROM.
If the microcomputer is reset in hardware by applying VCC1 to the CNVSS pin (hardware reset 1 or brown-out
detection reset (hardware reset 2)), the internal ROM cannot be accessed regardless of PM01 to PM00 bits.
Figures 6.1 and 6.2 show the PM0 Register and PM1 Register (1). Figure 6.4 show the Memory Map in Single
Chip Mode.
Rev.1.22 Mar 29, 2007 Page 29 of 291
REJ09B0179-0122