Upload of design documentation for ADAU1442 - diyAudio
Go Back   Home > Forums > Blogs > googlyone

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
Rate this Entry

Upload of design documentation for ADAU1442

Posted 20th November 2012 at 12:55 PM by googlyone
Updated 20th November 2012 at 01:02 PM by googlyone

I have had a few people ask for the CAD files and software for the ADAU1442 DSP. I have tried uploading the whole lot as a series of ZIP files - I hope this works OK.

There are a few things that warrant comment, and if you try to untangle this lot, I am sure a few questions to me. Feel free to ask away...

Comments:
- The sigmastudio file is simply there to generate the code for the DSP. All the actual values for filters etc are calculated by the microcontroller under user control.

- SigmaStdio generates a bunch of export files, my software uses the *.h files, both to load the DSP code, and also to get the addresses in the ADAU1442 of registers for biquad coefficients etc. The microcontroller code pretty well loads these in straight, but there is a tiny bit of tidying up the sigma generated files first...

- The microcontroller is a PIC18F4560 (from memory) the CAD file has a PIC18F5420 in the schematic - these are pin compatible, but I use the memory of the larger device. Any micro with an PSI interface to the DSP could be used.

- The code is written in Microchip C (C18 compiler) the project is in there.

- There are CAD files in ALTIUM format for the ADC, DSP and DAC. The DAC includes a programmable volume control on each output allowing the DAC to run at full scale, even at low volumes.

I am still thinking about doing a fancy GUI, but time is hard to come by, and I need to get more enthused.

If you actually do make sense of this and change things, let me know, I am the first to admit that the code is pretty agricultural. But I am a hardware engineer I am really interested in any changes or improvements you think of. On the other hand if you feel compelled to throw some rocks at the thing, feel free - all I ask is that critique goes hand in hand with meaningful contribution on improvement!

If by this time you have not given up, PCBCART already has all the tooling for these PCBs - as I had a bunch made for myself. They can do more at surprisingly good prices - but you will need to load them yourself...

The PDF schematics are here...
Attachment 804
SPDIF+Rx.pdf
Power+Supplies.pdf
DSP.pdf
Control_IF.pdf
ADC.pdf
DAC.pdf

Any questions, shoot me an email.

The gory details are in these zip files...

ADAU1442_Program.zip

Dig_Cross_V32.zip

Controller_Rotary_18F4620_5.zip

Ver2-00 Baseline Working.zip
Posted in Uncategorized
Views 1058 Comments 2 Email Blog Entry
Total Comments 2

Comments

  1. Old Comment

    very nice project

    what the cystal value in controller board?
    permalink
    Posted 14th February 2013 at 04:55 AM by fathawk fathawk is offline
  2. Old Comment

    very nice project

    Quote:
    Originally Posted by fathawk View Comment
    what the cystal value in controller board?
    The crystal is 12.288MHz. This is required to run the DSP at 256Fs for a 48KHz sample rate.

    It is possible to run this at up to 192KHz - but I just don't see the point. If I did this then there is four times the clock speed and data rate for the A/D and D/A's - which should work but given I do not subscribe to the golden ears credo of "being sensitive to stuff that my ears just can't hear" I have not tried this.

    A second effect would be that the delay distance would be correspondingly scaled down. This might be seen a s a benefit - but my experience is that the distance steps of 1/Fs work just fine for time alignment of drivers.

    If I were trying to do a high resolution alignment then I think increasing Fs might be useful...
    permalink
    Posted 25th May 2013 at 11:37 AM by googlyone googlyone is offline
 
Hide this!Advertise here!

New To Site? Need Help?

All times are GMT. The time now is 03:57 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