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.

Interrup Time @ tms320f28335

Other Parts Discussed in Thread: TMS320F28335

Hi Together,

 

does somebody know how long the tms320f28335 needs to jump into an interrupt and back to the program at a frequence of 150Mhz - and: are there any options to optimate this time ?

 

Regards Heiko

  • Heiko Ruth said:

     

    does somebody know how long the tms320f28335 needs to jump into an interrupt and back to the program at a frequence of 150Mhz - and: are there any options to optimate this time ?

     

    Heiko,

    Please see the Interrupt Response and Latency information in section 4 of the 2833x multi-day workshp material:

    http://processors.wiki.ti.com/index.php/C2000_Archived_Workshops

    -Lori

     

     

  • Heiko,

    the interrupt latency (time between signal and 1st instruction of the corresponding ISR) is 14 to 16 cycles ( 6.667 ns). If you write your ISR in C, the compiler will place some additional register savings (approx. 6 cylcles) at the beginning of the ISR.  To return from an ISR, the assembly instruction" IRET" takes 7 cycles and in case of a C-code the ISR context restore will take some additional 6 cycles.

    Summary: To jump in and out of an ISR takes approx. 35 cycles. The only solution which I know of to minimize these cycles is to write the ISR purely in assembly (the hard way)

    Regards