I've tested the code again today. Now it only hangs in: uint8_t I2C_masterReceiveSingleByte(uint32_t moduleInstance) //Poll for receive interrupt flag. while (!BITBAND_PERI(EUSCI_B_CMSIS(moduleInstance)->IFG, EUSCI_B_IFG_RXIFG_OFS)) ; If I use the original code it works. I hope we are using the same SDK (I'm using the boostxl_batpakmkii_fuelgauge demo from SimpleLink MSP432 SDK - v1.40.00.28).
↧