AVxx16K Series
3. BLOCK DIAGRAM:
C
O
N
T
OKY
5-bit LOG_PCM
DECODER
IO1
IO2
R
O
L
OUTPUT
BUFFER
L
O
G
I
VOICE
ROM
C
P
W
M
1
P
CLOCK
W
M
2
OSC
TIMING
GENERATOR
GENETATOR
4. PAD DESCRIPTION:
Pad Name
OKY
Pad No.
ATTR.
Function
1
2
I/O
One-Key Input for trigger.
IO1
I/O
Status output or input for trigger.
Status output or input for trigger.
Negative power supply.
Audio output.
IO2
3
I
GND1, 2
PWM1
Vdd
4, 8
5
Power
O
6
Power
Positive power supply.
Audio output.
PWM2
OSC
7
O
I
9
Oscillator input. For using internal oscillator, connect OSC to GND.
5. CODE DEVELOPMENT & DEMO SYSTEM:
User can use “EzSpeech“ software tool to develop the desired functions. For details, please see EzSpeech
user manual. After finishing the code programming, user will get 2 files of “.bin” and “.htm”, the binary file
and function check list. User can download the “.bin” file into 4EA_DB demo board to demonstrate the
AVxx16K function. The related mapping of 4EA_DB is as below,
AVxx16K
OKY
4EA_DB
PRA0
4EA_DB
Description
PRA0 performs OKY input.
IO1/IO2 as Input
IO1/IO2 as Output
PWM1, PWM2
OSC
PRA1/PRA2
PRB0/PRB1
PWM1, PWM2
OSC1
PRA1/PRA2 perform IO1/IO2 input mode.
PRB0/PRB1 perform IO1/IO2 output mode.
PWM output to directly drive speaker.
OSC1 connect 150K ohms resistor to Vdd.
I/O Pin
For some input type option, user may need to connect an external resistor. Please refer to the table below,
AVxx16K
CDS + 1M
CDS
4EA_DB
CDS + 1M
CDS + 1M
Floating
4EA_DB
Description
The same.
Almost the same.
Input
Type
1M pull-low
10M pull-low
Floating
Need to connect 1M external resistor to GND.
Need to connect 10M external resistor to GND.
The same.
Floating
Floating
Once the function has been approved, user only need to send the “.bin” file to Aplus for co de tape-out.
Rev 1.1 2003/9/18
5