Our company purchased the EZKit for the ADSP21469 and are using Sigma Studio. I got the kit to work with the stock codec (AD1939). However, I want to try using external Codecs or ADC/DAC's and am having a hard time getting the parts to interface.
1) I am having a difficult time determining what format the ADC in the AD1939 outputs to the processor. Is it left justified,right justified, I2S,or TDM? Is it possible to change these formats in the Sigma Studio software?
2) I have the same question in regards to what format the DSP sends to the DAC of the AD1939.
3) What is the best signal to use as a master clock for external Codecs/ADC's/DAC's? Can I edit the clock speeds using Sigma Studio?
Thanks for all of your help.
The changes that you make on the AD193x SigmaStudio GUI are actually getting updated on the AD1939 on the SHARC EZ-BOARD. Please note that, in this setup, USBi, SHARC and AD1939 are connected in a SPI broadcast mode where USBi is the master. 'Chip Select' pins of SHARC SPI and AD193x are connected together and hence both the devices are flagged using a single chip select flag. In broadcast mode, only one of the slave devices can be in transmit mode. SHARC is already in transmit mode. Hence, when AD1939 transmits data, the data gets corrupted since its MISO is connected to the MISO of SHARC. Since the received data is corrupted, SigmaStudio displays different settings than what is on AD1939. When a different address is selected on USBi, SigmaStudio is not able to read from AD1939 and shows everything muted and powered down in the AD193x window.
Please note that AD1939 on SHARC EZ-KIT is configured using the SigmaStudio for SHARC application LDR. Configuration through SigmaStudio AD193x GUI is not yet fully supported for SigmaStudio for SHARC schematics.
If you run any other application where SHARC SPI is not configured in transmit mode, you will be able to successfully write and read from AD1939 on EZ-BOARD using the SigmaStudio AD193x GUI.