You can refer to the following code example that shows you how to measure raw counts in firmware using PSoC 1. The same algorithm can be ported to PSoC 5 as well.
I've attached a sample project that does the same in PSoC 5 device.
Substituting the values Vref,resolution(N) and switching frequency(fs) the number 100663 is obtained and the initial idac value for both the sensors is 190uA, and hence the value 190 used.
The Raw Count obtained after every scan of a sensor is divided by the uSensitivity calculated initially that gives the sensor absolute capacitance
Please let us know in case you need further help.
It is also recommended to use LCR meter to measure the capacitance of the sensor.
example.cyprj.Archive01.zip 834.9 K