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.

TMS320F28P650SK: Cold boot Port toggle speed different from CCS PLL debug speed.

Part Number: TMS320F28P650SK
Other Parts Discussed in Thread: LAUNCHXL-F28P65X

Tool/software:

Hi guys, I'm have a serious problem with port toggle speed. I'm using CCS 20.2.0 with iMac OS 10.15.7.

I have written a small assembler program toggling the full 32bit PORT A pins. I've set the PLL to 55Mhz. The PLL clock source is IntOsc2. I've enabled the XCLKOUT pin so I can read the CPU speed with my scope.

Here's the problem. 

When I debug my assembler program in CCS 20.2.0 the program runs. The CPU speed reads at 55.5Mhz and PORTA toggle speed reads at 2.2Mhz. Ok, I'm happy with that.

Now when I power off my stand alone board and then power it back on to see if codestart is actually working this is the read outs I get.

CPU speed is 55.5Mhz which is correct and PORTA toggle speed is only 31.4Khz. What happened to PORTA toggle speed?

It's exactly the same code  when I run it in CCS20.2.0.

What I need is when I debug and then power off then power on I need it to be the same speed every time.

Please let me know if I need to setup some other registers to fix the PORTA toggling speed problem.

Thanks guys, hope to hear from you soon.

Pete :)