Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: [lpc2100] Audio DAC

2004-02-11 by Robert Buadu

Peter Kuhar wrote:

>>Say we want to output 44.1kHz stereo data. That needs a minimum clock of
>>44100 * 16bit * 2 channels = 1411200Hz (1,4MHz).Some chips require a
>>minimum clock of clock of 256*fs. That is way too fast. We need to run
>>the chip in slave mode and provide a clock for the data.
> 
> It's not actualy that fast 256*fs means that clock is 256*44100
> 11.286600 MHz

Well if you are doing it in software and your clock is 60MHz then it is 
a bit fast.

> A managed to connects philips DAC (in 16 bit left-aligned mode which
> is close to I2S) using software, SPI and PWM. But it
> takes to much processor time. Just enaught to decode mp3 from internal
> flash. But I dont have enoug time left to read  from SD card.

Hey, that's pretty cool.

> What about connecting DAC to UART using somekind of converter. I was
> thinking: 8 pin MCU.
> 

That sounds interesting. If you can find an 8 pin MCU with a uart fast 
enough!

/Robert

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.