- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
The Technical Reference Manual for pSoc6 mentions that pSoC6 has builtin hardware calibration counters. Thus high frequency clock could be used to accurately measure the low frequency clock. Where do i get further details for performing this calibration.
Regards,
Girish
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!