1. When the recommended crystal oscillator is changed to 12M or 16M,Are they(R5 R7 R6 C5 C6 ) still the values in the picture?
3.Is there anything wrong with the configuration? What went wrong with the program?Procedure is as follows:
Solved! Go to Solution.
Hi, HZ Zhang,
First of all, regarding the C5/C6/R6, I think it is dependent on the crystal manufacturer specs, anyway, I think they are required. For the R5/R7, I do not think they are required.
I attach the OCCS module diagram, if the external crystal is 12MHz, the OCCS_DIVBY=0x2113, PLLDB=0x13, COD =0x01
the Fpll frequency=12MHz*(0x13+1)=12*20=240MHz.
Fpll/2 frequency is 120MHz.
SYS_CLK_2x=120MHz/(COD+1)=60MHz.
The SYS_CLK=SYS_CLK_2x/2=30MHz.
so the above configuration is correct.
Hope it can help you
BR
XiangJun rong
Hi, HZ Zhang,
First of all, regarding the C5/C6/R6, I think it is dependent on the crystal manufacturer specs, anyway, I think they are required. For the R5/R7, I do not think they are required.
I attach the OCCS module diagram, if the external crystal is 12MHz, the OCCS_DIVBY=0x2113, PLLDB=0x13, COD =0x01
the Fpll frequency=12MHz*(0x13+1)=12*20=240MHz.
Fpll/2 frequency is 120MHz.
SYS_CLK_2x=120MHz/(COD+1)=60MHz.
The SYS_CLK=SYS_CLK_2x/2=30MHz.
so the above configuration is correct.
Hope it can help you
BR
XiangJun rong