Hi AndongSun, Good that you resolved the Illegal Interrupt problem. And also your other question regarding the ECAP input. Like I mentioned in my earlier post, the ADCISR interrupt is interrupted by the Timer0ISR because of the hardware prioritization scheme in TMS320F280049 and the fact that at any point of time, you have ADCCISR and the Timer0ISR is pending at the CPU boundary at the same time. To get away with this problem, you can configure and use ADCC1 interrupt. This particular ADC interrupt comes under the same group and the Timer ISR cannot prevent the already running ADCC1 interrupt. This should work for you. Hope this answered all your questions. Please click on the “Verified Answer” button if this is the case. Thanks & Regards Pramod P
↧