Moode Forum
[SOLVED]: I2S Driver for TDA1541A - Printable Version

+- Moode Forum (https://moodeaudio.org/forum)
+-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3)
+--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7)
+--- Thread: [SOLVED]: I2S Driver for TDA1541A (/showthread.php?tid=397)

Pages: 1 2


[SOLVED]: I2S Driver for TDA1541A - edwingoh - 08-11-2018

I have attempted to connect the RPI2 I2S lines to a TDA1541A DAC of a broken CD player.

I think it should be:
RPI2 pins J12 - BCK, J35 - LRCLK, J38 - MOSI) to TDA1541A pin 2 - BCK, pin 1 - LE/WS and pin 3 - DATA correspondingly.

I have chosen the generic I2S driver (RPI-DAC) but there is no sound.

Any suggestions?

Ed


RE: I2S Driver for TDA1541A - DRONE7 - 08-11-2018

(08-11-2018, 07:28 AM)edwingoh Wrote: I have attempted to connect the RPI2 I2S lines to a TDA1541A DAC of a broken CD player.

I think it should be:
RPI2 pins J12 - BCK, J35 - LRCLK, J38 - MOSI) to TDA1541A pin 2 - BCK, pin 1 - LE/WS and pin 3 - DATA correspondingly.

I have chosen the generic I2S driver (RPI-DAC) but there is no sound.

Any suggestions?

Ed

Gnd ? Data ?  No mention in your layout.....though that may be as it is a given...?

J40=Data
http://www.dimdim.gr/2014/12/the-rasberry-pi-audio-out-through-i2s/
https://bloggerbrothers.com/2017/01/14/raspberry-pi3-nodejs-gpio-control-rpi-gpio/


RE: I2S Driver for TDA1541A - edwingoh - 08-11-2018

(08-11-2018, 09:20 AM)DRONE7 Wrote:
(08-11-2018, 07:28 AM)edwingoh Wrote: I have attempted to connect the RPI2 I2S lines to a TDA1541A DAC of a broken CD player.

I think it should be:
RPI2 pins J12 - BCK, J35 - LRCLK, J38 - MOSI) to TDA1541A pin 2 - BCK, pin 1 - LE/WS and pin 3 - DATA correspondingly.

I have chosen the generic I2S driver (RPI-DAC) but there is no sound.

Any suggestions?

Ed

Gnd ? Data ?  No mention in your layout.....though that may be as it is a given...?

J40=Data
http://www.dimdim.gr/2014/12/the-rasberry-pi-audio-out-through-i2s/
https://bloggerbrothers.com/2017/01/14/raspberry-pi3-nodejs-gpio-control-rpi-gpio/

Sorry, it should be:
TDA1541 <-> RPi2

1 - LE/WS <->J35 (PCM_FS)
2 – BCK <-> J12 (PCM_CLK)
3 – DATA <-> J40 (PCM_DOUT)

I did not connect any ground pin though.

Ed


RE: I2S Driver for TDA1541A - DRONE7 - 08-11-2018

(08-11-2018, 09:23 AM)edwingoh Wrote:
(08-11-2018, 09:20 AM)DRONE7 Wrote:
(08-11-2018, 07:28 AM)edwingoh Wrote: I have attempted to connect the RPI2 I2S lines to a TDA1541A DAC of a broken CD player.

I think it should be:
RPI2 pins J12 - BCK, J35 - LRCLK, J38 - MOSI) to TDA1541A pin 2 - BCK, pin 1 - LE/WS and pin 3 - DATA correspondingly.

I have chosen the generic I2S driver (RPI-DAC) but there is no sound.

Any suggestions?

Ed

Gnd ? Data ?  No mention in your layout.....though that may be as it is a given...?

J40=Data
http://www.dimdim.gr/2014/12/the-rasberry-pi-audio-out-through-i2s/
https://bloggerbrothers.com/2017/01/14/raspberry-pi3-nodejs-gpio-control-rpi-gpio/

Sorry, it should be:
TDA1541 <-> RPi2

1 - LE/WS <->J35 (PCM_FS)
2 – BCK <-> J12 (PCM_CLK)
3 – DATA <-> J40 (PCM_DOUT)

I did not connect any ground pin though.

Ed

Try connecting Gnd..... Wink


RE: I2S Driver for TDA1541A - edwingoh - 08-11-2018

(08-11-2018, 09:25 AM)DRONE7 Wrote:
(08-11-2018, 09:23 AM)edwingoh Wrote:
(08-11-2018, 09:20 AM)DRONE7 Wrote:
(08-11-2018, 07:28 AM)edwingoh Wrote: I have attempted to connect the RPI2 I2S lines to a TDA1541A DAC of a broken CD player.

I think it should be:
RPI2 pins J12 - BCK, J35 - LRCLK, J38 - MOSI) to TDA1541A pin 2 - BCK, pin 1 - LE/WS and pin 3 - DATA correspondingly.

I have chosen the generic I2S driver (RPI-DAC) but there is no sound.

Any suggestions?

Ed

Gnd ? Data ?  No mention in your layout.....though that may be as it is a given...?

J40=Data
http://www.dimdim.gr/2014/12/the-rasberry-pi-audio-out-through-i2s/
https://bloggerbrothers.com/2017/01/14/raspberry-pi3-nodejs-gpio-control-rpi-gpio/

Sorry, it should be:
TDA1541 <-> RPi2

1 - LE/WS <->J35 (PCM_FS)
2 – BCK <-> J12 (PCM_CLK)
3 – DATA <-> J40 (PCM_DOUT)

I did not connect any ground pin though.

Ed

Try connecting Gnd..... Wink

Awesome. Let me try it tonight. Thanks a million.

By the way, which I2S driver should I use?


RE: I2S Driver for TDA1541A - Tim Curtis - 08-11-2018

I think for TDA1541, 1543, 1387 chips you need to use Generic-1 I2S (hifiberry-dac).

-Tim


RE: I2S Driver for TDA1541A - edwingoh - 08-12-2018

I hooked up the system again the following configuration:
TDA1541 <-> RPi2

1 - LE/WS <-> J35 (PCM_FS)
2 – BCK <-> J12 (PCM_CLK)
3 – DATA <-> J40 (PCM_DOUT)
ALG GND <-> J39 (GND)

Used the Generic-1 I2S (hifiberry-dac) driver as recommended by Tim.

I am tapping on the TDA1541A with the CD player in place so that it can supply the necessary power supplies.

I played a 44.1/16 .WAV file, but there is still no music output.

Any other suggestions?

UPDATE: I tapped the TDA1541A inputs before the resistors marked in RED. Could the GPIO voltages be attenuated too much? See attachment


SUCCESS! - edwingoh - 08-26-2018

Made another attempt on the Arcam board today. What I did was to tap the lines right before the TDA1541A. That did the trick; the resistors must have attenuated the voltage too much previously. Now sweet music flows! Thanks all who chipped in to help. I appreciate it.


RE: [SOLVED]: I2S Driver for TDA1541A - Tim Curtis - 08-26-2018

Nice :-)

What type of wires are u using for I2S connection?

-Tim


RE: [SOLVED]: I2S Driver for TDA1541A - edwingoh - 08-26-2018

(08-26-2018, 12:03 PM)Tim Curtis Wrote: Nice :-)

What type of wires are u using for I2S connection?

-Tim

I used some jumper cables which I have on hand, soldered one end to the board the other to the Raspberry Pi.