Since it is Capsense generic Sensors , the rawcount could vary because of change in Cp.So could you check your sensor construction once,Having Gnd around will help improve stability. What about the temperature of the liquid/Sensor ?Is is cooling down?
You can try with the normal capsense sensors (use only scan sensors api and check the rawcount array) to compare with Generic sensors.
thank you for the help. The sensor array is provided with hatched ground and the liquid is of constant temperature. I forgot to say that there is no drift in idle mode. But if I change the overall capacity (filling a before empty cup or emptying a before full one), the new raw count value drifts in direction of the state before (which was stable after some time).
It seems a bit as if there an algorithm working in the background, trying to level out changes. Is it possible, that the "auto level" option of the CapSense component (which I do use) has this effect?
Do you mean sensor auto-reset?I think since the generic sensor just provides the rawcount it may not matter if auto reset is set or not.See
However the capacitance could very because of temperature ,whenever there is change in liquid(emptying /filling), there is change in liquid temperature and takes sensor temperature takes some time to catch-up.This might be the reason for the behavior you are observing.