This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DAC for WAV player in LPC2148

Hi,
I am trying to make an wav player using LPC2148.I have interfaced SD Card by SSP.now reading buffer of data from sd card and writing 8 bits to DACR register.some beep kind of noise is coming continuously but song sound is not coming...Can anyone help me...??
This i wrote to send data to DAC.

data=SoundData[i];
val= data<<6;
val *=volume;
DACR = (val & 0x0000ffc0);}