C8051F340/1/2/3/4/5/6/7

1.2.On-Chip Memory

The CIP-51 has a standard 8051 program and data address configuration. It includes 256 bytes of data RAM, with the upper 128 bytes dual-mapped. Indirect addressing accesses the upper 128 bytes of general purpose RAM, and direct addressing accesses the 128 byte SFR address space. The lower 128 bytes of RAM are accessible via direct and indirect addressing. The first 32 bytes are addressable as four banks of general purpose registers, and the next 16 bytes can be byte addressable or bit addressable.

Program memory consists of 64 k (C8051F340/2/4/6) or 32 k (C8051F341/3/5/7) bytes of Flash. This memory may be reprogrammed in-system in 512 byte sectors, and requires no special off-chip program- ming voltage. On-chip XRAM is also included for the entire device family. The 64 k FLASH devices (C8051F340/2/4/6) have 4 k of XRAM space. The 32 k Flash devices (C8051F341/3/5/7) have 2 k of XRAM space. A separate 1 k Bytes of USB FIFO RAM is also included on all devices. See Figure 1.4 for the MCU system memory map of the 64k Flash devices. Note that on the 64k devices, 1024 bytes at loca- tions 0xFC00 to 0xFFFF are reserved.

PROGRAM/DATA MEMORY

(FLASH)

0xFFFF

RESERVED

0xFF

0xFC00

 

 

 

0xFBFF

 

0x80

 

 

0x7F

 

FLASH

0x30

 

(In-System

0x2F

 

0x20

 

Programmable in 512

 

0x1F

 

Byte Sectors)

 

0x00

 

 

0x0000

 

 

 

 

0xFFFF

DATA MEMORY (RAM)

INTERNAL DATA ADDRESS SPACE

Upper 128 RAM

Special Function

(Indirect Addressing

Register's

Only)

(Direct Addressing Only)

 

 

(Direct and Indirect

 

Addressing)

Lower 128 RAM

 

 

(Direct and Indirect

Bit Addressable

Addressing)

 

 

 

General Purpose

 

Registers

 

EXTERNAL DATA ADDRESS SPACE

0x1000

0x0FFF

Off-Chip XRAM

(Available only on devices

with EMIF)

XRAM - 4096 Bytes

(Accessable using MOVX

instruction)

USB FIFOs 1024 Bytes

0x07FF

0x0400

0x0000

Figure 1.4. On-Chip Memory Map for 64kB Devices (C8051F340/2/4/6)

Rev. 0.5

23

Page 23
Image 23
Silicon Laboratories C8051F342, C8051F347, C8051F346, C8051F341 On-Chip Memory Map for 64kB Devices C8051F340/2/4/6