This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Audio DACs: Cheap and reliable generation of FS/LRCK from standard serial interfaces

Other Parts Discussed in Thread: CD4024B, PCM1754

Dear all,

I'm looking for an affordable audio DAC solution for a microcontroller project (NXP LPC11U24), and all the products I've found so far only support the I2S-kind of serial input with bit clock (BCK) and frame select or left/right clock (FS/LRCK) on separate lines.

After reading up on various forums and application notes (including TI's "Interfacing an I2S Device to an MSP430 Device"  ), it seems that the best solution will be to externally divide the bit clock by 16. Since FS/LRCK is supposed to switch on a _falling_ edge of BCK, I was expecting to need additional logic to do the job, when I ran into the vintage (and very affordable) 7-bit counter CD4024B that has falling-edge clock input.

Before I start designing a circuit around CD4024B, PCM1754 and the controller, I would love to hear from other people who have been in the same situation of having to serve four-wire audio signals with serial interfaces as they are found on standard uCs. Any suggestions will be greatly appreciated!

Cheers,

Matthias

  • Hi, Matthias,

    I have asked my colleague to comment on this for you.

    -d2

  • Matthias,

    The solution of using the SPI port with a counter to generate the L/RCLK should work.  You need to make sure you can align the L/R clock with the data using the reset pin in the application note you refrenced.  Also please note on page 15 of the PCM1754 datasheet the LRCLK is used for synronization so becareful of jitter in this signal.  Otherwise generating the LRCLK from a counter should be fine.

    -Matt Kucic

    Audio Applications