Part Number: TMS320F28375D
Tool/software: Code Composer Studio
What is the difference in processing time between the main routine and interrupt processing?
[environment]
・ TMS320F28375D
・ CCS8.1.0.00011
[Current status]
InitSysCtrl not changed. should be running at 200Mhz.
The following processing is executed in the PWM interrupt processing.
GpioDataRegs.GPBSET.bit.GPIO58 = 1;
i ++;
i ++;
i ++;
GpioDataRegs.GPBCLEAR.bit.GPIO58 = 1;
When checking the above GPIO with an oscilloscope, it takes 90nsec.
If you copy and check the above processing to the main routine, the processing time will be changed to 70nsec.
[Question]
1. Why is the processing time different between the main routine and interrupt processing?
2. Why is the expected value not 15nsec?
Thanks and regards.