Documentation of oscillator cap bits on LPC55sxx

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

Documentation of oscillator cap bits on LPC55sxx

146 Views
apines
Contributor II

Bits 21:8 of "32 KHz Crystal oscillator (XTAL) control register" and "High-speed crystal oscillator control register (XO32M_CTRL)" are used to set the internal crystal oscillator capacitors.  The data sheet doesn't describe what these bits mean and assumes that the user will just call the SDK function.  Not everyone uses the SDK; we need to be able to write these directly.  We can try to divine it from the SDK's functions (POWER_Xtal32khzCapabankTrim and POWER_Xtal16mhzCapabankTrim) but it would be better if it were actually documented somewhere.  Is it, and we're just missing it?  Otherwise, could someone explain how these bits are actually used?

Also, the app note (AN13057) in table 1 in section 5.1 calls out these functions as POWER_Xtal16mhzCapbankTrim and POWER_Xtal32mhzCapbankTrim, both of which are wrong.

0 Kudos
Reply
3 Replies

119 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @apines 

Please refer to User Manual of the chip you are using.

For example LPC55s69, we can find the definitions for the two registers:

Alice_Yang_0-1734401213663.png

Alice_Yang_1-1734401224494.png

Alice_Yang_2-1734401252262.png

Alice_Yang_3-1734401266752.png

 

BR

Alice

 

 

 

 

 

0 Kudos
Reply

99 Views
apines
Contributor II

This doesn't answer the question and highlights my complaint.  "Capabank setting input" and "Capabank setting output" doesn't give any insight into what's supposed to be written here.

You even included the quote which is my principal objection: "The values written to this register should not be changed.  These registers are handled by the SDK power library."

Not everyone uses the SDK.  What I'm looking for is a detailed description of exactly what these bits mean.  The documentation on this part appears to be lacking.

0 Kudos
Reply

86 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @apines 

Thanks for your clarify. 

I have confirmed with our internal, as UM mentioned, these registers only can be handled by SDK power library. Maybe break the chip if you directly change register. So I highly recommend you use the SDK power library to config. Sorry for the inconvenient to you. Thanks. 

BR

Alice

0 Kudos
Reply