SM1125 series Multimelody IC for Pagers NIPPON PRECISION CIRCUITS INC. OVERVIEW PINOUT (Top View) The SM1125 series are melody ICs fabricated in NPC’s Molybdenum-gate CMOS for use in mobile telecommunications equipment. A maximum of 16 melodies can be stored in programmable ROM. 8-pin VSOP ■ ■ ■ ■ VDD 6 MTO 5 TEST SC 3 ST 4 1125×× PACKAGE DIMENSIONS Unit: mm 0.5 0.2 6.4 0.3 ■ VSS 7 4.4 0.2 ■ ■ Maximum of 16 melody selections (with up to 512 steps) Level hold playback mode External reference clock input versions and builtin RC oscillator versions available, set by masterslice option (RC oscillator versions require an external resistor and capacitor). 12 selectable clock frequencies (fixed for all melodies) • External clock input versions (12 frequencies) - 32.768 kHz system: 32.768, 65.536 and 131.072 kHz - 37.5 kHz system: 37.5, 75.0 and 150.0 kHz - 38.4 kHz system: 38.4, 76.8 and 153.6 kHz - 48.0 kHz system: 48.0, 96.0 and 192.0 kHz • Built-in oscillator versions (4 frequencies) - 38.4 kHz (standard oscillator frequency) - 32.768 kHz - 37.5 kHz - 48.0 kHz 2-pin serial data melody selection and 1-pin melody playback control Power save function • External clock input versions Clock gating in no-play modes • Built-in RC oscillator versions Oscillator stopped in no-play modes 8-pin plastic VSOP package Molybdenum-gate CMOS process 8 2 0.575 TYP + 0.1 0.15− 0.05 3.1 0.3 1.15 0.05 ■ 1 SI 0.65 0.1 0.05 FEATURES OSC 0.10 0.22 0.1 + 0.12 M ORDERING INFORMATION DEVICE PA C K A G E SM1125××V 1 8pin VSOP 1. ×× is version name. NIPPON PRECISION CIRCUITS—1 SM1125 series BLOCK DIAGRAM OSC OSC master slice VSS 1/2 or 1/4 SW1 SW2 Gate VDD Scale Counter Divider 1/128 SI Scale ROM Control Circuit SC MTO TEST Main ROM ST MultiPlexer Tempo Latch Tempo Counter (Pull-down resistance built-in) Rhythm Counter Address Counter Start Address Latch PIN DESCRIPTION Number Name I/O Function 1 OSC I Built-in RC oscillator option: External resistor and capacitor connection pins External clock input option: External reference clock input (gate circuit built-in) 2 SI I Playback control serial interface data input 3 SC I Playback control serial interface clock input 4 ST I Playback start/stop control signal input 5 TEST I Test input pin. Leave open or tie to VSS. (Pull-down resistance built-in) 6 MTO O Playback melody signal output 7 VDD – Supply pin (+) 8 VSS – Ground pin NIPPON PRECISION CIRCUITS—2 SM1125 series SPECIFICATIONS Absolute Maximum Ratings P arameter Symbol Rating Unit V DD − VSS − 0.3 to 5.0 V Input voltage range V IN V SS − 0.2 to V DD + 0.2 V Power dissipation PD 100 mW Storage temperature range Tstg − 40 to 125 °C Soldering temperature Tsld 255 °C Soldering time tsld 10 s Rating Unit Supply voltage range Condition Recommended Operating Conditions VSS = 0 V P arameter Symbol Condition Supply voltage V DD 2.0 to 3.6 V Operating temperature Topr −20 to 70 °C DC Characteristics Unless otherwise noted Ta = −20 to 70 °C, VSS = 0 V, VDD = 1.5 to 3.6 V Rating P arameter Symbol Condition Unit min typ max Supply voltage (1) V DD1 External clock input option 1.5 3.0 3.6 V Supply voltage (2) V DD2 Built-in RC oscillator option 2.0 3.0 3.6 V Current consumption (1) IDD1 Non-playback mode, Ta = 25°C – – 0.5 µA Current consumption (2) IDD2 External clock input option: Playback mode, MTO pin open – 25 200 µA Current consumption (3) IDD3 Built-in RC oscillator option: Playback mode, MTO pin open – 215 600 µA V DD − 0.2 – V DD V V SS – V SS + 0.2 V Input voltage V IH V IL ST, SI, SC and OSC (External clock input option) pins IIH1 ST, SI, SC and OSC (External clock input option) pins, V IH = V DD, Ta = 25°C – – 0.5 µA IIL1 ST, SI, SC and OSC (External clock input option) pins, V IL = 0 V, Ta = 25°C – – 0.5 µA IIH2 TEST pin, V IH = V DD – – 200 µA VOPN TEST pin – – 0.1 V VOH MTO pin, IOH = 1 mA V DD − 0.4 – V DD V VOL MTO pin, IOL = 1 mA V SS – V SS + 0.4 V Oscillator frequency fOSC Built-in RC oscillator option: NPC test board measurement, RO = 91 kΩ , CO = 200 pF V DD = 2.0 to 3.6V 34.5 38.4 42.5 kHz Frequency stability ∆f/f Built-in RC oscillator option – 0.1 – %/0.1V Oscillator start voltage VDOB Built-in RC oscillator option – – 1.6 V Oscillator stop voltage V DOS Built-in RC oscillator option – – 1.6 V Input current (1) Input current (2) Open voltage Output voltage NIPPON PRECISION CIRCUITS—3 SM1125 series AC Characteristics Unless otherwise noted Ta = −20 to 70 °C, VSS = 0 V, VDD = 1.5 to 3.6 V Rating P arameter Symbol OSC pulse cycle tOSC OSC HIGH-level pulsewidth tOWH OSC LOW-level pulsewidth tOWL Condition Unit “OSC input pulse (External clock input option)” timing min typ max 5.0 – – µs 2.0 – – µs 2.0 – – µs OSC pulse rise time tOr – – 200 ns OSC pulse fall time tOf – – 200 ns SC pulse cycle tSC 5.0 – – µs SC HIGH-level pulsewidth tSWH 2.0 – – µs SC LOW-level pulsewidth tSWL 2.0 – – µs “SC input pulse” timing SC pulse rise time tSr – – 200 ns SC pulse fall time tSf – – 200 ns SI-SC setup time tDS 2.0 – – µs 2.0 – – µs SI-SC hold time “SC-SI serial input pulse” timing tDH OSC input pulse (External clock input option) VIH 0.5VDD VIL 0.9VDD 0.1VDD t OWH t OWL t Of t OSC t Or SC input pulse VIH 0.5VDD VIL 0.9VDD 0.1VDD t SWH t OWL SWL t Sf t SC t Sr SC-SI serial input pulse VIH 0.5VDD VIL SC t DS SI t DH VIH 0.5VDD VIL NIPPON PRECISION CIRCUITS—4 SM1125 series FUNCTIONAL DESCRIPTION Control Functions Reference clock SM1125 series devices are available in external clock input versions and built-in RC oscillator versions, set by master-slice option. In the case of the built-in RC oscillator option, an external resistor and capacitor is required for the oscillator function. SM1125 series can operate at 12 selectable reference clock frequencies. All melodies playback at the fixed speed set by the reference clock frequency. External clock input versions operate at one of 12 selectable clock frequencies, as shown in table 1. Built-in RC oscillator versions operate at one of 4 selectable oscillator frequencies—32.768 kHz, 37.5 kHz, 38.4 kHz (standard frequency) and 48.0 kHz. In external clock input versions, the external reference clock input is used during playback mode only and is otherwise ignored. If a clock signal is input when not in playback mode (when ST is LOW), the gate circuit switches to cutoff the external reference clock signal from entering the device, preventing unwanted current flow. In built-in RC oscillator versions, the oscillator is stopped when not in playback mode (when ST is LOW), preventing unwanted current flow. Table 1. Reference clock frequencies F r e q u e n cy system Selectable frequencies 32.768 kHz 32.768 kHz 65.536 kHz 131.072 kHz 37.5 kHz 37.5 kHz 75.0 kHz 150.0 kHz 38.4 kHz 38.4 kHz 76.8 kHz 153.6 kHz 48.0 kHz 48.0 kHz 96.0 kHz 192.0 kHz ST OSC Figure 1. External clock input version: Input during playback mode only ST OSC Figure 2. External clock input version: Input during non-playback mode ST OSC RC Oscillator Figure 3. Built-in RC oscillator version NIPPON PRECISION CIRCUITS—5 SM1125 series Playback control The ST pin controls the start of playback. While ST is HIGH, the melody is played repeatedly, and when ST goes LOW, playback stops. Melodies are selected by input serial data on pins SI and SC, as shown in table 2. The final 4 serial data bits in any input data Valid Data Invalid Data SI ? string form the valid selection data, and this data is retained even after playback. If serial data is input during playback, the data is ignored and playback continues. Invalid Data ? B3 B2 B1 B0 ? ? ? ? SC ST MTO Pin SC should be LOW when either a LOW-to-HIGH or HIGH-to-LOW transition occurs on pin ST. Figure 4. Serial data input timing Serial data selection Table 2. Serial data melody select B3 B2 B1 B0 ST M e l o dy B3 B2 B1 B0 ST M e l o dy L L L L L→H 1st melody H L L L L→H 9th melody L L L H L→H 2nd melody H L L H L→H 10th melody L L H L L→H 3rd melody H L H L L→H 11th melody L L H H L→H 4th melody H L H H L→H 12th melody L H L L L→H 5th melody H H L L L→H 13th melody L H L H L→H 6th melody H H L H L→H 14th melody L H H L L→H 7th melody H H H L L→H 15th melody L H H H L→H 8th melody H H H H L→H 16th melody SI #n1 Data #n2 Data SC ST MTO #n1 Play #n1 Play #n1 Play #n2 Play Melody plays repeatedly when ST is HIGH, and stops immediately when ST goes LOW. Figure 5. Melody repetition timing NIPPON PRECISION CIRCUITS—6 SM1125 series Playback timing diagrams Playback start Playback starts 128 ± 1 OSC clock cycles after ST goes HIGH. Invalid Data SI Valid Data MSB LSB SC ST OSC 128 1 Clock Internal Clock MTO Figure 6. Start timing ,,,,,, ,,,,,, ,,,,,, Playback stop Playback stops immediately when ST goes LOW. In external clock input versions, the IC internal clock also stops when ST goes LOW, regardless of whether or not there is a clock input signal on pin OSC. In built-in RC oscillator versions, the oscillator also stops when ST goes LOW. ST OSC Internal Clock MTO ,,,,,,,,,,,,,,,,, ,,,,,,,,,,,,,,,,, ,,,,,,,,,,,,,,,,, Figure 7. Stop timing NIPPON PRECISION CIRCUITS—7 SM1125 series Musical Specifications Maximum program steps Note length (including rests) The mask for the built-in ROM can be programmed with up to a maximum of 512 steps, where each step represents either a note (sound pitch and length) or a rest. Eight rhythm values for notes and rests can be programmed. Also, 2 or more notes can be musically tied. Table 3. Rhythm values 0 1 2 3 4 5 6 7 Note x e e. q e ! q. q ! h Rest Å ä ä.. g ä ! g. g ! Pitch and scale SM1125 series devices perform uniform interval length processing to reduce the error at high pitches. This maintains the relative phase when the frequency varies from the input value. The pitch varies with the clock frequency, as shown in the frequency listing in table 4. The frequency variation from the input frequency is the sum of the relative error, shown in the frequency table, plus the pitch error. (Ex) 38.4 kHz system, A4 note Relative error: 8.99 cent Pitch error: −3.58 cent Total: +5.41 cent Error calculation: Output frequency log 10 ------------------------------------------------Reference frequency Output frequency 1200 × log 2 ------------------------------------------------- = 1200 × --------------------------------------------------------------log 10 2 Reference frequency Output frequency ≈ 3986.3 × log 10 ------------------------------------------------Reference frequency 441.379 ≈ 3986.3 × log 10 ------------------440.000 ≈ 5.41 cent NIPPON PRECISION CIRCUITS—8 SM1125 series Table 4. Frequency range F r e q u e n cy Number divider Relative error (cent) 32.768 kHz system Pitch 37.5 kHz system 38.4 kHz system 48 kHz system F r e q u e n cy F r e q u e n cy F r e q u e n cy F r e q u e n cy Pitch Pitch Pitch (Hz) (Hz) (Hz) (Hz) Pitch Reference frequency C3 130.8128 C#3 138.5913 1 247 2.49 C3 132.664 D#3 151.822 D#3 155.466 G3 194.332 D3 146.8325 2 233 3.50 C#3 140.635 E3 160.944 E3 164.807 G#3 206.009 D#3 155.5635 3 220 2.89 D3 148.945 F3 170.455 F3 174.545 A3 218.182 E3 164.8138 4 208 0.00 D#3 157.538 F#3 180.288 F#3 184.615 A#3 230.769 F3 174.6143 5 196 2.88 E3 167.184 G3 191.327 G3 195.918 B3 244.898 F#3 184.9973 6 185 2.87 F3 177.124 G#3 202.703 G#3 207.568 C4 259.459 G3 195.9978 7 175 −0.93 F#3 187.246 A3 214.286 A3 219.429 C#4 274.286 G#3 207.6525 8 165 0.94 G3 198.594 A#3 227.273 A#3 232.727 D4 290.909 A3 220.0000 9 156 −1.96 G#3 210.051 B3 240.385 B3 246.154 D#4 307.692 A#3 233.0820 10 147 0.93 A3 222.912 C4 255.102 C4 261.224 E4 326.531 B3 246.9418 11 139 −2.21 A#3 235.741 C#4 269.784 C#4 276.259 F4 345.324 C4 261.6255 12 131 0.42 B3 250.137 D4 286.260 D4 293.130 F#4 366.412 C#4 277.1825 13 124 −4.50 C4 264.258 D#4 302.419 D#4 309.677 G4 387.097 D4 293.6650 14 117 −3.91 C#4 280.068 E4 320.513 E4 328.205 G#4 410.256 D#4 311.1270 15 110 2.89 D4 297.891 F4 340.909 F4 349.091 A4 436.364 E4 329.6275 16 104 0.00 D#4 315.077 F#4 360.577 F#4 369.231 A#4 461.538 F4 349.2285 17 98 2.88 E4 334.367 G4 382.653 G4 391.837 B4 489.796 F#4 369.9945 18 93 −6.46 F4 352.344 G#4 403.226 G#4 412.903 C5 516.129 G4 391.9955 19 87 8.99 F#4 376.644 A4 431.034 A4 441.379 C#5 551.724 G#4 415.3050 20 83 −9.52 G4 394.795 A#4 451.807 A#4 462.651 D5 578.313 A4 440.0000 21 78 −1.96 G#4 420.103 B4 480.769 B4 492.308 D#5 615.385 A#4 466.1640 22 74 −10.81 A4 442.811 C5 506.757 C5 518.919 E5 648.649 B4 493.8835 23 69 10.29 A#4 474.899 C#5 543.478 C#5 556.522 F5 695.652 C5 523.2510 24 66 −12.74 B4 496.485 D5 568.182 D5 581.818 F#5 727.273 C#5 554.3650 25 62 −4.50 C5 528.516 D#5 604.839 D#5 619.355 G5 774.194 D5 587.3300 26 58 10.95 C#5 564.966 E5 646.552 E5 662.069 G#5 827.586 D#5 622.2540 27 55 2.89 D5 595.782 F5 681.818 F5 698.182 A5 872.727 E5 659.2550 28 52 0.00 D#5 630.154 F#5 721.154 F#5 738.462 A#5 923.077 F5 698.4570 29 49 2.88 E5 668.735 G5 765.306 G5 783.673 B5 979.592 F#5 739.9890 30 46 12.26 F5 712.348 G#5 815.217 G#5 834.783 C6 1043.478 G5 783.9910 31 44 −10.79 F#5 744.727 A5 852.273 A5 872.727 C#6 1090.909 G#5 830.6100 32 41 11.47 G5 799.220 A#5 914.634 A#5 936.585 D6 1170.732 A5 880.0000 33 39 −1.96 G#5 840.205 B5 961.538 B5 984.615 D#6 1230.769 A#5 932.3280 34 37 −10.81 A5 885.622 C6 1013.514 C6 1037.838 E6 1297.297 B5 987.7670 35 35 −14.62 A#5 936.229 C#6 1071.429 C#6 1097.143 F6 1371.429 C6 1046.5020 36 33 −12.74 B5 992.970 D6 1136.364 D6 1163.636 F#6 1454.545 C#6 1108.7300 37 31 −4.50 C6 1057.032 D#6 1209.677 D#6 1238.710 G6 1548.387 D6 1174.6600 38 29 10.95 C#6 1129.931 E6 1293.103 E6 1324.138 G#6 1655.172 D#6 1244.5080 39 28 −28.30 D6 1170.286 F6 1339.286 F6 1371.429 A6 1714.286 E6 1318.5100 40 26 0.00 D#6 1260.308 F#6 1442.308 F#6 1476.923 A#6 1846.154 F6 1396.9140 41 25 −32.09 E6 1310.720 G6 1500.000 G6 1536.000 B6 1920.000 F#6 1479.9780 42 23 12.26 F6 1424.696 G#6 1630.435 G#6 1669.565 C7 2086.957 G6 1567.9820 43 22 −10.79 F#6 1489.455 A6 1704.545 A6 1745.455 C#7 2181.818 G#6 1661.2200 44 21 −30.25 G6 1560.381 A#6 1785.714 A#6 1828.571 D7 2285.714 A6 1760.0000 −17.26 cent pitch error A#6 1864.6560 B6 1975.5340 +21.84 cent pitch error (Note) A4 is the following note. ú A4 (440Hz) & === −44.64 cent pitch error −3.58 cent pitch error C7 2093.0040 C#7 2217.4600 D7 2349.3200 NIPPON PRECISION CIRCUITS—9 SM1125 series Tempo There are 29 tempos that can be selected for each melody. The tempo varies with the clock frequency. Table 5. Tempo range RO M 32.768 kHz system Code F r e q u e n cy divider 03 4 04 5 Te m p o q= 37.5 kHz system Te m p o 320.0 Prestissimo q= 6 Te m p o 366.2 256.0 293.0 Prestissimo 05 38.4 kHz system 213.3 q= 48 kHz system Te m p o q= 375.0 468.8 300.0 375.0 Prestissimo 244.1 250.0 312.5 Prestissimo 06 7 07 8 08 9 09 10 Presto 182.9 160.0 Allegro 209.3 Presto 142.2 183.1 162.8 128.0 146.5 Allegro 0A 11 Presto 214.3 267.9 187.5 234.4 166.7 208.3 150.0 Allegro 187.5 Presto 116.4 133.2 136.4 170.5 122.1 125.0 156.3 Moderato 0B 12 106.7 0C 13 98.5 Moderato 112.7 115.4 Moderato 0D 14 144.2 Allegro 91.4 104.6 107.1 133.9 97.7 100.0 125.0 91.6 93.8 Andante 0E 15 85.3 0F 16 80.0 Andante 10 17 11 18 12 19 13 20 Adagio 117.2 Moderato 75.3 86.2 71.1 Andante 88.2 110.3 81.4 83.3 104.2 67.4 77.1 78.9 98.7 64.0 73.2 75.0 93.8 Larghetto 14 21 61.0 15 22 58.2 16 23 55.7 Adagio 69.8 Adagio 71.4 Andante 89.3 66.6 68.2 85.2 63.7 65.2 81.5 62.5 78.1 75.0 Larghetto 17 24 53.3 61.0 Larghetto 18 25 51.2 58.6 60.0 19 26 49.2 56.3 57.7 72.1 Adagio 1A 27 1B 28 Largo 47.4 45.7 54.3 55.6 69.4 52.3 53.6 67.0 51.7 64.7 Largo 1C 29 44.1 50.5 1D 30 42.7 48.8 50.0 1E 31 41.3 47.3 48.4 1F 32 40.0 45.8 46.9 Largo Larghetto 62.5 60.5 Largo 58.6 Quarter note (q) length = 1536 × tempo counter frequency divider ÷ clock frequency (Ex. 1) Tempo code = 1F (divider = 32), clock frequency = 32.768 kHz (32.768 kHz system) 1536 × 32 ÷ 32768 = 1.5 (seconds) (Ex. 2) Tempo code = 18 (divider = 25), CLK frequency = 153.6 kHz (38.4 kHz system) 1536 × 25 ÷ 38400 = 1.0 (seconds) NIPPON PRECISION CIRCUITS—10 SM1125 series TYPICAL APPLICATION External Clock Input Versions 1.5V to 3.6V B+ CONTROLLER OSC VSS SI VDD SC MTO ST TEST Built-in RC Oscillator Versions B+ 2.0 to 3.6V RO CONTROLLER OSC VSS SI VDD SC MTO ST TEST CO NIPPON PRECISION CIRCUITS—11 SM1125 series OSCILLATOR FREQUENCY MEASUREMENT The measurement circuit below shows a SM1125××V with built-in RC oscillator circuit and external RC oscillator components capacitor CO and resistor RO. When ST is switched to VDD, the oscillator starts and outputs a pulse on MTO. The output pulse is counted using a frequency counter. RO SM1125 OSC CO Switch SI V VSS VDD SC MTO ST TEST Frequency Counter Note that the board mounting and wiring will marginally affect the output frequency, even for equivalent values for RO and CO. NIPPON PRECISION CIRCUITS INC. reserves the right to make changes to the products described in this data sheet in order to improve the design or performance and to supply the best possible products. Nippon Precision Circuits Inc. assumes no responsibility for the use of any circuits shown in this data sheet, conveys no license under any patent or other rights, and makes no claim that the circuits are free from patent infringement. Applications for any devices shown in this data sheet are for illustration only and Nippon Precision Circuits Inc. makes no claim or warranty that such applications will be suitable for the use specified without further testing or modification. The products described in this data sheet are not intended to use for the apparatus which influence human lives due to the failure or malfunction of the products. Customers are requested to comply with applicable laws and regulations in effect now and hereinafter, including compliance with export controls on the distribution or dissemination of the products. Customers shall not export, directly or indirectly, any products without first obtaining required licenses and approvals from appropriate government agencies. NIPPON PRECISION CIRCUITS INC. NIPPON PRECISION CIRCUITS INC. 4-3, Fukuzumi 2-chome Koto-ku, Tokyo 135-8430, Japan Telephone: 03-3642-6661 Facsimile: 03-3642-6698 NC9628CE 1999.2 NIPPON PRECISION CIRCUITS—12