[an error occurred while processing this directive]
|
Существуют определенные ограничения на выходные частоты делителя D0 (PLLREF=12..100 МГц)и собственно PLL (PLLOUT=70..200/300 МГц). Вы подаете внешние 20 МГц на делитель и делите их на 5, т.е. на выходе будет 4 МГц, которые выходят за допустимые рамки для делителя. Даже если допустить, что они попадут на PLL, на выходе будет 4*10=40 Мгц, что тоже выходит за допустимые значения для умножителя.
Вот ссылка (документ sprs166g, p.56):
There is a specific minimum and maximum reference clock (PLLREF) and output clock (PLLOUT) for the block labeled "PLL" in Figure 3-12, as well as for the C55x Core clock (CLKOUT3), the Fast Peripherals clock (SYSCLK1), the Slow Peripherals clock (SYSCLK2), and the EMIF internal clock (SYSCLK3). The clock generator must not be configured to exceed any of these constraints (certain combinations of external clock input, internal dividers, and PLL multiply ratios might not be supported). See Table 3-11 for the PLL clock input and output frequency ranges.
И уберите PLL_FSET(PLLCSR, PLLEN, 0x1); перед проверкой LOCK. А то получается PLL еще не захватился, а вы его уже разрешили.
E-mail: info@telesys.ru