Rev.2.00 Nov 28, 2005 page 40 of 378
REJ09B0124-0200
M16C/6N Group (M16C/6NK, M16C/6NM) 6. Processor Mode
Under development
This document is under development and its contents are subject to change.
Figure 6.1 PM0 Register
NOTES:
1. Write to this register after setting the PRC1 bit in the PRCR register to "1" (write enable).
2. The PM01 to PM00 bits do not change at software reset, watchdog timer reset and oscillation stop detection reset.
* Effective in memory expansion and microprocessor modes (= Normal-ver.)
3. Effective when the PM01 to PM00 bits are set to "01b" (memory expansion mode) or "11b" (microprocessor mode).
* Not available memory expansion and microprocessor modes in T/V-ver.. These bits are reserved bit in
T/V-ver., and set to "0".
4. To set the PM01 to PM00 bits are "01b" and the PM05 to PM04 bits are "11b" (multiplexed bus assigned to
the entire CS space), apply an "H" signal to the BYTE pin (external data bus is 8-bit width).
While the CNVSS pin is held "H" (VCC), do not rewrite the PM05 to PM04 bits to "11b" after reset.
If the PM05 to PM04 bits are set to "11b" during memory expansion mode, P3_1 to P3_7 and P4_0 to P4_3
become I/O ports, in which case the accessible area for each CS is 256 bytes.
* Not available memory expansion and microprocessor modes in T/V-ver..
5. Not available in T/V-ver.. Do not set a value.
Processor Mode Register 0
(1)
Symbol Address
Bit name Function
Bit symbol
b7 b6 b5 b4 b3 b2 b1 b0
PM0 0004h
Processor Mode Bit
(2)
R/W Mode Select Bit
(3)
Software Reset Bit
Multiplexed Bus Space
Select Bit
(3)
BCLK Output Disable
Bit
(3)
PM03
PM01
PM00
PM02
PM04
PM05
PM06
PM07
RW
RW
RW
RW
RW
RW
RW
RW
RW
Port P4_0 to P4_3 Function
Select Bit
(3))
0 0 : Single-chip mode
0 1 : Memory expansion mode
(5)
1 0 : Do not set a value
1 1 : Microprocessor mode
(5)
b1 b0
0 : RD, BHE, WR
1 : RD, WRH, WRL
Setting this bit to "1" resets the
microcomputer. When read, its
content is "0"
.
0 0 : Multiplexed bus is unused
(Separate bus in the entire CS space)
0 1 : Allocated to CS2 space
1 0 : Allocated to CS1 space
1 1 :
Allocated to the entire CS space
(4)
b5 b4
0 : Address output
1 : Port function
(Address is not output)
0 : BCLK is output
1 : BCLK is not output
(Pin is left high-impedance)
After reset
(2)
00000000b (CNVSS pin = L)
00000011b (CNVSS pin = H)
(5)