20.07.2015 Views

M16C/62 Group DATASHEET

M16C/62 Group DATASHEET

M16C/62 Group DATASHEET

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Processor ModeMitsubishi microcomputers<strong>M16C</strong> / <strong>62</strong> <strong>Group</strong>SINGLE-CHIP 16-BIT CMOS MICROCOMPUTERProcessor mode register 0 (Note 1)b7 b6 b5 b4 b3 b2 b1 b0Symbol Address When resetPM0 000416 0016 (Note 2)Bit symbolPM00PM01PM03Bit nameProcessor mode bitFunctionb1 b00 0: Single-chip mode0 1: Memory expansion mode1 0: Inhibited1 1: Microprocessor modePM02 R/W mode select bit 0 : RD,BHE,WR1 : RD,WRH,WRLPM04PM05PM06PM07Software reset bitMultiplexed bus spaceselect bitPort P40 to P43 functionselect bit (Note 3)BCLK output disable bitThe device is reset when this bit is setto “1”. The value of this bit is “0” whenread.b5 b40 0 : Multiplexed bus is not used0 1 : Allocated to CS2 space1 0 : Allocated to CS1 space1 1 : Allocated to entire space (Note4)0 : Address output1 : Port function(Address is not output)0 : BCLK is output1 : BCLK is not output(Pin is left floating)R WNote 1: Set bit 1 of the protect register (address 000A16) to “1” when writing newvalues to this register.Note 2: If the VCC voltage is applied to the CNVSS, the value of this register whenreset is 0316. (PM00 and PM01 both are set to “1”.)Note 3: Valid in microprocessor and memory expansion modes.Note 4: If the entire space is of multiplexed bus in memory expansion mode, choose an 8-bit width.The processor operates using the separate bus after reset is revoked, so the entirespace multiplexed bus cannot be chosen in microprocessor mode.The higher-order address becomes a port if the entire space multiplexed bus is chosen, soonly 256 bytes can be used in each chip select.Processor mode register 1 (Note 1)b7 b6 b5 b4 b3 b2 b1 b000Symbol Address When resetPM1 000516 00000XX02Bit symbol Bit nameFunctionReserved bit Must always be set to “0”Nothing is assigned.In an attempt to write to these bits, write “0”. The value, if read, turnsout to be indeterminate.PM13PM14PM15Internal reserved areaexpansion bit (Note 2)Memory areaexpansion bit (Note 3)0: The same internal reservedarea as that of <strong>M16C</strong>/60 and<strong>M16C</strong>/61 group1: Expands the internal RAM areaand internal ROM area to 23 Kbytes and to 256K bytesrespectively. (Note 2)b5 b40 0 : Normal mode(Do not expand)0 1 : Inhibited1 0 : Memory area expansionmode 11 1 : Memory area expansionmode 2Reserved bit Must always be set to “0”PM17 Wait bit 0 : No wait state1 : Wait state insertedR W Note 1: Set bit 1 of the protect register (address 000A16) to “1” when writing new values to this register.Note 2: Be sure to set this bit to 0 except products whose RAM size and ROM size exceed 15K bytesand 192K bytes respectively.In using M30<strong>62</strong>4MG/FG, a product having a RAM of more than 15K bytes and a ROM of morethan 192K bytes, set this bit to 1 at the beginning of user program.Specify D000016 or a subsequent address, which becomes an internal ROM area if PM13 is setto “0” at the time reset is revoked, for the reset vector table of user program.Note 3: With the processor running in memory expansion mode or in microprocessor mode, setting thisbit provides the means of expanding the external memory area. (Normal mode: up to 1M byte,expansion mode 1: up to 1.2 M bytes, expansion mode 2: up to 4M bytes)For details, see “Memory space expansion functions”.Figure 1.9.1. Processor mode register 0 and 128

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!