Hi,
I have a clocking problem on a custom board which is equipped with TMS570LS3137 (i.e. TMX570LS3137PGE).
The input clock is not derived from a crystal oscillator, instead a 50MHz square wave clock is input into OSCIN pin (KELVIN_GND and OSCOUT are left unconnected).
When running the system initialization I am able to setup FMzPLL successfully (VALID bit in SYSREG1.CSVSTAT gets set for PLL1 clk source). But my program is actually not executed with the expected processor speed - it is much slower.
Debugging showed me that the OSCFAIL bit in SYSREG1.GBLSTAT is set after reset and before system init (PLL setup, etc.) is started. In ESM module the "clock monitor" error is also signalled. I guess this problem has something to do with clock detection/monitoring feature on OSCIN signal, the resulting frequency would then be the frequency of HF LPO clock source (which is indeed much slower than the desired one..). But trying to fix this problem, did not lead to any success yet.
Is there any recommendation how to initialize a system that uses a square wave clock on OSCIN input instead of crystal oscillator?
Thanks in advance for any advice!