Hello all,
I'm programming a TMS320F28234 with CCSv4.1.2.00027. Now I got the following error:
The assignment x = y >> z; has a wrong result. If I set a breakpoint at the concerning line and add (y >> z) to the watch window, the correct result for (y >> z) is shown. But after executing the assignment, x has a random value. All variables have integer type. z is not a constant. Replacing the shift operation by an addition or multiplication produces correct results. The operation is executed within the pwm isr.
Is there any workaround? Thanks in advance.
Regards,
Michael