- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
According to the history of CapSense component Ver7, version 7 is not compatible with the previous version.
Please tell me the API changed from version 6 specifically.
Component Changes
”This version is not backward compatible with the previous version. We tried to keep the established API, but your design may need to be updated to operate with v7.0.”
Best Regards,
Naoaki Morimoto
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello NaMo_1534561
As mentioned previously, BIST was redesigned for improved performance and reliability.
The following functions were added:
cystatus CapSense_SetupWidgetExt(uint32 widgetId, uint32 sensorId)
cystatus CapSense_ScanExt(void)
uint32_t CapSense_SetInactiveElectrodeState(CapSense_OPERATION_MODE_ENUM mode, uint32_t state)
The return type of CapSense_CSXCalibrateWidget(uint32 widgetId, uint16 target) was changed from void to cystatus.
A few functions are marked as deprecated but not removed. You can still use these functions but it is recommended to move to the new function. These functions have the following text in as note in description: This function is obsolete and kept for backward compatibility only. The <corresponding new function> function should be used instead.
Thanks,
Hari
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello NaMo_1534561
Most of the APIs are backwards compatible. The note is regarding BIST APIs. All BIST APIs are modified in CapSense V7.0 component to include CapSense_TST_MEASUREMENT_STATUS_ENUM * measurementStatusPtr as a parameter to return the status of measurement.
This includes returning information such as CapSense_TST_MEASUREMENT_SUCCESS, CapSense_TST_MEASUREMENT_LOW_LIMIT etc.
Thanks,
Hari
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Hari-san,
Thank you for your reply. I understand that BIST has many changes.
Also, I found the following description in the component datasheet ver7.
void CapSense_CSDScanExt (void)
void CapSense_CSDSetupWidgetExt (uint32 widgetId, uint32 sensorId)
This function is obsolete and kept for backward compatibility only. The CapSense_ScanExt() and CapSense_SetupWidgetExt() function should be used instead.
This is also true for CSX.
I would like to provide a complete list of changes.
Best Regards,
Naoaki Morimoto
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello NaMo_1534561
As mentioned previously, BIST was redesigned for improved performance and reliability.
The following functions were added:
cystatus CapSense_SetupWidgetExt(uint32 widgetId, uint32 sensorId)
cystatus CapSense_ScanExt(void)
uint32_t CapSense_SetInactiveElectrodeState(CapSense_OPERATION_MODE_ENUM mode, uint32_t state)
The return type of CapSense_CSXCalibrateWidget(uint32 widgetId, uint16 target) was changed from void to cystatus.
A few functions are marked as deprecated but not removed. You can still use these functions but it is recommended to move to the new function. These functions have the following text in as note in description: This function is obsolete and kept for backward compatibility only. The <corresponding new function> function should be used instead.
Thanks,
Hari
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hari-san,
Thank you for the answer.
Please close this case.
Best Regards,
Naoaki Morimoto