I am currently having a problem with the dag index not rolling over. I've stepped through the code and i can't see why it's playing up.
I've used a lot of dags without any issue with in the past. mostly in fir filters etc..
I was running this in a isr but have modified the code down to the simplist to try and debug the dag but still having issues.
This is running on a ADSP 21369 ezikit lite at the moment.
call _initPLL; // Initializes PLL for the correct core clock (CCLK) frequency
call _initSDRAM; // Initializes SDRAM for the correct SDRAM clock (SDCLK) frequency
call _initSRU; // Initializes the SRU & DAI/DPI pins
call _initSPORT; // Initializes the transmit and receive serial ports (SPORTS)
b0 = ad73322_init;
l0 = 4;
m0 = 1;
i0 = b0;
// BIT SET MODE1 IRPTEN;
// LIRPTL = SP0IMSK;
r10 = dm(i0,m0);
I would have expected i0 to count up to b0+3 then return to B0 but it just keeps on going up.
ad73322_init points to an array in memory at 0b8011