Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


[SOLVED]: I2S Driver for TDA1541A
#1
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
Reply
#2
(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-rasberr...rough-i2s/
https://bloggerbrothers.com/2017/01/14/r...-rpi-gpio/
----------
bob
Reply
#3
(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-rasberr...rough-i2s/
https://bloggerbrothers.com/2017/01/14/r...-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
Reply
#4
(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-rasberr...rough-i2s/
https://bloggerbrothers.com/2017/01/14/r...-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
----------
bob
Reply
#5
(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-rasberr...rough-i2s/
https://bloggerbrothers.com/2017/01/14/r...-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?
Reply
#6
I think for TDA1541, 1543, 1387 chips you need to use Generic-1 I2S (hifiberry-dac).

-Tim
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#7
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


Attached Files Thumbnail(s)
   
Reply
#8
Wink 
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.
Reply
#9
Nice :-)

What type of wires are u using for I2S connection?

-Tim
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#10
(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.


Attached Files Thumbnail(s)
   
Reply


Forum Jump: