How to disable shield electrode thru firmware? (CY8C21534B) | Cypress Semiconductor
How to disable shield electrode thru firmware? (CY8C21534B)
I'm designing a capsense application with shield electrode implemented for CY8C21534B.
I saw in one of the documentation saying that it is recommended to "drive the shield only during a scan, additional code in the firmware is needed". Will someone help to share with me the code that was meant for this function?
I'm guessing it is the CSD_DisableSensor function... but need comfirmation or other option (if any).
Disables the sensor selected by the CSD_wGetPortPin() function. The drive mode is changed to
Strong (001). This effectively grounds the sensor. The connection from the port pin to the Analog-
MuxBus is turned off. The function parameters are returned by CSD_wGetPortPin() function.