Other Parts Discussed in Thread: C2000WARE
Hello Experts
I am working on TMS320F28379D and exploring several peripherals. I am trying to acquire analog channels of different ADCs. I initialised all the 4 ADCs in burst mode and distinct channel is associated to the SOCs (ex: SOC0 to Ch0, SOC1 to Ch1 etc..). EPwm1is selected as the trigger source for all the SOCs of ADCs. But I see only ADC-D interupt sub routing (ISR) is being executed. Likewise, if 3 ADCs are initialized, only ADC-C ISR is being executed and so on. I observed that if any single ADC is initialised keeping other ADCs OFF, I could see the the corresponding ISR is being executed . The problem arises only when all are initialized.
In addition to this issue, i'd like to know how to enable the interrupt for ADC burst mode. Although in the above paragraph, I mentioned that ISR is being called, but I haven't enabled the interrupt for the BURST mode anywhere. In other words, for instance, if 5 SOCs are selected to get executed in burst mode for an ADC, how to generate an interupt upon completion of all the 5 SOCs. I guess the EOC-5 shall be selected as the source in the ADCINTSEL1N2 in the INT1SEL bit. Kindly confirm!
Regards,
Rajesh BN.