So, I've read the threads and have made things work once, but now, without seeming to have changed anything, I'm getting code that goes into never-never land..
In twi.c, around line 607 in Energia version 17, I get a lockup in the first while statement:
#if defined(__MSP430_HAS_USCI__) || defined(__MSP430_HAS_USCI_B0__) || defined(__MSP430_HAS_USCI_B1__)
/* Ensure stop/start condition got sent before we exit. */
if(sendStop)
{
while (UCBxCTL1 & UCTXSTP); // end with stop condition
} else {
while (UCBxCTL1 & UCTXSTT); // end with (re)start condition
}
#endif
I've been