19 / 100 page

PRELIMINARY
PSoC®3: CY8C38 Family Data Sheet
Document Number: 001-11729 Rev. *I
Page 19 of 100
Figure 5-1. EMIF Block Diagram
5.6 Memory Map
The CY8C38 8051 memory map is very similar to the MCS-51
memory map.
5.6.1 Code Space
The CY8C38 8051 code space is 64 KB. Only main Flash exists
in this space. See the “Flash Program Memory” section on
page 17.
5.6.2 Internal Data Space
The CY8C38 8051 internal data space is 384 bytes, compressed
within a 256-byte space. This space consists of 256 bytes of
RAM (in addition to the SRAM mentioned in “Static RAM” on
page 17) and a 128-byte space for Special Function Registers
(SFRs). See Figure 5-2. The lowest 32 bytes are used for 4
banks of registers R0-R7. The next 16 bytes are bit-addressable.
Figure 5-2. 8051 Internal Data Space
PHUB
IO IF
UDB
EMIF
IO
PORTs
IO
PORTs
IO
PORTs
Data,
Address,
and Control
Signals
Data,
Address,
and Control
Signals
Address Signals
Data Signals
Control Signals
Data,
Address,
and Control
Signals
EM Control
Signals
Other
Control
Signals
DSI Dynamic Output
Control
DSI to Port
Control
External_ MEM_ DATA[15:0]
External_ MEM_ ADDR[23:0]
Upper Core RAM Shared
with Stack Space
(indirect addressing)
SFR
Special Function Registers
(direct addressing)
Lower Core RAM Shared with Stack Space
(direct and indirect addressing)
Bit Addressable Area
4 Banks, R0-R7 Each
0xFF
0x80
0x7F
0x30
0x2F
0x20
0x1F
0x00
[+] Feedback