october 1998 ml2037 * 500khz, serial input, programmable sine wave generator with digital gain control general description the ml2037 is a precision programmable sine wave generator with a frequency range of dc to 500khz. the device is capable of generating a wide frequency range of low distortion sine waves with no external passive components. the frequency of the sine wave output is programmed by a 16-bit word that is loaded through a serial input. the sine wave output frequency is determined by the programmed value and the clock frequency. the clock frequency is derived from either an external crystal connected to the device or an external clock input to provide a stable and accurate frequency reference. the sine wave output of the ml2037 is filtered and has a programmable amplitude that is digitally programmed in 0.5v steps. the maximum amplitude is 2.0v p-p centered at a 2.5v level. the device functions from a single 5v power supply and has a shutdown pin to put the device into a low power mode that disables the output. a sync input is provided to allow the synchronization of more than one device in a system. block diagram features programmable output frequency: dc to 400khz?sing a crystal dc to 500khz?sing an external digital clock 3-wire spi compatible serial interface with double buffered latch for programming the frequency digital gain control for programming output amplitude sync input for synchronization of multiple sine waves shutdown pin for sleep mode single 5v power supply operation av cc 12 d gnd d gnd out s enable s clk s data in 7 4 6 10 8-bit dac gain control & smoothing filter g0 14 g1 15 reference phase accumulator 512 point sine look-up table 8 16 16 16-bit data latch 16-bit shift register crystal oscillator 2 clk in 13 clk out 3 av cc 11 dv cc 16 sync 2 agnd 9 shdn 8 1 5 * this part is end of life as of august 1, 2000 rev. 1.0 10/10/2000
ml2037 2 rev. 1.0 10/10/2000 pin configuration pin description pin name function 1, 5 d gnd ground connection for the digital sections of the ic. 2 sync synchronization input. holding this pin low stops the sine wave output, and resets the phase to zero. 3 clk out output of the internal high frequency clock generator. f clk out = ?f clk in . 4 s clk serial data clock input. serial data is clocked into the shift register on falling edges of s clk. 6 s data in serial data input for programming the output frequency. 7 s enable serial interface enable control. a logic high on this pin allows data to be entered into the latch. 8 shdn a logic high on this pin causes the output of the generator to shut off and places the ic in a low power standby mode. pin name function 9 a gnd ground reference for analog sections of the ic and reference for out. 10 out sine wave output. the amplitude of the sine wave will vary around a 2.5v dc level. 11,12 av cc power supply for the analog sections of the ic. 13 clk in input of the internal high frequency clock generator. this pin is either driven from an external clock input or connected to a crystal for use with the internal oscillator. 14 g0 output gain control. works with g1 to set the output amplitude to one of four different full scale ranges. 15 g1 output gain control. works with g0 to set the output amplitude to one of four different full scale ranges. 16 dv cc power supply for the digital sections of the ic. 1 2 3 4 5 6 7 8 16 15 14 13 12 11 10 9 d gnd sync clk out s clk d gnd s data in s enable shdn dv cc g1 g0 clk in av cc av cc out a gnd top view ml2037 16-pin pdip (p16) 16-pin wide soic (s16w)
ml2037 rev. 1.0 10/10/2000 3 electrical characteristics unless otherwise specified, av cc = dv cc = 4.75v to 5.25v, shdn = 0v, clk in = 25.6mhz (crystal) or 32mhz (external clock), c l = 50pf, r l = 1k ? , t a = operating temperature range (note 1) symbol parameter conditions min typ max units output hd harmonic distortion 20hz to 31.25khz -45 db (2nd and 3rd harmonic) 31.25khz to 500khz -40 db snd signal to noise + distortion 1khz to 31.25khz, -45 db f out bw < 31.25khz 31.35khz to 500khz, -40 db f out bw < 500khz gain error f out <125khz, c suffix 0.15 db av cc = 5v, g1=1, g0=1 f out <125khz, i suffix 0.25 db av cc = 5v, g1=1, g0=1 125khz |