Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 217586

Forum Post: RE: MSP432P401R: Removing while loop makes I2C read different values

$
0
0
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).

Viewing all articles
Browse latest Browse all 217586

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>