This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28335: ADC ISR

Part Number: TMS320F28335
Other Parts Discussed in Thread: C2000WARE

Hi team,

May I check with you which document should we refer to if we want to know how C-2000 control cad ADC ISR register is being set up?

I would like to know the ADC ISR cycle can go for maximum how fast and other information as well.

Many thanks.

  • Ernest,

    The device TRM should explain how the registers are set up; https://www.ti.com/lit/pdf/sprui07 you can also look at the ADC SW examples in C2000Ware C:\ti\c2000\C2000Ware_5_00_00_00\device_support\f2833x\examples for some code examples.

    For cycle counts, it will be simpler to use the profile clock in CCS to count CPU cycles of the code of interest( Run->Clock, then enable/show).  You can set breakpoints before/after the ISR to see how long things take.

    Also keep in mind that we have DMA on this device, that can be triggered from the ADC INT to transfer the ADC results to memory in parallel with CPU execution if there is a concern on the ADC ISR taking too long.

    Best,

    Matthew