Hi Sira It is strange that there is large cycle differences with --opt level 2 and --opt level off, but any way I will try a single sinf() calculation again to see the time cost. [quote userid="521036" url="~/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1483836/tms320f280039c-q1-cpu-cannot-finish-the-calculation-in-33-33us-interrupt-in-pfc-control/5731395#5731395"]Test result: 97485 timer0 cycles for 5120 sinf calculation with --opt level 2, (179456 with --opt level off)[/quote] Thanks Joe
↧