Raspberry Pi, TDA1541A, PMD100, discrete IV - diyAudio
Go Back   Home > Forums > Source & Line > PC Based

PC Based Computer music servers, crossovers, and equalization

Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 15th March 2014, 08:28 PM   #1
diyAudio Member
 
Join Date: Oct 2004
Smile Raspberry Pi, TDA1541A, PMD100, discrete IV

Thought I'd share what I've been dabbling with of late.

Still unfinished, but works well.
Essentially a Raspberry Pi with Koalo's I2S driver, fed by an old, badly implemented Kwak clock, feeding I2S to my old PMD100 circuit (resurrected from my previous DAC). This inturn feeds an 8x oversampled I2S signal to a TDA1541A, which feeds a discrete IV stage (a BJT equivalent of Nelson's D1 - very crude at the moment, but works well).

The pi is powered by a dedicated linear PSU, via a USB hub, which also powers a USB (well, SATA) HDD.

It needs a bit of a tidy up, a rebuilt clock and IV stage but I'm very happy with it. No doubt, there are various ways I can tweak this. I'll be busy for years.

Runs MPD nicely, playing FLAC and internet radio, can control it via my phone, and has a shutdown button, so I can run it completely headless.

Seriously toying with an SSD for it - not that it's very noisy at the moment.
Attached Images
File Type: jpg pi-dac.jpg (671.6 KB, 733 views)
  Reply With Quote
Old 15th March 2014, 10:02 PM   #2
diyAudio Member
 
Greg Erskine's Avatar
 
Join Date: Jan 2002
Location: Sydney/Australia
Fantastic!

Sent from my iPad using Tapatalk HD
__________________
Greg Erskine
  Reply With Quote
Old 18th March 2014, 02:26 AM   #3
kp93300 is offline kp93300  Malaysia
diyAudio Member
 
Join Date: Mar 2007
Quote :
Still unfinished, but works well.
Essentially a Raspberry Pi with Koalo's I2S driver, fed by an old, badly implemented Kwak clock, feeding I2S to my old PMD100 circuit (resurrected from my previous DAC). This inturn feeds an 8x oversampled I2S signal to a TDA1541A, which feeds a discrete IV stage (a BJT equivalent of Nelson's D1 - very crude at the moment, but works well).
unquote


I am also interested in such a project. I have most of the parts from the diyparadise monica project with TDA 1545.
Can you elaborate more on the PMD 100 circuit ?
I would like to interface the pi with the TDA 1545 chip directly.

thanks

kp93300
  Reply With Quote
Old 18th March 2014, 02:33 AM   #4
diyAudio Member
 
abraxalito's Avatar
 
Join Date: Sep 2007
Location: Hangzhou - Marco Polo's 'most beautiful city'. 700yrs is a long time though...
Blog Entries: 109
Send a message via MSN to abraxalito Send a message via Yahoo to abraxalito Send a message via Skype™ to abraxalito
I've tried the TDA1545 (or it might have been TDA1387 which is very similar) and it sounds better run NOS than with oversampling. I compared 2X OS vs NOS and NOS won out with less 'greyness' to the sound. Bear in mind TDA1545A (original TDA1545 isn't available any longer) doesn't use I2S, rather EIAJ.
__________________
There is surely nothing quite so useless as doing with great efficiency what should not be done at all - Peter Drucker
  Reply With Quote
Old 18th March 2014, 10:10 AM   #5
diyAudio Member
 
Join Date: Oct 2004
Thanks for the compliments!

kp, I basically used Guido's circuit for PMD100, but used a set of jumper switches instead of a PIC: DIYHiFi.org • View topic - PMD100 to TDA1541
It's possible, if I could be bothered that I could now use the pi instead of a PIC to program the filter chip using I2C.

(I think there's a diyaudio thread about 7220, where I account my move to PMD100, I think it's easy to find).

I do recall that I did have to modify the driver slightly to get it to work with the PMD100 - I can't quite recall but it was a couple of register pokes to setup an external clock to the pi and to tweak the frame size of the I2S output. I think it's (sort of) detailed in the raspberry pi thread somewhere: Raspberry Pi • View topic - I2S: Anyone got it running? (answer is yes!)

