LPC546xx PLL

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC546xx PLL

650 Views
giannigrondona
Contributor III

Hi

I use a LPC54608 board and I don't understand how PLL values are decoded. For example to generate an output frequency of 180Mhz the M value is 30 but it is turned into a MDEC value. I don't understand the pseudocode written into user manual of microprocessor. From an M value of 30 the MDEC value  is 8192 but with pseudocode I get another value.

Someone could help me to understand?

Thank you

Labels (1)
Tags (1)
0 Kudos
1 Reply

356 Views
Alexis_A
NXP TechSupport
NXP TechSupport

Hi Giovanni Grondona,

I would suggest the easier way to know the M,N,P value is using PLL setting tool. In the MCUXpresso if click in this icon you can access to the MCUXpresso Clock config.

pastedImage_1.png

In the next image you can see the diferent modesof the MCU can run, two of them are from the PLL, one at 180 MHz and the other at 220MHz.

pastedImage_2.png

In case you need other frecuency, you can modify the values in the diagram for the ones you need.

pastedImage_4.png

Just make sure you unlock all the registers along the path by double clicking in the locked registers as shown.

Hope it helps.
Have a great day,
Alexis Andalon

0 Kudos