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

Need some advice on 10bit-DAC with ARM LPC2378

Hi all,

I've got a quick(hopefully easy to answer) question. I'm working on the ARM LPC2378 board and I am trying to get it to play .wav files. I've written a small program that strips the .wav files into decimal format. I then proceed to feed this into the DAC, as it is uncompressed data.
I've extrapolated from the header in the .wav file the sampling rate and the file size, however when i play it at the correct speed all I get are a serious of clicking sounds over and over until the file is finished being read.

This leads me to my question, Can the DAC that comes with this board actually handle complex sounds such as people talking in a .wav file. Or does it have to be something simple like a serious of tones and beeps?

I've read at other resources that this may be the case. Can anyone here clarify what its actually capable of from personal experience?

Parents
  • I suspect that your program is not functioning like it should.

    Take a look at the Keil\ARM\Boards\Keil\MCB2130\VoicePlayer example which plays wav files over the speaker. This example is for the MCB2130 board using the LPC2138 MCU but could be easy ported to MCB2300 board with LPC23xx MCU.

    10-bit DAC on LPC2xxxx is used to generate audio signal which is then amplified and routed to a speaker.

    The sound quality is quite good but of course limited with the 10-bit DAC resolution and the small low cost speaker.

Reply
  • I suspect that your program is not functioning like it should.

    Take a look at the Keil\ARM\Boards\Keil\MCB2130\VoicePlayer example which plays wav files over the speaker. This example is for the MCB2130 board using the LPC2138 MCU but could be easy ported to MCB2300 board with LPC23xx MCU.

    10-bit DAC on LPC2xxxx is used to generate audio signal which is then amplified and routed to a speaker.

    The sound quality is quite good but of course limited with the 10-bit DAC resolution and the small low cost speaker.

Children