Part Number: TMS320F28069
Our application has 8 or so different ISR routines that run at any given time (many HR/ECAP-edge-based, others ADC based, others timer based). During run-time, I have a need to rapidly turn some on or off. It is acceptable to "miss" an interrupt due to it just be cleared rather than serviced, or wait until I re-enable to service it. We know our CPU is very consumed with interrupt processing under certain conditions, so we want to shut down less necessary ISRs to prevent lock-up.
For the HR/ECAP-based ones, I can do this without issue. I follow the procedure listed in section 1.7.3.1 of the TRM.
For the ADC-based ones (INT1 and INT2 both point to the same ISR), I run into issues with the processor occasionally locking up.
Is there a similar required disable procedure for the ADC interrupts, or any other possible ways to handle this cleanly? I still see the issue when I use the procedure from 1.7.3.1 on PIE 1.2. I'm assuming it's a bad ISR vector that's causing this due to some issue with the flow of the interrupt signal.
Thanks!