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

cross mob

Controlling Digital Outputs of CapSense® Express (CY8C201xxx) Devices - KBA82461

Controlling Digital Outputs of CapSense® Express (CY8C201xxx) Devices - KBA82461

pushekm_21
Employee
Employee
10 likes received 5 likes given First like received
Version: **

 

Question: Can you control the status of a digital output if it is controlled by a CapSense input?

 

Answer:

Yes, it is possible to control the status of a digital output using I2C host control. The host must write the desired output value to the corresponding bit of the OUTPUT_PORTx register, and then write a "0" to the digital output’s Op_En bit of the OP_SEL_x register. To return to normal operation with the CapSense input controlling the digital output, the host must write a "1" to the digital output’s Op_En bit of the OP_SEL_x register. 

0 Likes
307 Views
Contributors