kw36 - How to adjust 32MHz external oscillator in SDK_2_2_9_FRDM-KW36?

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

kw36 - How to adjust 32MHz external oscillator in SDK_2_2_9_FRDM-KW36?

1,980 Views
jictannu
Contributor III

In SDK_2_2_9_FRDM-KW36, I adjust mXtalTrimDefault does not work and found that the XCVR_SetXtalTrim is no longer called。

in SDK_2.2.3_FRDM-KW36 Ble_RadioInit:

jictannu_0-1641547377813.png

in SDK_2_2_9_FRDM-KW36 Ble_RadioInit:

jictannu_1-1641547429872.png

 

 

 

Labels (1)
0 Kudos
Reply
5 Replies

1,911 Views
Ricardo_Zamora
NXP TechSupport
NXP TechSupport

Hi,

 

Hope you are doing well. You can use the same API (xcvrStatus_t XCVR_SetXtalTrim(uint8_t xtalTrim);).

This function is part of the Customer level trim functions.

 

Best Regards,

Ricardo

1,889 Views
jictannu
Contributor III

Hi, Ricardo

But now that XCVR_SetXtalTrim is no longer used in SDK_2_2_9_FRDM-KW36, does it mean that mXtalTrimDefault is no longer useful?

0 Kudos
Reply

1,860 Views
Ricardo_Zamora
NXP TechSupport
NXP TechSupport

Hi,

 

It is not used in the Ble_RadioInit function, but still the XCVR_SetXtalTrim function can be used.

Do you have a problem using it?

 

Regards,

Ricardo

0 Kudos
Reply

1,846 Views
jictannu
Contributor III
Hi, Ricardo
Then mXtalTrimDefault is not actually used in SDK_2_2_9_FRDM-KW36. In this case, how to adjust the external oscillator of 32MHz in SDK_2_2_9_FRDM-KW36?
0 Kudos
Reply

1,797 Views
Ricardo_Zamora
NXP TechSupport
NXP TechSupport

Hi,

 

You can use the (void)XCVR_SetXtalTrim( (uint8_t)gHardwareParameters.xtalTrim ); in the same way as in the older version.

If this function is not used (like in 2.2.9), the XtalTrim value is 75.

 

Regards,

Ricardo

0 Kudos
Reply