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

Forum Post: RE: MSP-EXP430G2: MSP-EXP430G2 can't work I2C

$
0
0
[quote user="Bhavin Maru"]when i run this code in oscilloscope i am not getting CLK waveform instead i am getting DC voltage at SCL pin.[/quote]Is the DC voltage a 'zero' (low) or 'one' (high)? If the DC voltage is a 'zero' the MSP430G2553 USCI_B0 module will see the I2C bus as busy, which explains why the i2c_start() function would hang waiting for the I2C start to be transmitted. The SCL DC voltage being 'zero' could be caused by either: a) No pull-up resistors fitted on the SCL and SDA lines. b) SCL being held low by the PCA8565 RTC.

Viewing all articles
Browse latest Browse all 63733

Trending Articles



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