Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob

Recommended Steps to Dynamically Update the CY22393 PLLs - KBA82654

Recommended Steps to Dynamically Update the CY22393 PLLs - KBA82654

Anonymous
Not applicable

Version: **

Translation - Japanese: CY22393 PLLを動的に更新するための推奨手順 - KBA82654 - Community Translated (JA)

Question:

What are the steps to dynamically update the PLL?

Answer:

Normally, the following following steps are recommended to dynamically update the PLL:

For PLL2 or PLL3:

  1. Disable the PLL by setting the PLL*_En bit LOW.
  2. Reprogram the P, Q, and PLL*_LF values.
  3. Enable the PLL by setting the PLL*_En bit HIGH.

For PLL1:
PLL1 is different from PLL2 and PLL3. It has a frequency table which is controlled by the S2, (S1, S0) pins. The SCLK/S1 and SDAT/S0 pins are latched inputs and depending on how they are held at power up, they will determine which table entries are accessible during operation. Normally, there are pull-ups on the I2C data and clock lines. With pull-ups on the SCLK/S1 and SDAT/S0 pins, during operation, a user can access the [011] and [111] table entries by toggling the S2 pin. When switching between table entries with the S2 pin, the clock outputs will slew to the new frequency without glitching when the output divider values are only changed, not the P and Q divider values.

For example, assume the user is using PLL1 table entry [011]. Then, toggling S2 HIGH will access [111].

  1. Because [011] is in current use, the user will edit the PLL values at address 55H-57H (Table entry for [111]).
  2. Once the address 55H-57H is configured, toggle the S2 pin HIGH to access the [111] entry and the new frequency.
  3. If another frequency change is required, change the PLL values at address 49H-4BH (Table entry for [011]).
  4. Once the address 49H-4BH is configured, toggle the S2 pin LOW to access the [011] entry and the new frequency.
0 Likes
279 Views
Contributors