4 Replies Latest reply on Sep 13, 2018 1:57 PM by JeHu_3414236

    Change capsense polling period


      I am using SmartSense full auto-tune and I would like to change the polling rate to save power if there is no activity for a long time.  Is there an example code for this?  I tried calling CapSense_1_ScanAllWidgets() after a delay after I called CapSense_1_ProcessAllWidgets() but the processor seems to wake up immediately after I enter sleep.  Do I need to disable/clear capsense interrupts?  I tried this but it didn't have any effect:


      CY_SET_REG32(CapSense_1_CSD_INTR_PTR, CapSense_1_CSD_INTR_ALL_MSK);