Hi,
I am using 4 self capacitance for two Touch pad.
I designed and Create a source code from Capacitive Design Center with NONE COMMUNICATION INTERFACE
and Now I am trying to build Application with reference to this
But During Debugging I am encounter " No source available for 0x59e2" error and Code Stop
Please find details
WDTCTL = WDTPW | WDTHOLD;
PM5CTL0 &= ~LOCKLPM5;
// Step 4a:
CAPT_initUI(&g_uiApp);
CAPT_calibrateUI(&g_uiApp);
// Step 4b:
MAP_CAPT_selectTimerSource(CAPT_TIMER_SRC_ACLK);
MAP_CAPT_writeTimerCompRegister(CAPT_MS_TO_CYCLES(g_uiApp.ui16ActiveModeScanPeriod));
MAP_CAPT_startTimer();
MAP_CAPT_enableISR(CAPT_TIMER_INTERRUPT);
Uart0_init();
__bis_SR_register( GIE);
//==================================================
while(1)
{
if (g_bConvTimerFlag == true)
{
g_bConvTimerFlag = false;
CAPT_updateUI(&g_uiApp);
Button_check();
}
}
void Button_check()
{
if((BTN01.bSensorTouch == false)&& (BTN01.bSensorPrevTouch == true))
{
Uart_CHAR_Sent('A'); }
}
}