Part Number: CC2642R
Tool/software:
Hi Sir,
I use the SDK Version:simplelink_cc13x2_26x2_sdk_5_10_00_48.
I use the simple_peripheral example, and call the following two API functions on GAP_EVT_ADV_END case :
OSCHF_DebugGetCrystalStartupTime() and OSCHF_DebugGetCrystalAmplitude() API functions,but the values are both 0.
I tried other methods as follows:
(1)Execute the OSCHF_DebugGetCrystalStartupTime() in main() ,can get value.
(2)Execute the OSCHF_DebugGetCrystalAmplitude() in SimplePeripheral_taskFxn(), can get value.
But can't get those values on GAP_EVT_ADV_END case.
Is there an execution limit for the OSCHF_DebugGetCrystalStartupTime() and OSCHF_DebugGetCrystalAmplitude() API functions?
Is it possible to call these two functions after the advertisement end?
Thank you.