Post Go back to editing

CCES: block in while(!Ad2425W->masterRunning) : Issue with PLL Interrupt

Category: Software
Product Number: ADZS-SC589-MINI (Rev 2.1)
Software Version: CrossCore Embedded Studio 2.11.1 and SigmaStudio 4.7

Hi everyone,

I am working on my firstn A2B project in which my hardware setup is composed of an ADZS-SC589-MINI (Rev 2.1) connected to an EVAL-AD2428WB1BZ and an ADZS-AUDIOA2BAMP.

I used SigmaStudio 4.7 to generate an A2B configuration file for CCES and managed to compile and download my SigmaStudio project (which can be seen below). 

On CCES 2.11.1, I generated a SAM Baremetal Studio project in which I only corrected errors in the function adau1761_set_samplerate by using corrections shared in another thread.

When I launched the Debug on CCES, my program endep up blocked at the function "ad2425w_load_init_sequence(..)" in a while loop because the function AD2425W_interrupt_pending_check return false.

The reason is that when the SC589 reads the register 0X15 of the A2B transceiver Ad2428, which is the register INTSAT, the value read is always 0 which would mean that no interrupt is pending.

I don't understand how I can solve this issue on SigmaStudio or CCES.

I tried to launch an Analog Device project, shared as an example (Custom A2B Configuration for SHARC Audio Module [Analog Devices Wiki]), to see if it would work and I ended up block at the same location. Do you know how to resolve this issue? I tried to use other shared project to understand A2B but the majority use the ADAUxx processors to communicate with the additional peripherals of the ADZS-SC589-MINI..

I would like to know how I can handle the PLL interrupt for an A2B network with the ADZS-SC589-MINI.

If I missed to specify something please tell me.

Thank you

Margot

Parents Reply Children
  • Hi,

    I managed to find the answer. The xml file used in CCES to configure the ADAU1761 was a file from Analog Devices in which the 4 GPIO, GPIO0 GPIO1 GPIO2 and GPIO3, connected to the SCP589 were all used for the communication between the ADAU and the peripheral devices. 

    Therefore, I enabled GPIO0 and GPIO21 and defined them as input and output controlled by I2C.

    Thanks for the help,

    Margot