Timer management in a BLE connection

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

Timer management in a BLE connection

1,356 次查看
nidhintomy
Contributor IV

I have 2 questions related to TimerManager in kw38 ble sample app 'frdmkw38_adv_ext_peripheral_bm'.

1. Sample example uses 'TMR_StartLowPowerTimer' API. What is the context of LowPower in this API name?

2. gTmrApplicationTimers_c flag is defined and set its value to 4 in app_preinclude.h file. Can i change value of this flag? If yes, what is the maximum limit?

Best Regards,
Nidhin

 

标签 (1)
  • KW

0 项奖励
回复
1 回复

1,339 次查看
EduardoZamora
NXP TechSupport
NXP TechSupport

Hello,

According to the Connectivity Framework Reference Manual (inside KW38 docs folder > docs > wireless > common), TMR_StartLowPowerTimer starts a low-power timer which can operate across all power modes, including low-leakage modes. This timer is necessary because MCU can enter low-power mode if there are only active low-power timers.

Taking a look at TimersManager.h, valid range for gTmrApplicationTimers_c macro should be user defined depending on the timers needed by the application.

Regards,
Eduardo.

0 项奖励
回复