Your topic is very interesting and helpful !
I have currently a problem with false detection by temperature rising.
When I put my system (in operating mode) in the climatic enclosure, at the same time the temperature rise I also mesure the rawcount increase consequently until to switch ON => false detection (around 60°C).
I remarked also i am not using CSD_plus with autocalibration but only CSD module.
From the fact I am using a CY8C20347S, I could use autocalibration to solve or reduce the failure.
My system consist of 3 capacitive sensors used as proximity and each one has different setting (sensitivity).
But the question, is it possible to enabled autocalibration and control each setting without any changes over time ?
Does the autocalibration affect only the rawcount dynamically ?
Thank you by advance.
To solve your problem, you can use either of the two solutions:
- Call the UserModuleInstance_Start() API periodically in your firmware. This will ensure that CSD will auto-calibrate according to the new environment by itself.
- Select the Sensor Auto-reset feature in the component configuration. This will ensure that the raw count baseline follows the raw counts changing due to temperature variation.