On ADSP21489 EZ-board,
SPORT1 is configured to receive audio signals from ADC1 in I2S mode with ping-pong chained DMA transfer;
SPORT2 is to receive digital signals in I2S mode coming from another circuit board via the expansion interface, and SPORT2 data is routed to DAC2 as SRU(DAI_PB11_O, SPORT2_DA_I),the data are also operated with ping-pong chained DMA.
I want to set the interrupt priority of SPORT1 to be higher than SPORT2 with the following codes,
#define SP1_INTERRUPT (P0I0|P0I1)
#define SP2_INTERRUPT (P1I0|P1I1|P1I2)
*pPICR0 = SP1_INTERRUPT | SP2_INTERRUPT;
But there is no output after these sentences are added, if they are commented the output works correctly.
Could anyone give me some advices on how to set the interrupt priority of these two SPORTs?