HT3421A 41 Matrix Key Multi-Function Piano with a Memory Features • • • • • • • • • • • • • Operating voltage: 2.4V~5V System operating frequency: 512KHz 12 × 7 matrix input keys Auto power-off Power ON/OFF toggle input 41 tones, tone area: G2~B5 8 rhythms 8 timbres 16 steps of tempo speed 4 pulsatile sounds 12 demo songs Memory function with 62 notes 40 pin dual-in-line package General Description In the Memory mode, the chip can store a tone of 62 notes. Pressing of the Replay key plays the stored songs, or pressing of OKP1 or OKP2 plays the stored songs tone by tone. The HT3421A is a 41-key musical instrument LSI implemented in the CMOS technology. The chip provides 8 rhythms, 8 timbres, 4 pulsatile sounds, 12 demo songs, and a 62-note memory storage function. The 12 × 7 matrix control keys of the HT3421A control both basic keys and function selection inputs. In the Demo mode, one of the 12 demo songs can be played. The timbre of the demo song can also be altered according to the instrument chosen. Pin Assignment 1 28th June ’96 HT3421A Block Diagram 2 28th June ’96 HT3421A Pad Assignment Chip size: 179 × 214 (mil)2 * The IC substrate should be connected to VDD in the PCB layout artwork. 3 28th June ’96 HT3421A Pad Coordinates Unit: mil Pad No. X Y Pad No. X Y 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 –82.17 –82.90 –82.90 –82.90 –82.90 –82.90 –82.90 –82.90 –82.90 –82.90 –70.32 –7.67 1.93 11.54 21.14 30.75 40.35 50.00 59.56 69.17 100.34 –11.99 –28.56 –36.38 –44.03 –51.64 –63.33 –81.26 –92.95 –100.60 –100.60 –100.60 –100.60 –100.60 –100.60 –100.60 –100.60 –100.60 –100.60 –100.60 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 82.85 82.85 82.85 82.85 82.85 82.85 83.19 83.70 83.70 83.70 82.85 69.08 61.01 52.93 2.61 –14.22 –40.65 –56.80 –66.24 –73.97 –100.60 –92.95 –82.24 –72.55 –64.90 –50.11 –42.20 0.81 8.80 27.84 100.00 100.34 100.34 100.34 100.68 100.68 100.68 100.68 100.34 100.34 Pin Description Pin No. Pin Name I/O Internal Connection Description Transmission Tone output Gate 1 OUT O 2 ENV O CMOS 3 TEST4 — — For IC test only 4 TEST3 — — For IC test only 5 S/H O PMOS Open Drain Snare-Drum or Hi-Hat pulsatile sound output 6 B/C O PMOS Open Drain Bass-Drum or Cow-Bell pulsatile sound output 7 VIB O CMOS 8~14 C7~C1 O NMOS Open Drain Envelope effect output Vibrato ON: VIB provides a 4Hz signal output. Vibrato OFF: VIB is a low-level output. Matrix control key scanning outputs 4 28th June ’96 HT3421A Pin No. Pin Name I/O Internal Connection Description 15~26 R1~R12 I CMOS Pull-High 27 TEST5 — — For IC test only 28 TEST2 — — For IC test only 29 MEMO I CMOS Pull-High 30 TEST1 — — For IC test only 31 RESET I CMOS Pull-High Power on reset At power on, the system is in the OFF state. Press the ON/OFF key to alternate the system from OFF to ON or vice versa. When power is auto off, there will be no tone output for 5 minutes. BUSY is high while the system is operating, but low when the system is in the stand-by state. Matrix control key scanning inputs Connect this pin to VSS/VDD to work in either the memory or play mode. 32 ON/OFF I CMOS Pull-High 33 BUSY O CMOS 34 VSS I — 35 MODE I CMOS Pull-High 36 OSC1 I — Oscillator input 37 OSC2 O — Oscillator output 38 MLED O NMOS Open Drain Memory mode indication output 39 TLED O NMOS Open Drain Tempo indication output 40 VDD I — Power supply (ground) Toggle selection of play mode or memory mode The system is in the play mode at power-on. Power supply (positive) Absolute Maximum Ratings Supply Voltage ..............................–0.3V to 5.5V Storage Temperature................. –50°C to 120°C Input Voltage................. VSS–0.3V to VDD+0.3V Operating Temperature................... 0°C to 70°C 5 28th June ’96 HT3421A (Ta=25°C) Electrical Characteristics Symbol Test Condition Parameter Min. Typ. Max. Unit — 2.4 4.5 5 V VDD Condition VDD Operating Voltage — ISTB Stand-by Current 4.5V — — 5 10 µA IDD Operating Current 4.5V No load — 0.3 1 mA IOL1 Tone Output Sink Current 4.5V VOL=0.45V 2.6 4.4 — mA IOL2 Envelop Output Sink Current 4.5V VOL=0.45V 5 8.6 — mA IOH1 S/H (B/C) Output Source Current 4.5V VOH=4V –1.2 –1.8 — mA IOH2 Vibrato Output Source Current 4.5V VOH=4V –0.6 –1 — mA IOL3 C1~C7 Output Sink Current 4.5V VOL=0.45V 1.8 3.0 — mA IIL R1~R12 Input Low Current 4.5V VIL=0.45V –0.12 –0.2 — mA IOH3 BUSY Output Source Current 4.5V VOH=4V –1.8 –3 — mA IOL4 MLED Output Sink Current 4.5V VOL=0.45V 1.2 2.0 — mA IOL5 TLED Output Sink Current 4.5V VOL=0.45V 1 1.8 — mA VIL “L” Input Voltage — — — — 0.2VDD V VIH “H” Input Voltage — — 0.7VDD — — V FOSC System Frequency 4.5V ROSC=48KΩ — 512 — KHz Functional Description Matrix control key position & description C1 C2 C3 C4 C5 C6 C7 R1 K31 K19 K7 Bass Tmp up Tim1 Rhm1 R2 K32 K20 K8 Bell Tmp down Tim2 Rhm2 R3 K33 K21 K9 Snare Rhm ON Tim3 Rhm3 R4 K34 K22 K10 Hat Rhm Tim4 Rhm4 R5 K35 K23 K11 Rhm OFF Tim5 Rhm5 R6 K36 K24 K12 R7 K37 K25 K13 R8 K38 K26 K14 R9 K39 K27 K15 R10 K40 K28 K16 K4 R11 K41 R12 — — — Demo Tim6 Rhm6 Vib Tim7 Rhm7 K2 Sust Tim8 Rhm8 K3 Memo clear — — Replay — — K1 K29 K17 K5 OKP1 — — K30 K18 K6 OKP2 — — 6 28th June ’96 HT3421A Key Name Description K1~K41 Scale from G2 to B5 There is a half-pitch variation among K1~K41. If a key is pressed and held and the other key is pressed as well, the later tone will replace the former tone. Refer to item 2 for the contrast keyboard position. Bass Bass drum sound select input Pressing this key adds a single note bass drum sound. Bell Cow bell sound select input Pressing this key adds a single note bell sound. Snare Snare drum sound select input Pressing this key adds a single note snare drum sound. Hat Hi-Hat sound select input Pressing this key adds a single note hi-hat sound. Tmp up 16-level tempo speed selection Set to level 8 at power-on Tempo will speed up while pressing this key until the maximal speed is reached. Tmp down Pressing this key lowers the tempo speed until the minimum speed is reached. Rhm ON Rhythm enabled Set to OFF at power-on Rhm Rhythm enable/disable toggle selection Rhm OFF Rhythm disabled Demo Selection of demo song playing One of the provided 12 demo songs can be chosen by pressing the corresponding key (see section 3 for details). If no key is pressed the first song will be chosen instead. Vib Vibrato effect ON/OFF toggle selection Set to OFF at power-on Sust Sustain effect ON/OFF toggle selection Set to ON at power-on Memo clear Clear the contents of the memory Used only in the Memory mode Replay Press this key to re-play the song (in memory). OKP1, OKP2 This key functions as a Replay function, but it plays only one tone. Tim1~Tim8 Timbre selection It is set to Tim1 at power-on (refer to 4 for the instrument names). Rhm1~Rhm8 Rhythm selection It is set to Rhm1 at power-on (refer to 5 for the rhythm names). 7 28th June ’96 HT3421A K1~K41 and their corresponding keyboard tone outputs are as shown: Demo songs and corresponding keys First, press the Demo key to enter the Demo mode, and then press a key to select a song. No. Select Key 1 K18 American Patrol 2 K20 It Is a Small World 3 K22 Old Macdonald Had a Farm 4 K23 Yankee Doodle 5 K25 This Old Man 6 K27 Wooden Heart 7 K29 Happy Birthday to You 8 K30 Silent Night 9 K32 Home Sweet Home 10 K34 Symphony No. 9 11 K35 Mary Had a Little Lamb 12 K37 Twinkle Twinkle Little Star Demo Song Name While the demo song is playing, other “Select keys” can be pressed to alter the song. The timbre of the demo song can be changed by pressing Tim1~Tim8. Pulsatile sounds can be added by pressing the Bass, Bell, Snare, or Hat input. During the playing of a song, pressing the demo song key will terminate the output. The following is a list of the 8-instrument timbre: Key 8 Instrument Tim1 Piano Tim2 Oboe Tim3 Ukulele Tim4 Flute Tim5 Trumpet Tim6 Saxophone Tim7 Music Box Tim8 Church Bell 28th June ’96 HT3421A The 8-rhythm list is as shown: Key MEMO Rhythm Rhm1 Chacha Rhm2 March Rhm3 Rock Rhm4 Swing Rhm5 8 Beat Rhm6 Beguine Rhm7 Ballad Rhm8 Waltz Action Initially in the play mode but VDD or Open MODE switch can toggle between play/memory VSS In the memory mode only, and MODE switch has no effect In the memory mode, each sequential pressing of K1~K41 (G2~B5) will be stored, except the rhythm and pulsatile sounds. Pressing of the Memo clear key will erase the contents of the memory. In either the play or memory mode, the stored song can be played by pressing the Replay key or the stored song is played tone by tone by pressing OKP1 or OKP2. Memory mode The system enters the memory mode by using either the MEMO or MODE switch. The indicator LED will also indicate the system is in the memory mode. This toggle action MODE switch is effective only if the MEMO switch is connected to VDD or left open. The MEMO switch has an overiding effect and functions irrespective of the condition of the MODE switch. While in the memory mode, the demo song can be played by pressing the Demo key. Once the demo mode is quit, the system will return to the memory mode. 9 28th June ’96 HT3421A Application Circuit 10 28th June ’96