- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Sirs and Madams,
We are considering CapSense for PSoC4S.
However, changes in ambient temperature may cause the Raw count to exceed full scale.
We talked about the problem in the following communities.
Therefore, we started to consider reducing the Imod setting value from 85% to 60%.
Of course, to avoid flat spots, the clock uses PRS.
CapSense_Start
CapSense_ScanAllWidgets
CapSense_CSDCalibrateWidget
In the above order, it seems that the calibration position change is not processed as desired.
If you have a recommended processing procedure, please let me know.
Regards,
Solved! Go to Solution.
- Labels:
-
PSoC 4 MCU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @MaMi_1205306 san,
(1) Yes, you may use CapSense_CSDCalibrateWidget API to change the IMOD settings.
(2) CapSense_CSDCalibrateWidget API is one way to do it. Another way would be the expression view for advanced tab in CapSense component.
To do this follow the steps given below:
- In PSoC Creator, go to Tools -> Options.
- Go to Design entry -> component catalog and check the checkbox for "enable param edit views". Apply the changes.
- Go to CapSense component, double click to open the configurator. Right click on the Advanced tab and select "Show expression view"
- Change the value of CsdRawCountCalibrationLevel to the desired value.
(3) The API order is as follows:
- When you are using the CapSense_CSDCalibrateWidget API:
- CapSense_Start
- CapSense_CSDCalibrateWidget
- CapSense_InitializeWidgetBaseline
- CapSense_ScanAllWidgets
- When you change CsdRawCountCalibrationLevel value in the expression view:
- CapSense_Start
- CapSense_ScanAllWidgets
Regards,
Nikhil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @MaMi_1205306 san,
(1) Yes, you may use CapSense_CSDCalibrateWidget API to change the IMOD settings.
(2) CapSense_CSDCalibrateWidget API is one way to do it. Another way would be the expression view for advanced tab in CapSense component.
To do this follow the steps given below:
- In PSoC Creator, go to Tools -> Options.
- Go to Design entry -> component catalog and check the checkbox for "enable param edit views". Apply the changes.
- Go to CapSense component, double click to open the configurator. Right click on the Advanced tab and select "Show expression view"
- Change the value of CsdRawCountCalibrationLevel to the desired value.
(3) The API order is as follows:
- When you are using the CapSense_CSDCalibrateWidget API:
- CapSense_Start
- CapSense_CSDCalibrateWidget
- CapSense_InitializeWidgetBaseline
- CapSense_ScanAllWidgets
- When you change CsdRawCountCalibrationLevel value in the expression view:
- CapSense_Start
- CapSense_ScanAllWidgets
Regards,
Nikhil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nikhil-san,
I appreciate you answering my questions.
We are considering changing the Imod settings corresponding to the temperature by checking the temperature when PSoC is started.
Therefore, I understand that the only way is to use this CapSense_CSDCalibrateWidget API.
Regars,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @MaMi_1205306,
Glad your query is resolved.
Please feel free to post any queries or issues you may have on Infineon products in the community and the community will be happy to help.
Regards,
Nikhil