01.04.2014 Views

Preliminary C8051F120/1/2/3 C8051F124/5/6/7 - KEMT FEI TUKE

Preliminary C8051F120/1/2/3 C8051F124/5/6/7 - KEMT FEI TUKE

Preliminary C8051F120/1/2/3 C8051F124/5/6/7 - KEMT FEI TUKE

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

<strong>Preliminary</strong><br />

<strong>C8051F120</strong>/1/2/3<br />

<strong>C8051F124</strong>/5/6/7<br />

1.2. On-Chip Memory<br />

The CIP-51 has a standard 8051 program and data address configuration. It includes 256 bytes of data RAM, with the<br />

upper 128 bytes dual-mapped. Indirect addressing accesses the upper 128 bytes of general purpose RAM, and direct<br />

addressing accesses the 128 byte SFR address space. The lower 128 bytes of RAM are accessible via direct and indirect<br />

addressing. The first 32 bytes are addressable as four banks of general purpose registers, and the next 16 bytes<br />

can be byte addressable or bit addressable.<br />

The CIP-51 in the C8051F12x MCUs additionally has an on-chip 8k byte RAM block and an external memory interface<br />

(EMIF) for accessing off-chip data memory. The on-chip 8k byte block can be addressed over the entire 64k<br />

external data memory address range (overlapping 8k boundaries). External data memory address space can be<br />

mapped to on-chip memory only, off-chip memory only, or a combination of the two (addresses up to 8k directed to<br />

on-chip, above 8k directed to EMIF). The EMIF is also configurable for multiplexed or non-multiplexed address/data<br />

lines.<br />

The MCU’s program memory consists of 128k bytes of banked FLASH memory. This memory may be reprogrammed<br />

in-system in 1024 byte sectors, and requires no special off-chip programming voltage. The 1024 bytes from<br />

addresses 0x1FC00 to 0x1FFFF are reserved. There are also two 128 byte sectors at addresses 0x20000 to 0x200FF,<br />

which may be used by software. See Figure 1.6 for the MCU system memory map.<br />

Figure 1.6. On-Chip Memory Map<br />

0x200FF<br />

0x20000<br />

0x1FFFF<br />

0x1FC00<br />

0x1FBFF<br />

0x00000<br />

PROGRAM/DATA MEMORY<br />

(FLASH)<br />

Scrachpad Memory<br />

(DATA only)<br />

RESERVED<br />

FLASH<br />

(In-System<br />

Programmable in 1024<br />

Byte Sectors)<br />

0xFF<br />

0x80<br />

0x7F<br />

0x30<br />

0x2F<br />

0x20<br />

0x1F<br />

0x00<br />

0xFFFF<br />

DATA MEMORY (RAM)<br />

INTERNAL DATA ADDRESS SPACE<br />

Upper 128 RAM<br />

(Indirect Addressing<br />

Only)<br />

(Direct and Indirect<br />

Addressing)<br />

Bit Addressable<br />

General Purpose<br />

Registers<br />

Special Function<br />

Registers<br />

(Direct Addressing Only)<br />

Lower 128 RAM<br />

(Direct and Indirect<br />

Addressing)<br />

EXTERNAL DATA ADDRESS SPACE<br />

0<br />

1<br />

2<br />

3<br />

Up To<br />

256 SFR Pages<br />

Off-chipXRAM space<br />

0x2000<br />

0x1FFF<br />

0x0000<br />

XRAM - 8192 Bytes<br />

(accessable using MOVX<br />

instruction)<br />

© 2002 Cygnal Integrated Products, Inc. DS008-0.8-AUG02 Page 27

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

Saved successfully!

Ooh no, something went wrong!