ADC/DAC and SPDIF

Hi,

I'm using the ADSP-21469 EZ-Board and I would like to use the AD1939 and the SPDIF for input and output (analog in/out and digital in/out)an mix the signals, for example analog in to digital out or digital in to analog out. At the moment both are connected to the Core through SPORTs.

When the input buffers are filled both input SPORTs generate an interrupt. Each ISR sets a flag an if both flags are set the audio processing starts.

My Problem is that the clocks of the SPORTs have different sources, so the SPORTs work asynchronus.

I have already looked to some code examples and I think I need to use a PCG before I can connect the clock from SPDIF to the clock of AD1939 SPORT.

Perhaps someone can help me programming the PCG.

At the attachment you can find my current signal routing.

Thanks,

Marc

Parents
  • Hi Jeyanthi,

    I have checked the example, but its not totally clear to me which registers have to be set or cleared to use the AD1939 in slave mode. Also the data sheet of the AD1939 could not answer my questions. Perhaps you can give me some assistance for this.

    In the case, the AD1939 is programmed in slave mode, can I use the output clock of the SPDIF receiver directly to the input clock of the AD1939?

    In HW reference I found the hint that you should not use the inter clock of a SPORT to drive the ADC/DAC. Which is the best alternative to run the SPORTs to AD1939 and SPDIF synchronous?

    Thanks,

    Marc

Reply
  • Hi Jeyanthi,

    I have checked the example, but its not totally clear to me which registers have to be set or cleared to use the AD1939 in slave mode. Also the data sheet of the AD1939 could not answer my questions. Perhaps you can give me some assistance for this.

    In the case, the AD1939 is programmed in slave mode, can I use the output clock of the SPDIF receiver directly to the input clock of the AD1939?

    In HW reference I found the hint that you should not use the inter clock of a SPORT to drive the ADC/DAC. Which is the best alternative to run the SPORTs to AD1939 and SPDIF synchronous?

    Thanks,

    Marc

Children
No Data