Quantcast
Channel: MSP low-power microcontrollers
Viewing all articles
Browse latest Browse all 63698

Forum Post: RE: 64-Button Capacitive Touch with CapTIvate

$
0
0
Thank you for sharing your configuration file. First, I would recommend that you change the configuration so that you have 3 cycles of 4 measurements instead of 4 cycles of 3 measurements. This would mean using block 0 as an Rx. Second, you are not using all of the available GPIO so creating a WOT sensor is much simpler than in the case where one of the sensors consumes all 16 capTIvate IO. Once you have generated the code, then you will need to update the CAPT_App.c file to support the incorporation of the BTN00 sensor with the BTN01. Taken from the CapTIvate 64 button example: “ …. // Initialize Wake On Touch sensor structure, configure IOs for wake on touch, // calibrate for wake on touch mode, and update sensor to establish LTA MAP_CAPT_forceSensorIO(eSelf, &BTN00); CAPT_initSensor(&BTN01); CAPT_calibrateSensor(&BTN01); CAPT_updateSensor(&BTN01, LPM3_bits); …. // Initialize wake on touch structure, configure IOs for wake on touch MAP_CAPT_forceSensorIO(eSelf, &BTN00); CAPT_initSensor(&BTN01); CAPT_startWakeOnProxMode( &CAPT_WAKEONPROX_SENSOR, 0, g_uiApp.ui8WakeupInterval ); …. “ Let me know if you have additional questions and I will work with the team to provide a step-by-step process. Regards, Chris

Viewing all articles
Browse latest Browse all 63698

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>