This content has been marked as final.
Show 1 reply
-
1. Re: Clock Calibration Counters
LinglingG_46 Nov 22, 2018 6:42 PM (in response to vaidyab_3601531)Girish,
You can open a creator project, and search the API : Cy_SysClk_StartClkMeasurementCounters
cy_en_sysclk_status_t Cy_SysClk_StartClkMeasurementCounters(cy_en_meas_clks_t clock1, uint32_t count1, cy_en_meas_clks_t clock2)
Then you can read the API description. The API description tells us how to do it.
1: call the below API first:
cy_en_sysclk_status_t Cy_SysClk_StartClkMeasurementCounters(cy_en_meas_clks_t clock1, uint32_t count1, cy_en_meas_clks_t clock2)
2: call the below API second:
Cy_SysClk_ClkMeasurementCountersDone()
3: call the below API third:
Cy_SysClk_ClkMeasurementCountersGetFreq()
Read the Function introduction carefully, then you can know how to do it simply.
Hope it can be helpful for you!