1 of 1 people found this helpful
Refer to AN85951.
Rawcount is not only decided by parameters shown in the component configuration GUI, but also related with some system parameters, such Cs, Vref.
BTW. May I know the reason, why would you like to tune the rawcount from 0 to full scale? The rawcount should stay at a stable level with no touch.
Thanks for your reply,
In your captured text, it says if
I_COMP > Vref * Cs* Fsw
then the raw count will be zero.
However, when I keep increasing I_COMP, the raw count is not zero but it is saturated with a certain value. Usually, the saturated values from different Modulator & Sensor clock frequency were around powers of 2 (i.e. 512, 1024, 2048...).
So I suspect that the initialization API would set some lower limit of the raw sensor count. But I could not find it yet.
Does anyone have an idea where such lower bound or saturated minimum raw count from?
There is no limit for raw count. The raw count is converted from scanning on sensor. In other words, if parameters configuration are not suitable, hardware scanning may be not correct which will cause Initialization failed and lead to a saturated raw count value.
However, I still don't know why you'd like to get a 0 value for raw count. Could you let us know which kind of application and product you are developing? we would provide more comments on your questions if we knew it.