I'm using the f28027 controlCARD on the experimenter's kit with a strange issue.
I've written a PID program, and we can easily tune the gains using the watch window. When we're satisfied with the gains, I initialize the constants and run the program again in emulation with the same results.
However, when I switch from USB to external power on the experimenter's kit to run the program in standalone mode, the PID behaves differently. At first, I thought the emulation mode might have been slowing it down, but I've observed a digital output pin that is used for a square wave output (not an ePWM, but software controlled frequency) and this output is the same frequency in both cased.
For proportional control only, my system goes unstable for Kp gains over 270 when connected to CCS by USB. But in standalone mode the Kp value to cause instability is closer to 430! It's quite a difference. I believe all breakpoints are removed, though sometimes I get errors when toggling them.
Is there some normal difference between running in standalone mode vs. CCS that is causing this? Or is my CCS install possibly corrupted?