21.07.2015 Views

M16C User Manual.pdf

M16C User Manual.pdf

M16C User Manual.pdf

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

External BusesMitsubishi microcomputers<strong>M16C</strong> / 62 GroupSINGLE-CHIP 16-BIT CMOS MICROCOMPUTER5.3.3 Memory Space Expansion Mode 2In memory space extension mode 2, the maximum 1 Mbyte of memory space accessible in normal modeis extended to 4 Mbytes. The extended area consists of a 512 Kbytes of area at addresses 4000016______through BFFFF16 selectable by CS0. With this area comprising one bank, a total of seven banks frombank 0 to bank 6 can be used exclusively for data access.Memory expansion mode0000016SFR area0040016Internal area reservedCS3CS2CS1External areaInternal area reserved0400016080001628000164000016D000016Internal RAM areaCS0 areaexpandThe bank to use is selected by abank select bit.Bank 7 Bank 6 540000167FFFF16BFFFF16program/data area43210Internal ROM areaFFFFF16Data exclusive areaMicroprocessor mode0000016SFR area0040016Internal RAM areaInternal area reservedCS3CS2CS1External areaCS00400016080001628000164000016FFFFF16CS0 areaexpandThe bank to use is selected by abank select bit.program/data areaBank 740000167FFFF16Bank 7C000016FFFFF16Bank 65432Data exclusive area104000016BFFFF16Figure 5.3.4. Memory Map in Memory space expansion mode 2In memory expansion mode, in addition to the seven banks from bank 0 to bank 6, another bank, bank 7,comprised of a 256 Kbytes of area from address 4000016 to address 7FFFF16 can be used. In microprocessormode, in addition to the seven banks from bank 0 to bank 6, another bank, bank 7, comprised ofa 256 Kbytes of area from address C000016 to address FFFFF16 can be used. Programs and data can beplaced in bank 7.To choose each bank, use the Data bank register’s bank select bits (bits 3, 4, and 5 at address 0000B16)._______When accessing this extended area for data, the device outputs a chip select signal from the CS0 pin and______ ______ ______a bank number from the CS1, CS2, and CS3 pins each that has been set by the bank select bits.When fetching a program from the area of bank 7 comprised of addresses 4000016 through 7FFFF16, the515

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

Saved successfully!

Ooh no, something went wrong!