This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28030 GPIO CHANGES STATE DURING DEBUG SINGLE STEPPING

Other Parts Discussed in Thread: TMS320F28035

I notice in Debug mode that when I step through certain IQ math statements a GPIO pin is reset to 0 (GPIO8).   We would not even have know about this 9except a relay is attached to GPIO8 and we can hear the relay click off.

Single stepping through this statement for instance will set GPIO8 low.

temp = _IQ18(ac_peak_avg);        // temp is type _iq18, ac_peak_avg is type long.

Has anyone ever heard of anything like this?    Totally repeatable.  Happens every time. 

If I single step through the Assembly code instead I don't see the pin become reset only single stepping at the C level makes it happen.    It does not appear to happen in normal run mode (that we know of).

CCS Version: 6.1.2.00015   TMS320F28035.