1:
Enable BIST feature in CapSense- Configurator, add code "Cy_CapSense_RunSelfTest(CY_CAPSENSE_ BIST_SNS_CAP_MASK, &cy_capsense_context)" in main.c after initialize_capsense() to enable sensor cp measurement.
2:
Run Tuner, cp&cm of each sensor is showed in Tuner.
initialize_capsense();
Cy_CapSense_RunSelfTest(CY_CAPSENSE_BIST_SNS_CAP_MASK, &cy_capsense_context);
3:
得到sensor的寄生电容,可以方便后期的调试。
|