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