DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

API4000M8 View Datasheet(PDF) - APLUS INTEGRATED CIRCUITS

Part Name
Description
Manufacturer
API4000M8
Aplus
APLUS INTEGRATED CIRCUITS Aplus
API4000M8 Datasheet PDF : 15 Pages
First Prev 11 12 13 14 15
INTEGRATED
API4000M SERIES
CIRCUITS INC. VOICE OTP MODULE
D. External Interface
PI3 ~ PI0 , PIO3 ~ PIO0 , and PO3 ~ PO0 is the link for API4000M connecting with outside, Instruction
INPUT PA, OUT PA, or OUT PB, can input or output Data. PI3 , or PI2 ~ PI0 that set to Input Pin, or PIO3 ~ PIO0
of Input Pin set with Trigger has any pin is High Level, there will send a interrupt signal INTR1(Key In), and Wake
Up API4000M in Shut Down. Before exercising Instruction SHUTDN, must exercise Instruction INTRE first, then
API4000M can Wake Up again.
E. Sample Program
MOVD R2 , 85 ;
OUT PC , R2 ;
MOVD R5 , 50 ;
GAIN R5 ;
LDSPADB C1A , S9 ;
LDSPADF C1A , S9 ;
MOVD R3 , 78 ;
OUT PE , R3 ;
CLINTR ;
PLAYSP C1A , 19 ;
P1:
JUMP INTR3 , P2 ;
JUMP ADDR , P1 ;
P2:
MOVD R3 , 15 ;
OUT PE , R3 ;
LDSPADB C1B , S11 ;
LDSPADF C1B, S11 ;
LDSPADB C1A , S12 ;
LDSPADF C1A , S12 ;
LDSPADB C2B , S11 ;
LDSPADF C2B , S11 ;
LDSPADB C2A , S12 ;
LDSPADF C2A , S12 ;
LDSPADB C3B , S13 ;
LDSPADF C3B , S13 ;
LDSPADB C3A , S14 ;
LDSPADF C3A , S14 ;
LDSPADB C4B , S15 ;
LDSPADF C4B , S15 ;
LDSPADB C4A , S16 ;
LDSPADF C4A , S16 ;
LDMYAD M0 ;
/* R2 = 01010101 */
/* Set PIO3 ~ PIO0 to Trigger Input Pins */
/* R5 = 50 */
/* Set volume Level to 50 */
/* Set Start Address of Sound9 on CH1A */
/* Set End Address of Sound9 on CH1A */
/* R3 = 01001110 */
/* Set CH1 = Sound Mode, Sound Processor = ON */
/* Cleat interrupt signal INTR */
/* Sample Rate 16KHz , Play Sound9 on CH1 */
/* if Sound End go to P2 */
/* go to P1 */
/* R3 = 00001111 */
/* Set CH1 = Melody Mode, Sound Processor = OFF */
/* Set Start Address of Sound11 on CH1B */
/* Set End Address of Sound11 on CH1B */
/* Set Start Address of Sound12 on CH1A */
/* Set End Address of Sound12 on CH1A */
/* Set Start Address of Sound11 on CH2B */
/* Set End Address of Sound11 on CH2B */
/* Set Start Address of Sound12 on CH2A */
/* Set End Address of Sound12 on CH2A */
/* Set Start Address of Sound13 on CH3B */
/* Set End Address of Sound13 on CH3B */
/* Set Start Address of Sound14 on CH3A */
/* Set End Address of Sound14 on CH3A */
/* Set Start Address of Sound15 on CH4B */
/* Set End Address of Sound15 on CH4B */
/* Set Start Address of Sound16 on CH4A */
/* Set End Address of Sound16 on CH4A */
/* Set Start Address of Melody Song 0 */
11
Ver1.1

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]