Why do you want to only get the rawcount? Or can you tell us why do you care the rawcount drift?
I think in some environment, the rawcount drift is normal. Capsense use the "rawcount - baseline" to decide whether the sensor has been trigger.
I think you should try to read the diff count.
My first attempt is get the proximity status from sensor by reading the register, however no matter what configurations I chosed, the output always not as good as expected.
Then I read the rawcounts and designed my own algorithm to determine the baseline, calculate the ‘raw - baseline' and determine the proximity status . I did apply a certain level of differentiation, filters to distinguished different hand's movement, the output is much better.
However the rawcount is drifting, if I can fixed it, I will be able to generate the much better software for my application.
Any inputs will be appreciated.