YAMAHA®i.Si YM2151 FM Operator Type-M(OPM) •OUTLINE The YM2 l 5 l is an FM-type sound generator equipped with an 8 bit bus line and capable of producing superb audio quality via a microprocessor program. When this IC is used in tandem with the specially-developed YM30120/A converter, you can obtain 8-note, left-right/2-channel audio signals. In addition, this unit is equipped with noise, vibrato, an amplitude modulation circuit, a sound effects circuit, and timer. The package is a 24-pin dual in-line package. •FEATURES • Generate up to 8 notes. • Generate noise. • Timbre can be altered temporally. • High harmonic can be de-hermonized from the base frequency. • De-harmonize between octaves. • Interval setting of up to 1.6 cents. • Add vibrato and amplitude modulation. • Generate a variety of sound effects by extreme de-harmonization of the high harmonic from the base frequency and massive vibrato and amplitude modulation. -----YAMAHA CORPORATIONi-------- YM2151 CATALOG CATALOG No.:LSl-2121512 1991 . 12 YM2151 • TERMINAL DIAGRAM •Top View Vss(GND) 24 0M iRQ 2 23 01 ;c 3 22 Voo ( + 5V) AO 4 21 so WR 5 20 SHI RD 6 19 SH2 YM2151 cs 7 18 07 CT1 8 17 06 CT2 9 16 05 DO 10 15 04 Vss (GND) 11 14 03 01 12 13 02 • BLOCK DIAGRAM SH1 SH2 .-- - - - - - - - - · 1 I ' I I I TO 0M LFP TIMER 0 H TIMING GEN SAMP LFO LFRQ PMD LFA CKB TM1 01 u - - - - - - l 01 TM AMO W CKA CON TM2 VDD 0--- I I I 10 8 4 GND 0 - - ..' - --~ ~-~..__..._..._..._ ___ ~-+~--......-~~~ IC 0-- 8 LFP --..i DO 2 LR 01 14 Do so 02 PG PH t--t-1 PH OP ot--i--.,--....._, Di ACC (SIRIAL) ~ 10 toD/A 03 PGO - : ND KF DT2 MUL I (CON ) I 04 I I 10 KC PMS DT1 KO : FL FS EG I 05 I I I D6 7632341 3 3 10 r----- _, I 07 I I ___ } 8 A0 16---------- '- -------.--- ' cs 8 TEST TM1 EGO EG LFA WR DB TM2 2 4 RD u-oo.......___ __.,....-l DBCONT EG 10 IRQ u----...,._-l IRQ REG DATA EG (SIRIAL) NENV NOISE ND CT1 U----...,._-t CT1 CT2 0-----...---t CT2 DIL TL NFRQ NE 2 YM2151 • DESCRIPTION OF TERMINAL FUNCTION • Do- D1: Address/Data Bus (input/output high impedance) A multiplex bus that can be used for both address and data; inputs an 8-bit parallel signal between an external device and the internal register. • AO: Address/Data Select (Input) When AO= "O'', the Do- D1 signal is process as address signal ; when AO= "I", the Do- D1 signal is processed as data. • WR : Write (Input) When WR = "O", the signals in the bus can be entered. • RD: Read (Input) When RD= "O", the internal signals can be read out via the bus. • CS : Chip Select (Input) When there is a chip select signal, the AO, WR, and RD slgnals become operative and the Do- D1 bus data can be entered in the internal register or internal data can be read out on the Do- D1 bus. • IC: Initial clear (Input) Internal registers and circuits are initialized when this terminal reads "O". • iRQ: Interrupt request (Output: Open drain) If eitherofthe 2 types of timer counters begins a carry out, this signal will read out a "O" level and request an interrupt from the CPU Then, with the CPU ' s readout of the data, the unit will determine from which timer the interrrupt request has been made and will process the interrupt. • CT 1, CT2: Control I , Control 2 (Output) This is the terminal that is used to control an external device and should read "O" level when at initial condition. • SO: Serial Output (Output) Takes the tone signal divided between the 2 left and right channels, outputs it as serial data, and sends it to the YM3012 DIA converterter specially developed for use with the YM2151. • SH 1, SH2: Sample and hold Used to pick up the serial data supplied to the YM3012 D/A converter, and for sampling hold after analog conversion. • 0M : System clock (Input) Inputs the clock 0M that drives the YM2151 , which is internally broken down to and used at 112 the frequency. The 0M is the reference for the tone signal. • 01 : Clock for DIA (output) This clock drives the DIA and operates at the same frequency as the clock inside the YM2 l 5 l .Al so, when the 0 I level shifts from" 1'"to "O", the iRQ, CTI , CT2, TO, SHI, SH2, and SO signals all change. • Yoo: Power Supply (Input ) Nonnall y supplies at+ 5Y. • Yss: Grand (Input) Conects the system grand. 3 YM2151 *WRITE DATA Address Map (I) ; WRITE MODE Address Map (2); WRITE MODE HEX MSB LSB HEX MSB LSB 00 00 Referto TEST 01 a.-~~~~~~~~~ } Fig. 2 02 1F 03 FB CONE CT 04 05 06 07~--~~~~..--~~~ 40 08 09~ ........~~~~......~~~ OA SF OB 60 QC OD OE 7F OF NFRQ BO CLKA1 10'""""=-~~~-:==-r-~; 11i.-=:;;..~~~-==-~C_L_KA2__, AR 12 CLKB 9F 13 t::2§::~~J AO 14 to<:::---..........,~~~~~---:::...i 15 om 16 BF 17 ~~~~~~~~__;:"'"I co 18 LFRQ 1---~~~~~~~~-4 19 PMD/AMO 02R 1A OF 18 ~~...a..::=-~~.;::::...L-~,j EO 01L RR 1E FF 1F •F RESET = FLAG RESET Fig (1) Fig (2) Address Map (3) ; READ MODE HEX MSB LSB x x I !:;::><:::::! I B isl Fig (3) 4 YM2151 • EXAMPLE OF BASIC CIRCUIT 0-GND + SV Voo A-GND Voo 22 1 16 BIAS 01 23 2 15 BIAS Vss 3 14 V/2 OPM so 21 4 DAC 13 (YM2151) (YM3012)12 OBU SH2 19 5 COM SH1 20 6 11 iC CH2 iC 3 7 10 A-GND CH1 8 9 R CH OUTPUT C3= 4.7µF L CH OUTPUT C4,Cs = 100µF C1,C2 = 3300PF INITIAL CLEAR R1=1oon OP AMP · 4556 x 2 +v + 10- + 15V o---•C4 AG ND !l;l>-.....--_. Cs - V - 10- - 15V o---• •ELECTRICAL CHARACTERISTICS 1. Absolute Maximum Rating ITEM RATING UNIT Voltage Range -0.3 - + 7 v Operating temperature 0- 70 ·c Storage temperature - 50 - + 125 ·c 2. Recommended Operation Conditions ITEM SYMBOL MIN. STD. MAX. UNIT Operating supply voltage Voo 4.75 5.25 v Power supply current loo 120 mA Power dispation (at Voo =5.25V) Po 630 mW 5 YM2151 Electrical Characteristics 1. Clock ITEM SYMBOL CONDISIONS MIN. STD. MAX. UNIT Voltage level ·o· -0.3 0.8 v Voltage level ·1· 20 Voo v Rise time Tr Fig-1 50 ns Fall time Tf Fig-1 50 ns ON time TON Fig-1 100 ns Frequency 0M 3.0 3.58 4.0 MHz Input capacitance C0M 10 pF 2. ffl ITEM SYMBOL CONDISIONS MIN. STD. MAX. UNIT Rise time Tr1 Fig-3 180 ns Fall time Tf1 Fig-3 120 ns Load capacitance CL 100 pF 3. IRQ, CTI, CT2, SO, SHI, SH2 ITEM SYMBOL CONDISIONS MIN. STD. MAX. UNIT Rise time Tr2 Fig-4 250 ns Fall time Tfa Fig-4 250 ns Load capacitance CL 100 pF 4. Write/Read Timing ITEM SYMBOL CONDISIONS MIN. STD. MAX. UNIT Address Set-up Timing TAS Fig-2 10 ns Address Hold Timing TAH Fig-2 10 ns CS WRITE WIDTH Tew Fig-2 100 ns WR WRITE WIDTH Tww Fig-2-1 100 ns WRITE DATA Set-up Time Tos Fig-2-1 50 ns WRITE DATA Hold Time TDHW Fig-2-1 10 ns READ DATA ACCESS Time TACC Fig-2-2 180 ns READ DATA Hold Time TDHR Fig-2-2 10 ns 6 YM2151 Tr TON Tl 1/0M Fig-1 PHASE DAT A 5. All Input ITEM SYMBOL CONDISIONS MIN. STD. MAX. UNIT Voltage level "()" -0.3 0.8 v Voltage level ·1· 2.0 Voo v 6. All Output ITEM SYMBOL CONDISIONS MIN. STD. MAX. UNIT Voltage level ·o· - 0.3 0.4 v Voltage level ·1 • 2.4 Voo v 7. AO, WR, RD, CS, 0M ITEM SYMBOL CONCISIONS MIN. STD. MAX. UNIT Input Leak Current IL at 25'C Vi= 10V 0.1 µA 8. IC ITEM SYMBOL CONDISIONS MIN. STD. MAX. UNIT Input Current liO Voo = 5V 10 60 µA 9. IRQ*, CTI, CT2, D0-07, SHI SH2, SO, 01 ITEM SYMBOL CONCISIONS MIN. STD. MAX. UNIT Load Current lo VLO = 0.4V 2.1 mA *OPEN DRAIN 7 YM2151 =t-TAS---,J~ cs WR Data (DO-D7) Tos Fig 2-1 WRITE TllNG NOTE: Tos and ToHNuse as a reference either CS or WR, whichever has attained High Level. =t-TAS- -..~- A0 DATA (DO-D7) --~ Fig 2-2 READ TIMING NOTE: T Ace use as a reference either CS or RD, whichever is the last to attain Low Level. TottR uses as a reference either CS or RD, whichever has attained High Level. 8 YM2151 0M -"O" 0.6V 2.4V 01 o.sv "O" Tr1 Tf1 Fig-3 "1" 01 O.SV OUTPUT iRQ,CT1 ,CT2J ( SO ,SH1 ,SH2 "O" __________..._____,,, Tf2 Fig-4 Voo = 5 I l .:~PUT ~i---• Vi I 1i0 l I , , Fig-5 Fig-6 VDD= SV AL lo Fig-7 9 YM2151 • EXTERNAL DIMENSIONS 24 13 i -$-------t------$-- 1 i 12 31 .60 ± 0.40 15.24TYP z j 0-15" ~ 0.25 ± 0.10 0 LO P - 2.54TYP __._ _ 24-0.48 ± 0.10 C\i UNIT : mm (milimeters) The specifications of thi s product are subject to improvement changes without prior notice. -YAMAHA CORPORATION- ~~-----AGENCY------- Address inquiries to: Semi-conductor Sales Department • Head Office 203, Matsunokijima. Toyooka-mura, Iwata-gun. Shizuoka-ken, 438-01 Electronic Equipment business section Tel. 0539-62-4918 Fax. 0539-62-5054 • TokyoOtfice 3-4, Surugadai Kanda, Chiyoda-ku, Tokyo, IOI Ryumeikan Bldg. 4F Tel. 03-3255-4481Fax. 03-3255-4488 •Osaka Office 3-12-9, Minami Senba, Chuo-ku , Osaka City, Osaka, 542 Shinsaibashi Plaza Bldg . 4F Tel. 06-252-7980 Fax. 06-252-5615 • U.S.A. Office YAMAHA Systems Technology 981 Ridder Park Ori ve San Jose, CA 95131 Tel. 408-437-3133 Fax. 408-437 -8791 Copying prohibited © 1987 YAMAHA CORPORATION 0.3K-1210 ~ Printed in Japan 86.5 10