Hi
I was a bit confused as to the clock frequency of a 28069 Piccolo chip. It is a 90MHz processor, and just to test I wrote this little function to check the clock frequency on pin 50:
void XCLKOUTon50()
{
// This function simply sets pin 50 to XCLKOUT, which is useful for testing only
// ***************
EALLOW; // This is needed to write to EALLOW protected registers
GpioCtrlRegs.GPAMUX2.bit.GPIO18 = 3; // GPIO18 = XCLKOUT
SysCtrlRegs.XCLK.bit.XCLKOUTDIV=2; // XCLKOUT = SYSCLKOUT
EDIS; // This is needed to disable write to EALLOW protected registers
}
When I start the programme with SYS_init() from Biricha, I get a nice 90MHz signal on pin 50. But when I use the InitSysCtrl() from TI, I get 100MHz. I have DSP28_PLLCR = 10, and DSP28_DIVSEL = 3.
What am I missing here?