PSOC4 Proximity API issue?

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

cross mob
David_Zhang
Level 5
Level 5
Distributor - Arrow(GC)
First like received 50 sign-ins 25 sign-ins

  In Capsense V5.1 ,   uint32 CapSense_IsProximitySensorActive (uint32 widgetId, uint32 proxId), what's the return?

pastedImage_0.png

how Bit[1]=1 represent touched? or Bit[1]=0, what's it represent? and what's of bit[0] mean? please explain???

0 Likes
1 Solution
ShanmathiN_06
Employee
Employee
100 replies posted 50 replies posted 25 replies posted

Hi David,

There are two thresholds that can be set for proximity sensor: touch and proximity threshold.

Proximity threshold is defined as the level to detect an approaching hand/finger.

Touch threshold is defined as the level to detect a touch on the sensor (Touch threshold will always be greater than proximity threshold).

Bit[1] indicates if the signal/difference counts is above the touch threshold.

Bit[0] indicates if the signal/difference counts is above the proximity threshold.

You can refer to page 108 of http://www.cypress.com/file/420216/download (CapSense component datasheet: Sns status)

Thanks,

Shanmathi

View solution in original post

0 Likes
1 Reply
ShanmathiN_06
Employee
Employee
100 replies posted 50 replies posted 25 replies posted

Hi David,

There are two thresholds that can be set for proximity sensor: touch and proximity threshold.

Proximity threshold is defined as the level to detect an approaching hand/finger.

Touch threshold is defined as the level to detect a touch on the sensor (Touch threshold will always be greater than proximity threshold).

Bit[1] indicates if the signal/difference counts is above the touch threshold.

Bit[0] indicates if the signal/difference counts is above the proximity threshold.

You can refer to page 108 of http://www.cypress.com/file/420216/download (CapSense component datasheet: Sns status)

Thanks,

Shanmathi

0 Likes