Part Number: TMS320F28075
Hi Expert,
My customer face an issue that below calculation is sometimes wrong.
Itemp is local variable and should be always equal to 600000, but sometimes the value is wrong and become 0.

i32Debug3 save the value when there is wrong, i32Debug3[2], i32Debug3[4], i32Debug3[6] log the value when there is wrong.

There are also have some interrupt function in the code like PWM ISR and timer ISR. if disable the interrupt or add protection for that code, then everything is ok.
Customer use the latest compiler TI v22.6.0 and optimization level is off, Any suggestion for this issue?