Hello Omar,
Thank you for your reply.
In the picture, I uploaded. The yellow waveform is one gpio that I set to high when the priority 0 PWM interrupt is triggered. The PWM interrupt is set at 30k herz. It runs similar operations under similar clk cycle counts within a short time.
While the purple timer interrupt(lower priority) is triggered, the operation in the high interrupt (yellow) is delayed and needs a longer time to execute. Shown under red arrows.
There is also a chance the PWM interrupt interval is delayed. Shown in the green arrows

I am not very clear on why this happened. Do you have any suggestions?
Thank you.