![](/html/af/af87/af87ca1818944503869dd29799c39650a42e4f22a649025a888a5cb03d4fb2c4/bg1.png)
SN69040
LCD Controller with Voice/Dual Tone Melody
INTRODUCTION
SN69040 is a single chip voice/dual tone melody synthesizer IC with 4*32 LCD
direct drive capability which contains two 4-bit I/O ports, two optional 4-bit output
ports and a tiny controller. By programming through the tiny controller, user’s
applications including LCD display, section combination, trigger modes, output
status, voice/melody playing and other logic functions and then be easily
implemented.
FEATURES
Single power supply 2.4V - 5V
Built in a tiny controller
Two 4-bit I/O ports and two optional 4-bit output ports are provided
Built in 40K*10 ROM
256*4 bits RAM for programming usage are provided
32*4 bits RAM for LCD display usage are provided
Maximum 16k program ROM is provided
Readable ROM code data
Built in direct 4*32 LCD driver
LCD 1/3 bias, 1/4 duty
Built in a high quality speech synthesizer
Adaptive playing speed from 2.5k-40kHz is provided
Built in a dual tone melody generator
Speech/Dual tone melody mixer is provided which SN69040 can play speech
and dual tone melody simultaneously
Fixed current D/A output is provided to drive external connected transistor for
sound output
PWM output is provided to drive external connected piezo buzzer
Version.1.01 September 26, 2002
1
![](/html/af/af87/af87ca1818944503869dd29799c39650a42e4f22a649025a888a5cb03d4fb2c4/bg2.png)
PIN ASSIGNMENT
Symbol I/O Function Description
SEG1-SEG24 O segment 1~24 for LCD driver
SN69040
LCD Controller with Voice/Dual Tone Melody
SEG25/P53-SE
G28/P50
SEG29/P43-SE
G32/P40
COM1-COM4 O Com1-Com4 for LCD driver.
GND I Negative power supply.
P33-P30 I/O Bit 3 to bit 0 of IO port 3.
P23-P20 I/O Bit 3 to bit 0 of IO port 2.
BU1,BU2 O Buzzer driver outputs.
VO O D/A current output.
RST I Reset pin with internal pull low.
OSC I Oscillation component connection pin.
O Optional to be SEG25-SEG28 or P53-P50
SEG25-28: segment25~28 for LCD driver.
P53-P50: Bit3-bit0 for output port 5.
O Optional to be SEG29~SEG32 or P43-P40
SEG29~32: segment29~32 for LCD driver.
P43~P40: Bit3-bit0 for output port 4.
TEST I For testing only.
XIN,XOUT 32768 Hz Crystal connection pins.
VDD I Positive power supply.
Version.1.01 September 26, 2002
2