(I do want to update the kernel and rebase my mods, but I'm not in a hurry to do so at the moment).

Abraxilito, 2x NOS is probably not going to make a huge difference. What digital filter did you use? The 4x 7220 was ok, nothing to shout about in my opinion to the 100 for instance. However, you get interesting electrical issues when you start playing with higher frequencies.

When I have access to a scanner, I shall post my IV stage - although it's a work in progress.
I also have more fun with the PSU lined up, an enclosure to sort out and I really want to do something about the clock.... Won't happen overnight though.
  Reply With Quote
Old 18th March 2014, 02:08 PM   #6
diyAudio Member
 
abraxalito's Avatar
 
Join Date: Sep 2007
Location: Hangzhou - Marco Polo's 'most beautiful city'. 700yrs is a long time though...
Blog Entries: 109
Send a message via MSN to abraxalito Send a message via Yahoo to abraxalito Send a message via Skype™ to abraxalito
2X OS was done on an LPC1114 or LPC1313 (can't recall which) with a quasi minimum-phase FIR I designed myself. SAA7220 is a very electrically noisy chip taking as it does about 1W of power - tends to need extra-special care to PSU regulation. In contrast the LPCs (ARM Cortex M0 and M3) take about 40mW or so.

Incidentally how did you feed 8X I2S to the TDA1541A?In my understanding it only accepts data that fast in a mode with two data pins.
__________________
There is surely nothing quite so useless as doing with great efficiency what should not be done at all - Peter Drucker
  Reply With Quote
Old 18th March 2014, 04:49 PM   #7
diyAudio Member
 
Join Date: Oct 2004
Correct, 8x i2s straight to tda1541a, so 4 wires.
Clk, bclk, datal, datar.
  Reply With Quote
Old 24th May 2014, 10:15 AM   #8
Zoran is offline Zoran  Serbia
diyAudio Member
 
Join Date: Jan 2004
Location: Belgrade
PMD100 does not output I2S bus, As well as not capable to accept I2S bus at input, without additional circuit, described in the data-sheets...
probably TDA is set to -COB input format, simultaneous L/R, must be...
__________________
###
  Reply With Quote
Old 26th May 2014, 03:00 PM   #9
diyAudio Member
 
Join Date: Jun 2003
Location: Hamilton, was Ottawa (Canada)
Did they ever figure out that 44.1k thing?

Quote:
Originally Posted by glt View Post
It is definite that BBB cannot support 44.1KHz and family. See page 75 of the System manual: https://github.com/CircuitCo/BeagleB...M.pdf?raw=true

There is a 24.576 MHz connected to the Audio subsystem in order to generate the audio frequencies.

Fortunately, this is also connected to an expansion pin (GPIO3_21) and the oscillator can be disabled in s/w. For now the only way for bit perfect output is through USB.
from
Building an open embedded audio applicance.

also
"Audiophile Optimizer"....fish oil...?

and

"Audiophile Optimizer"....fish oil...?
  Reply With Quote
Old 28th May 2014, 08:30 AM   #10
diyAudio Member
 
soundcheck's Avatar
 
Join Date: Mar 2005
Location: D
Hi.

I also own a RPI. And a friend of mine is also testing this or that I2S DAC on his RPI.

My 2 cents.

The RPI comes with a lot of serious weaknesses and/or limitations. Of course it is working. And people, even beginners, make it work.
The community support is huge and there are a lot of RPI gadgets out there.

However.

I'd recommend to have a look at the CubiTruck instead.

The CT specs are far above an RPI @ just a little extra cost.

It comes with Sata, GBit ethernet, 2GB RAM, case .....

A nice feature is its battery supply option and integrated battery management. No need to fiddle around with linear supplies etc.

There are also I2S headers and there is an I2S driver available.

Another great feature is its NandFlash. No need for SD cards anymore. You put the whole OS on the board.
I'm hard-powering the device up and down several times a day and didn't ever (since January) have any corruptions.
The RPI SD card image corrupted every other day, if the RPI wasn't treated with care.

The SD card slot of the CT can still be used as an alternative boot media.

There are many SD/Nand images for the CT out there. These will get you up 2 speed in shortest time.


So. Don't get stuck forever with the RPI. There's IMO much better stuff out there.

Cheers

Last edited by soundcheck; 28th May 2014 at 08:41 AM.
  Reply With Quote

Reply


Hide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
My DAC for the Raspberry Pi usul27 Digital Source 143 3rd November 2014 08:36 PM
DSP for the Raspberry Pi usul27 Digital Line Level 28 25th June 2014 07:44 AM
miniAMP and raspberry pi kp93300 miniDSP 0 3rd March 2014 04:38 AM
Raspyfi (raspberry pi) regulators kentdream Digital Source 0 18th November 2013 08:59 AM
Raspberry Pi & accessories Nikitas Swap Meet 5 5th July 2013 12:47 PM


New To Site? Need Help?

All times are GMT. The time now is 12:21 AM.


vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2014 DragonByte Technologies Ltd.
Copyright 1999-2014 diyAudio

Content Relevant URLs by vBSEO 3.3.2