Part Number: TMS320F28069F
Other Parts Discussed in Thread: MSP430F5529
Tool/software: TI C/C++ Compiler
Hi,
Just found an issue with my application, upon inspection seems the compiler is doing something very strange.
Device is TMS320F28069F, Compiler is 16.9.1.LTS on CCSV 7.1.0.00016. -O = 2
Please note I have -O = 2. This is required for InstaSPIN.
So the code always evaluates this particular if statement as true:
For reference the enum values are:
EST_State_Idle = 0x01;
Est_State_MotorIdentified = 0x0C;
The variable sInstaSPIN.sStates.estState is located at 0x00008CB3 (which is 0x008C40 + 0x73)
I can set -O =0 and the application logic works correctly.
Any help would be great, thanks.
Stomp!
