SPC122A Sunplus Technology Co., Ltd., SPC122A Datasheet - Page 6

no-image

SPC122A

Manufacturer Part Number
SPC122A
Description
SOUND CONTROLLER WITH 128KB FLASH MEMORY
Manufacturer
Sunplus Technology Co., Ltd.
Datasheet
6. FUNCTIONAL DESCRIPTIONS
6.1. CPU
The CPU of SPC122A is a high performance 8-bit processor
equipped with Accumulator, Program Counter, X Register, Stack
pointer and Processor Status Register (the same as the 6502
instruction structure). The maximum CPU speed is up to 6MHz.
6.2. Oscillator
The SPC122A supports AT-cut parallel resonant oscillated Crystal
/ Resonator or RC Oscillator or external clock sources. The OSC
options can be selected through bonding option (select one from
those three types). The design of application circuit should follow
the vendors’ specifications or recommendations if necessary.
The diagrams listed below are typical X’TAL/ROSC circuits for
most applications:
6.3. Bonding Option
The SPC122A has the following bonding option:
6.4. ROM Area
The SPC122A provides a 128K-byte of Flash ROM that can be
defined as the program area, audio data area, or both. To access
ROM, users should program the BANK SELECT Register, choose
bank, and access address to fetch data.
parallel mode.
program the Flash ROM as serial mode. In addition, pin AD17
and CE can be used to extend the memory from 128K to 256K
with external memory.
6.5. RAM Area
The total RAM size is 128 bytes (including Stack), located from
$80 through $FF.
© Sunplus Technology Co., Ltd.
Proprietary & Confidential
CE and Burn pins is capable of programming the Flash ROM as
h Supports Crystal Resonator or Rosc (with bonding option).
(a) Crystal or
XI/R
20 pf
Ceramic Resonator
Connections
SPC122A
In contrast, using CE and SPOP pins can
XO
20 pf
V
DD
Rosc
(b) RC Oscillator
XI/R
Connections
SPC122A
The combination of
XO
6
6.6. Map of Memory and I/Os
6.7. I/O Port Configuration*
*INT SOURCE:
*NMI SOURCE:
*I/O PORT:
- Capable of being extended to 256K with external memory
- INTA (from TIMER A)
- INTB (from TIMER B)
- CPU CLK / 1024
- CPU CLK / 8192
- CPU CLK / 65536
- EXT INT
- INTA (from TIMER A)
- I/O CONFIG $0000
- PORT IOA $0002
Input/Output IOA port : IOA3 - 0
Input/Output IOB port : IOB2 - 0
IOC
IOD
IOB
OD : Open Drain
OD : Open Drain
input data
input data
$0003
$0004
$0005
$0001
logic_1
control
logic_2
control
output
output
data
data
$000FF
$1FFFF
$08000
$00000
$00080
$00600
*MEMORY MAP (From ROM view)
OD-NMOS
OD-NMOS
buffer or
or buffer
SUNPLUS TEST PROGRAM
Preliminary Version: 0.9
USER RAM and STACK
P
P
SPC122A
USER'S PROGRAM &
HW register, I/Os
r
r
ROM BANK #0
60K
90K
VDD
DATA AREA
e
e
UNUSED
l
l
i
i
SEP. 07, 2001
m
m
i
i
n
n
a
a
r
r
y
y

Related parts for SPC122A