INTEGRATED CIRCUITS INC. API4000M SERIES VOICE OTP MODULE GENERAL DESCRIPTION API4000M is a 4-channel Sound Generator which consists of Melody-Controller and Micro-Controller. API4000M can directly drive Speaker by the Power Amplifier inside, It has 12 I/O Ports connect with other units.
API4000M INTEGRATED CIRCUITS INC. SERIES VOICE OTP MODULE ABSOLUTE MAXIMUM RATING Supply Voltage ( VDD to GND ) ------------------ 5V Input Voltage Range ------------------ (GND- 0.3V) to (VDD + 0.3V) Operating Temperature Range ------------------ 0℃ to +60℃ ELECTRICAL CHARACTERISTICS ( VDD=4.
INTEGRATED CIRCUITS INC. API4000M SERIES VOICE OTP MODULE Functional Description A. Micro–Controller The Micro-Controller inside API4000M is a 8Bit Processor, it has 2 groups Data Bank each has 16 X 8 Bit Register, the Function for processing Data: Addition , Subtraction , logical AND , Moving , Shift and the other Basic Function. It also has Address Jump , Data Input , Data Output , Sound Control , Melod yControl and the other Advanced Function.
INTEGRATED CIRCUITS INC. API4000M SERIES VOICE OTP MODULE 3. Single Register Operation Instruction Format Code Cycle Bytes Instruction Description SHIFTL Rn ﹔ 2n 1 1 Each Bit of Rn Shift to left Bit,shift 0 to D0. i.e. D7←D6←D5←D4←D3←D2←D1←D0←0. SHIFTR Rn ﹔ 3n 1 1 Each Bit of Rn Shift to right Bit,shift 0 to D7. i.e. 0→D7→D6→D5→D4→D3→D2→D1→D0. DEC Rn ﹔ An 1 1 The value of Rn subduct 1,set the solution to Rn.
API4000M INTEGRATED CIRCUITS INC. SERIES VOICE OTP MODULE 6. Input & Output Data Instruction Format INPUT PA, Rn ﹔ Code Cycle Bytes Instruction Description 80 1 2 Set Data Port A to Rn.( Rn ÍPA) INPUT PB, Rn ﹔ 81 1 2 Set Data Port B to Rn. ( Rn ÍPB) INPUT PC, Rn ﹔ 82 1 2 Set Data Port C to Rn. ( Rn ÍPC) OUT PA, Rn ﹔ 88 1 2 Set the value of Rn to Data Port A. (PAÍRn) OUT PB, Rn ﹔ 89 1 2 Set the value of Rn to Data Port B.
INTEGRATED CIRCUITS INC. API4000M SERIES VOICE OTP MODULE 2. Address : Sn is the no. of Sound in Instruction LDSPADB and LDSPADF, which is mean the Start Address and End Address of Memory Sound Data. When Sound is Coding, compiler (API4000SE) will define Address of each Sound, the Address can be used when program is compiling. If you want to set Address of Sound, just choice the no. of Sound. 3. Sample Rate : Data in Instruction PLAYSP is mean Code of Sample Rate, each code is equivalent a Sample Rate.
API4000M INTEGRATED CIRCUITS INC. SERIES VOICE OTP MODULE C.1 Beat Table : NO. Beats/sec NO. Beats/sec NO. Beats/sec NO. Beats/sec 0 1 2 3 4 5 6 7 1/16 2/16 3/16 4/16 5/16 6/16 7/16 8/16 8 9 10 11 12 13 14 15 9/16 10/16 11/16 12/16 13/16 14/16 15/16 16/16 16 17 18 19 20 21 22 23 18/16 20/16 22/16 24/16 26/16 28/16 30/16 32/16 24 25 26 27 28 29 30 31 36/16 40/16 44/16 48/16 52/16 56/16 60/16 64/16 C.
INTEGRATED CIRCUITS INC. API4000M SERIES VOICE OTP MODULE D. Input & Output Data By the 2 Instruction INPUT and OUTPUT, Data can pass inside API4000M, or connect with outside. The following is the description about each Data Port’s act. 1. Input Data Port (1) PA ﹕Input Data Port A is a value consists of Input Pin PIO3 ~ PIO0 and PI3 ~ PI0, Following is their correspondent.
API4000M INTEGRATED CIRCUITS INC. SERIES VOICE OTP MODULE (2) PB ﹕Output Data Port B consists of Output Pin PI2 ~ PI0, each pin of PB has following act. PB bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 Output Pin PI2 PI1 PI0 PS ﹕If PI2 ~ PI0 are set to Input Pin, bit2 ~ bit0 will not affect PI2 ~ PI0 of state. (3) PC ﹕Output Data Port C can set Each Pin’s act of PIO3 ~ PIO0, Following is their correspondent. bit7 bit6 PIO3 bit5 bit4 0 0 Pull-low Input Pin, no input trigger.
INTEGRATED CIRCUITS INC. API4000M SERIES VOICE OTP MODULE E. Memory Data Structure Program Data, Melody Data, Sound Data of API4000M all input from outside, Each group Data are 8 bits, Input from 8 Memory Data Input Port D7 ~ D0. API4000M can direct control 24bits Memory Address, output from 24 Memory Address Output Port A23 ~ A0. Data in Memory is in order of Program Data, Melody Data, Sound Data. Program Data’s Start Address is 000000, Max. Address is 00FFFF, Program Data has max. 64K Bytes.
INTEGRATED CIRCUITS INC. API4000M SERIES 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.
INTEGRATED CIRCUITS INC.
INTEGRATED CIRCUITS INC.
INTEGRATED CIRCUITS INC.
INTEGRATED CIRCUITS INC.