Quantcast
Channel: MSP low-power microcontrollers
Viewing all articles
Browse latest Browse all 62309

Forum Post: RE: MSP430G2553 I2C Hold Master SI7020

$
0
0
You're not enabling interrupts (GIE) so I suspect you're stuck in the I2C_Write, with the I2C unit waiting for you to give it the RH_HOLD command (TXIFG). You should probably add an __enable_interrupt() in main. You probably want to stick with Hold Master mode, since you don't seem to provide a way of reporting a NACK. SLAU144J sec 17.3.5.1 claims the I2C can deal with clock stretching just fine.

Viewing all articles
Browse latest Browse all 62309

Trending Articles



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