Hello TI staff,
I contact you after several debugging days with the PLL.
On my board ARM CPU is to be run at 270MHz on PLL2 and DDR at 216MHz on PLL1.
I try to run a GEL script before going to UBL coding. I use CCS4 and a XDS100v2 JTAG connector.
First of all I try to use the gel files I found on evm365 and there were errors set in this file. It may be adapted for a first version of DM365 or strangely to a DM355 since some registers were badly mapped, some bits were not existing in the DM365 etc... moreover the PLL setup procedure was wrong or incomplete.
I had also to change the XDS100v2 JTAG timeout to very slow to avoid error messages.
So I took an IPNC gel files which i modified, because there was no OnTarget function. And I added missing parts.
I set the device so that the CLKOUT2 is output on GIO31, for this I set the PINMUX4 register and also the PERI_CLKCTL register to enable the clockout.
My goal was to output this clock2 which is identical to the AEMIF one (in DIV parameters) because I had problems with my NAND. I wanted to verify that the clock out the PLL but before the SYSCLKx dividers was set properly to 432MHz.
The problem is that I cannot see anything on my pin and I am stuck (doubt) with the idea that no clock is working at all and that I cannot verify it.
I tried to print the content of status registers to check and in DCHANGE registers there was 0 on all bits meaning no change had taken part. Maybe it can be a clue to the solution. But at this point I am sure of nothing.
Thank you for your help.