DAC Question - Microchip RN-52 and Texas Instruments PCM1794A

Status
This old topic is closed. If you want to reopen this topic, contact a moderator using the "Report Post" button.
Hello everybody,

i'm currently building on a Bluetooth DAC. I hope this is the right forum.

I have a question:
As Bluetooth chip I use the "Microchip RN-52" and as DAC I would like to
use the "Texas Instruments PCM1794A". I would like to connect both via I2S.

Here are the data sheets:
http://ww1.microchip.com/downloads/en/DeviceDoc/70005120A.pdf
https://www.ti.com/lit/ds/symlink/pcm1794a.pdf

The RN-52 has the following pins:
Pin 24 - SD_OUT
Pin 25 - WS
Pin 26 - SCK

The PCM1794A has the following pins:
Pin 4 - LRCK
Pin 5 - DATA
Pin 6 - BCK
Pin 7 - SCK

I'm not quite sure why one has 3 pins and the other 4?
How do I connect them? I think I'm missing something.

Thank you and greetings
dude2k
 
Member
Joined 2017
Paid Member
I guess SCK(pin26) of RN-52 means shift clock for SD_OUT(pin24) while SCK of pcm1794A doesn't mean shift clock but system clock. The correct connection is pin26(RN-52) to pin6(pcm1794a). So, what is the counterpart of SCK(pin7) of pcm1794a? Unfortunately, you don't have the right signal from RN-52 like Rpi. Recent interface sometimes fails to have SCK(pin7) because a new DAC chip doesn't always need SCK(pin7).

You have two ways. One is to make SCK(pin7) by a crystal-based PLL. The other is to use a new chip which includes internal PLL like pcm5122. Both are practically possible.
 
Yeah I've used the RN-52 a number of times and it does not output a master/system clock.

You can get around this by using something like an src4192 too between the RN and the pcm1794.

I have also used the RN + one of TI's newer DACs that include an onboard PLL, like xx3 says above and that also works well.

A third option is to use the spdif output of the RN and a spdif receiver. The receiver will then generate all the required clocks you'll need. I did this before the RN had its firmware updated to output I2S.
 
Member
Joined 2017
Paid Member
I usually use simple transistor oscillator since it has a wider capture range than hcu04. My phase comparator is done by FPGA. FPGA has internal PLL which also can be used to generate system clock for pcm1794a. But a crystal-based oscillator is a little bit high performance. It's so stable that you can use a simple PLL filter. Capture range with 30pf crystal is about 100ppm(from 24.575MHz to 24.577MHz).
 

Attachments

  • pll.jpg
    pll.jpg
    401.8 KB · Views: 65
Just be careful with the 74HCU04 as that's apparently a logic inverter as well as buffer. Is there some specific reason why you want to invert everything?

The pcm5122 is a nice chip. I've used the PCM5142 and 5242 with their DSPs and they sound great. The datasheets aren't exactly brilliant though when it comes to programming them. That's if you're looking into i2c/spi communication of the 5122.
 
Status
This old topic is closed. If you want to reopen this topic, contact a moderator using the "Report Post" button.