Other Parts Discussed in Thread: SYSBIOS
I used DSP6657 to set up a timer with a period of 20 microseconds under SYS / BIOS and bare metal respectively. I performed GPIO output operation in the timer interrupt, and then observed the accuracy of the timer interrupt period with an oscilloscope. Under the timer interrupt, it will appear for a period of time, and suddenly a short period error at a certain moment, and then return to normal, but this will not happen under bare metal. The picture of the timer interrupt cycle oscilloscope under SYS / BIOS is shown in the figure below:
Due to engineering needs, SYS / BIOS must be used, so how should I solve this problem?
Thank you!