parasitic capacitance

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
yangyong
Level 5
Level 5
Distributor - Jingchuan(GC)
5 comments on blog First comment on blog 50 questions asked

Measure the self capacitance of sensor electrode using measure_sensor_cp().   What is the unit for calculating capacitance results?

0 Likes
1 Solution
PandaS
Moderator
Moderator
Moderator
250 replies posted 100 solutions authored 5 likes given

Hi @yangyong ,

The measure_sensor_cp() is a user defined function which in turn calls the following api:

Cy_CapSense_MeasureCapacitanceSensor();

Wherein the parameters are:

uint32_t  widgetId,
    uint32_t  sensorId,
    uint32_t *  ptrValue,
    cy_stc_capsense_context_t  context 

 

The measured parasitic capacitance is stored in address of ptrValue. The unit of measurement is fF(femtofarads).

Thanks and Regards

Sobhit

View solution in original post

0 Likes
1 Reply
PandaS
Moderator
Moderator
Moderator
250 replies posted 100 solutions authored 5 likes given

Hi @yangyong ,

The measure_sensor_cp() is a user defined function which in turn calls the following api:

Cy_CapSense_MeasureCapacitanceSensor();

Wherein the parameters are:

uint32_t  widgetId,
    uint32_t  sensorId,
    uint32_t *  ptrValue,
    cy_stc_capsense_context_t  context 

 

The measured parasitic capacitance is stored in address of ptrValue. The unit of measurement is fF(femtofarads).

Thanks and Regards

Sobhit

0 Likes