This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/MSP430FR2633: CCS MSP430FR2633 CapTIvate Program Stuck

Part Number: MSP430FR2633


Tool/software: Code Composer Studio

Hello,

Nowdays i am developing a new based CapTIvate System and i am dealing with exactly the same problem.

My program includes only a MAP_CAPT_registerCallback function and nothing else.

The program stuck inside the function CAPT_MANAGER_CALIBRATE_SENSOR(pApp->pSensorList[ui8SensorID]) and it is reported as "Break at address".

Also, sometimes the program stuck inside the function CAPT_appSleep(void) like i have placed a breakpoint inside it. (The notification is MSP430 - Debug Call Stack).

What exactly is causing this problem?

When i am using a delay function under the CAPT_appStart(), the issue is solved. (I think that is a temporary solution and not the suggested as well the right one).

I am posting the main function.

oid main(void)
{
//
// Initialize the MCU
// BSP_configureMCU() sets up the device IO and clocking
// The global interrupt enable is set to allow peripherals
// to wake the MCU.
//
WDTCTL = WDTPW | WDTHOLD;
BSP_configureMCU();
__bis_SR_register(GIE);


//
// Start the CapTIvate application
//

MAP_CAPT_registerCallback(&electrode,&electrodeCallback);
CAPT_appStart();

// __delay_cycles(30);          
//
// Background Loop
//
while(1)
{
//
// Run the captivate application handler.
// Set LED1 while the app handler is running,
// and set LED2 if proximity is detected
// on any sensor.
//
CAPT_appHandler();

//
// This is a great place to add in any
// background application code.
//


//
// End of background loop iteration
// Go to sleep if there is nothing left to do
//
CAPT_appSleep();

} // End background loop
} // End main()

**Attention** This is a public forum