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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

1,378 次查看
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

 

 

 

标签 (1)
0 项奖励
5 回复数

1,309 次查看
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,287 次查看
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 项奖励

1,258 次查看
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 项奖励

1,244 次查看
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 项奖励

1,195 次查看
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 项奖励