Part Number: TMS320F28377S
Other Parts Discussed in Thread: C2000WARE
There is one unit that we use internal OSC2 as a clock source of the PLL and it seems the cannot locks when power on the unit.
The code that I think it is stuck at is in InitSysPll function at the while loop to check if the PLL is locked
while(ClkCfgRegs.SYSPLLSTS.bit.LOCKS != 1)
I use a C2000Ware 4.01 version.
But this issue is not occur when configure the unit using OSC1 as PLL clock source.
And I did not see the watchdog reset so I think the code is stuck at PLL lock not waiting when there is a clock diff which is checked after the PLL is locked already.
This issue is not occurs when using Jtag to do debugger reset. It seems works after do a reset using Jtag. The issue does appears only when power on the unit.
There are 2 questions I have.
1. Are there any workaround that I can follow to make PLL locked using OSC2? I think this should possible since I see debugreset can make the PLL lock using OSC2. (I have tried WD reset but after reset the PLL is not locked using OSC2)
2. Is it ok to use OSC1 instead of OSC2 since the OSC1 has no problem?
