It is my first C2000 project.
I have Docking-Stn + F28069 card.
I load project Example_2806xGpioSetup. I add to the end of main
while( 1 )
{
GpioDataRegs.GPATOGGLE.bit.GPIO6 = 1;
GpioDataRegs.GPATOGGLE.bit.GPIO7 = 1;
GpioDataRegs.GPATOGGLE.bit.GPIO8 = 1;
GpioDataRegs.GPATOGGLE.bit.GPIO9 = 1;
}
and obtained meander on GPIO6 that is good.
I change in function InitSysCtrl call from IntOsc1Sel to XtalOscSel and program work.
Parameters of PLL (InitPll(DSP28_PLLCR,DSP28_DIVSEL);) is 9 and 2 and xtall on board is 20 MHz. System clock 20 * 9 / 2 = 90 MHz.
On oscillocsope I see time between switches about 480 ns. In debugger I see that circle of my code is 6 asembler commands. Thus time of execution of one command is 80 ns. Is it correct or where I mistake?