Part Number: MSP430F5529
Tool/software: Code Composer Studio
Hi
I am trialling the USB code that is bundled with the Launchpad for the MSP430F5529 and have compiled using the CDC. The device runs fine and communicates perfectly, however it goes into Low Power mode sometime after the PC enters sleep. The USB serial port is then switched off on the PC, and one cannot re-start the microcontroller from the USB - a reset of the MSP430 is required. I have edited all the functions in usbEventHandling.c to return TRUE but this does not fix the issue. I have also tried removing the bWake condition in iUsbInterruptHandler(void) in usblsr.c to always clear the low power mode bits (see below) but this also does not work.
//if (bWakeUp) //wdm change
//{
__bic_SR_register_on_exit(LPM3_bits); // Exit LPM0-3
__no_operation(); // Required for debugger
//}
Please can you assist?
Regards, Warren