 | Discussion Forum |  |
|
|
Need some advice on 10bit-DAC with ARM LPC2378Next Thread | Thread List | Previous Thread Start a Thread | Settings | Details | Message |
|---|
Read-Only Author Simon Bonzai Posted 28-Jan-2010 20:15 GMT Toolset ARM |  Need some advice on 10bit-DAC with ARM LPC2378 Simon Bonzai 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? | | Read-Only Author Robert Rostohar Posted 29-Jan-2010 07:15 GMT Toolset ARM |  RE: Need some advice on 10bit-DAC with ARM LPC2378 Robert Rostohar 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. | | Read-Only Author Andy Neil Posted 29-Jan-2010 11:31 GMT Toolset ARM |  sound quality is ... limited with the 10-bit DAC resolution and the small low cost speaker. Andy Neil I very much suspect that the the "small low cost speaker" is by far the most significant limitation! | |
Next Thread | Thread List | Previous Thread Start a Thread | Settings |
|