Hi
I'm just starting with the MCU's of TI and got some problems I wasn't able to solve.
First of all, I'm using a TMS320F28069 and designed my own Board for testing. It's basically just a copy of the Control Stick without the Debugger.
I'm able to connect to the Target with my XDS100v2 and start debugging. But for some reasons, when it reaches the InitSysCtrl(); it stops working as it should. First it stops at the following part:
void InitPll(Uint16 val, Uint16 divsel)
{
volatile Uint16 iVol;
// Make sure the PLL is not running in limp mode
if (SysCtrlRegs.PLLSTS.bit.MCLKSTS != 0)
{
EALLOW;
// OSCCLKSRC1 failure detected. PLL running in limp mode.
// Re-enable missing clock logic.
SysCtrlRegs.PLLSTS.bit.MCLKCLR = 1;
EDIS;
// Replace this line with a call to an appropriate
// SystemShutdown(); function.
__asm(" ESTOP0"); // Uncomment for debugging purposes <= HERE
}
I went through some datasheets and guides, but could only find out, that it get's into limp mode if the external OSC is not working as it should.
In my case I don't even have an external OSC and I'm just using the Internal osc 1. (Calling IntOsc1Sel() before).
Thanks for any reply
Fabian