Hi,
I'm using a MSP‑EXP432P401R development board with a booster pack EDU MK II.
I noticed some problem with the example software with the I2C configuration, I had to add some __delay_cycles to make it work.
Someone know why ?
Thank you
After:
/* Initialize I2C communication */
Init_I2C_GPIO();
__delay_cycles(10000); // bus busy bug
I2C_init();
/* Initialize OPT3001 digital ambient light sensor */
OPT3001_init();
__delay_cycles(10000);
Before:
/* Initialize I2C communication */
Init_I2C_GPIO();
I2C_init();
/* Initialize OPT3001 digital ambient light sensor */
OPT3001_init();
__delay_cycles(100000);