Hello,
We are currently building upon the audioSample project found in the psp package under the directory: (\ti\pspiom\examples\evm6747\audio).
We are having problems integrating uart interrupts in the BIOS (v5.33.01)
Our BIOS uses the ECM, so we set up the interrupt using these lines:
bios.HWI.instance("HWI_INT7").interruptSelectNumber = 0; bios.HWI.instance("HWI_INT8").interruptSelectNumber = 1; bios.HWI.instance("HWI_INT9").interruptSelectNumber = 2; bios.HWI.instance("HWI_INT10").interruptSelectNumber = 3;
bios.ECM.instance("EVENT69").unmask = 1; bios.ECM.instance("EVENT69").fxn = prog.extern("UART2_isr");
Then, in our initialization function, we enable the interrupts in the IER with this line:
C64_enableIER(C64_EINT7 | C64_EINT8 | C64_EINT9 | C64_EINT10);
We also enabled receive interrupts in the UART's IER.
However, the interrupt service routine is not executing.
We were able to get this routine to execute when being enabled without BIOS (using the quickStartOMAPL1x_rCSL example), but have been unable to translate this to a BIOS implementation. From what we have seen in other posts, our setup is correct, as the interrupts utilize the dispatcher and are initialized according to ECM requirements. What could be causing our ISR to not execute?
Thanks!