SN8P1700
8-bit micro-controller build-in 12-bit ADC
SONiX TECHNOLOGY CO., LTD
Page 31
Revision 1.93
DATA MEMORY (RAM)
OVERVIEW
The SN8P1700 has internally built-in the data memory up to 256 bytes for storing the general-purpose data.
For SN8P1702
48 * 8-bit general purpose area in bank 0
128 * 8-bit system special register area
For SN8P1704
128 * 8-bit general purpose area in bank 0
128 * 8-bit system special register area
For SN8P1706/SN8P1707/SN8P1708
128 * 8-bit general purpose area in bank 0
128 * 8-bit general purpose area in bank 1
128 * 8-bit system special register area
The memory is separated into bank 0 and bank 1. The user can program RAM bank selection bits of RBANK register
to access all data in any of the two RAM banks. The bank 0, using the first 128-byte location assigned as
general-purpose area, and the remaining 128-byte in bank 0 as system register. The bank 1, using the first 128-byte
location assigned as general-purpose area, and others useless.
RAM location
000h
000h~03Fh of Bank 0 = To store general-
“
purpose data (64 bytes).
“
“
“
“
03Fh
General purpose area
080h
080h~0FFh of Bank 0 = To store system
“
registers (128 bytes).
“
“
“
“
System register
BANK 0
0FFh
End of bank 0 area
Figure 2-4. RAM Location of SN8P1702