1. When using the serial boot mode download boot, I can test to 32.768KHz square wave at the processor CLKO_PF15 pin .
2. I can test to 400M sine wave at the CLKO_PF15 pin from nand start in the first edition of the board, but test to high in the second edition of the board.
3. We blocked the following program in the bootloader, the processor can boot from NAND, but the frequency is wrong, the system is not working properly.
So I think the PLL is not working properly.
/* restart PLLs */
ldr r1, [r0, #(SOC_CRM_CSCR - SOC_CRM_BASE)]
orr r1, r1, #0x00080000
str r1, [r0, #(SOC_CRM_CSCR - SOC_CRM_BASE)]
SPLL_Not_Locked:
ldr r1, [r0, #(SOC_CRM_SPCTL1 - SOC_CRM_BASE)]
ands r1, r1, #0x8000
beq SPLL_Not_Locked
ldr r1, [r0, #(SOC_CRM_CSCR - SOC_CRM_BASE)]
orr r1, r1, #0x00040000
str r1, [r0, #(SOC_CRM_CSCR - SOC_CRM_BASE)]
MPLL_Not_Locked:
ldr r1, [r0, #(SOC_CRM_MPCTL1 - SOC_CRM_BASE)]
ands r1, r1, #0x8000
beq MPLL_Not_Locked /* reach here means MPLL is locked okay */
