My DSP/DAC Build - Page 2 - diyAudio
Go Back   Home > Forums > Source & Line > Digital Line Level

Digital Line Level DACs, Digital Crossovers, Equalizers, etc.

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 14th March 2014, 09:57 PM   #11
diyAudio Member
 
Join Date: Jan 2009
Send a message via MSN to Adrculda Send a message via Yahoo to Adrculda
A few changes to the DSP diagram...
Click the image to open in full size.
Now I2C and SPI control is possible and added a few "future proof" changes.

Still working on the DAC, but will probably get it done by tonight.
__________________
Regards,
Adrian

Last edited by Adrculda; 14th March 2014 at 09:59 PM.
  Reply With Quote
Old 15th March 2014, 04:47 AM   #12
diyAudio Member
 
Join Date: Jan 2009
Send a message via MSN to Adrculda Send a message via Yahoo to Adrculda
Finished with the DAC and even drew up a filter section as well.
Click the image to open in full size.

Now I'm doing a bit of research as I'm still unsure whet ever i want to use I2C or SPI...
__________________
Regards,
Adrian

Last edited by Adrculda; 15th March 2014 at 04:57 AM.
  Reply With Quote
Old 15th March 2014, 05:55 AM   #13
diyAudio Member
 
Join Date: Nov 2006
Location: Adelaide, South Australia
Blog Entries: 22
Adrian,
Looks like you are using Altium for this...

If you want to dig into what I did using an ADAU1442, all the files are in my blog. I did take a somewhat less enthusiastic approach to I/O - and only implemented four pairs of stereo outputs (though adding more would be a doddle).

The most tedious part of using these devices, in my mind, is writing all the code for the user interface, and especially initialisation and loading. There are bags of registers to set right, and I really hate the documentation for these chips - it does not make it easy! Take a look in the code I uploaded - some of the initialisation stuff is a bit arcane!
  Reply With Quote
Old 15th March 2014, 06:12 AM   #14
diyAudio Member
 
Join Date: Jan 2009
Send a message via MSN to Adrculda Send a message via Yahoo to Adrculda
Thanks googlyone...

Yes, I'm using Altium and it wasn't hard to to get the chip imported into the part library as AD offers the model right on their site. All you have to do is install Ultra librarian and then use the BXL file they provide. Once you run the file through the program it creates an Altium friendly device that can be used.

My goal with this board is overkill, I know...
BUT what I want is to be able to MAP 20 Channels in any way I can dream it. Silly if you think about it, but in doing so it makes this probably the most flexible configuration in the DIY market. with any kind of filter and EQ's at your fingertip ( if setup properly even RTA isnt out of reach ).

As the software goes...
Its my acheeles heel and that's why I picked an Arduino based processor as the code is easier to write and interface over the other obvious uC out there. I'm also on the Analog EngineerZone forums and been poking around and trying to soak up some knowledge on this topic.
__________________
Regards,
Adrian
  Reply With Quote
Old 15th March 2014, 07:08 AM   #15
diyAudio Member
 
Join Date: Jan 2009
Send a message via MSN to Adrculda Send a message via Yahoo to Adrculda
Here's a quick road map:

DSP1:
BLCK0/RLCLK0 -> BLCK2/RLCLK2 : I2S Input From Digital Input Board ( DIX9211 )
BLCK3/RLCLK3 -> BLCK5/RLCLK5 : I2S Input From DSP2
BLCK6/RLCLK6 -> BLCK8/RLCLK8 : I2S Output To DSP2
BLCK9/RLCLK9 -> BLCK11/RLCLK11 : I2S to Digital Output Board ( DIT4192 )

DSP2:
BLCK0/RLCLK0 -> BLCK2/RLCLK2 : I2S Input From Digital Input Board ( DIX9211 )
BLCK3/RLCLK3 -> BLCK5/RLCLK5 : I2S Input From DSP1
BLCK6/RLCLK6 -> BLCK8/RLCLK8 : I2S Output To DSP1
BLCK9/RLCLK9 -> BLCK11/RLCLK11 : I2S to Digital Output Board ( DIT4192 )

DSP's will feed the DAC's Through the Serial Data Buses as follows

DSP1 -> DAC1: SDATA0 - SDATA4
DSP2 -> DAC1: SDATA0 - SDATA4
DSP1 -> DAC2: SDATA5 - SDATA8
DSP2 -> DAC2: SDATA5 - SDATA8

Clock will be supplied from a Crystek CCHD957 ( Custom - 12.288MHz ) single which will feed a LMK00334 Fan out buffer which in turn will feed every chip.

Again, I'm not worried about the hardware as much I'm worried about the software
__________________
Regards,
Adrian

Last edited by Adrculda; 15th March 2014 at 07:13 AM.
  Reply With Quote
Old 16th March 2014, 07:01 AM   #16
diyAudio Member
 
Join Date: Jan 2009
Send a message via MSN to Adrculda Send a message via Yahoo to Adrculda
Change of plans...
Instead of bloating the board with more parts I decided that it needs to slim down.
So DSP1 and DSP2 will have their own clocks and DAC1 and DAC2 will use their clock outputs. Also after reading i realized that the 1445 wasn't the one I was after but the 1442 was, with that being said i bought 8 pieces from AD. I will used the 1445 for now but eventually switch over to the 1442.

Still working on changes for each block as i go along including the slave settings.
__________________
Regards,
Adrian
  Reply With Quote
Old 16th March 2014, 08:10 AM   #17
diyAudio Member
 
Join Date: Jan 2009
Send a message via MSN to Adrculda Send a message via Yahoo to Adrculda
Found some info on I2C coms on Arduino Due ( which in one way or another is what I'm using ) HERE

Info was pulled from this THREAD
__________________
Regards,
Adrian
  Reply With Quote
Old 17th March 2014, 10:40 PM   #18
diyAudio Member
 
Join Date: Jan 2009
Send a message via MSN to Adrculda Send a message via Yahoo to Adrculda
Click the image to open in full size.

That's the block diagram.
Still missing a few items though, but getting very close to starting board lay out.
__________________
Regards,
Adrian
  Reply With Quote
Old 18th March 2014, 02:21 AM   #19
diyAudio Member
 
Join Date: Jan 2009
Send a message via MSN to Adrculda Send a message via Yahoo to Adrculda
Compiling the project in altium proved easy enough...
But found a but load of errors and specially since I copied the DAC 1 to DAC 2 and DSP 1 to DSP 2, i kinda copied the unique indentifiers as well.
So, now i have to go back and rename every one of them :/

Back to work I guess!
And i was getting happy that I'm getting close to starting to lay out the board...
__________________
Regards,
Adrian
  Reply With Quote
Old 19th March 2014, 06:09 AM   #20
diyAudio Member
 
Join Date: Jan 2009
Send a message via MSN to Adrculda Send a message via Yahoo to Adrculda
Ugh.. what a hassle LOL
This isn't as much fun as i thought it would be, nor as easy.
__________________
Regards,
Adrian
  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
mini dsp as high end dac keager miniDSP 1 3rd June 2013 09:33 AM
Li-ion powered wireless DSP/DAC? jalyst Parts 0 13th October 2009 07:42 AM
Dose any one has experince about the implementation DSP in DAC, like Theta Did? lanyuflying Digital Source 2 20th January 2008 12:12 PM
DSP Starter kit w. ADC/DAC jensenstefan Swap Meet 0 28th February 2007 01:34 PM
DSP and DAC noise nFORCE Digital Source 4 29th April 2003 03:18 PM


New To Site? Need Help?

All times are GMT. The time now is 05:31 PM.


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