По поводу CLKOUT120, CLKOUT240 и CLKOUT - это тот же клок, просто сдвинут по фазе?
Еще вопрос.
Из мануала к LPC24xx
Цитата
The PLL output frequency (when the PLL is both active and connected) is given by:
FCCO = (2 x M x FIN) / N
Все просто и понятно. Зная частоту PLL, зная входную, подбираем коэффициенты
Теперь мануал к LPC292x
Цитата
In normal mode the post-divider is enabled and the following relations are verified:
Fclkout = MDIV x Fclkin = Fcco / 2xPDIV
Values of the dividers are chosen with the following process:
1. Specify the input clock frequency Fclkin
2. Calculate M to obtain the desired output frequency Fclkout with M = Fclkout / Fclkin
3. Find a value for P so that Fcco = 2xP / Fclkout
4. Verify that all frequencies and divider values conform to the limits
In direct mode, the following relations are verified:
Fclkout = M x Fclkin = Fcco
С MDIV понятно. А вот с PDIV получается заковырка, или я чего-то не догоняю. Получается, что Fclkout и Fcco - разные вещи (кстати, и формула в п.3 странная, возможно, правильная Fclkout = Fcco / 2xP ?)
Хорошо, я знаю, что хочу получить на выходе (Fclkout), но как тогда рассчитать Fcco?