Tool/software:
Hello.
I am working on a motor controller application that uses the ADCs. I am using modules A, B, and C with SoCs 123, 1, and 1,2 respectively. These are assigned to ADCINTs 123, 1, 12 respectively. I have noticed that the ADC Interrupts for interrupt number 1 fire correctly. However for the rest, they fire only once and stop firing.
I have verified that the CPU is able to handle other interrupts to ensure that I am returnign from the "interrupt " context correctly. Moreso, changing the Interrupt Numbers for the SoCs such that the ADCINT ordering is different - leads to different ISRs firing just once (the ones that are no longer linked to ADCINT1 after the change).
I have consulted the TRM and looked at the PIE registers in debug and have verified that the interrupts are being routed correctly. Just don't know why they fire only once for ADCINT 234 but not for ADCINT1. The code I am using is pretty standard for the different ISRs and I have verified that ADC_clear Interrupt Status gets the correct parameters at the end of the ISR.
Is am assuiming that there is an obvious misconfiguration issue here. Something that I am missing out on? Any suggestions would be appreciated.