energia / msp430-lg-core

15 stars 12 forks source link

Hardware I²C No Longer Works on MSP432G2553 and MSP430FR5994 #62

Closed rei-vilo closed 5 years ago

rei-vilo commented 6 years ago

Targeting the MSP430G2553 and using the BME280 sensor.

Please refer to https://forum.43oh.com/topic/13153-cant-get-bme280-to-work-with-msp430g2554/ for more details.

rei-vilo commented 6 years ago

@StefanSch Same issue on the MSP430FR5994. Hardware I²C doesn't work on pins 9 / 10 and 14 / 15.

StefanSch commented 6 years ago

There is a fix already commited into the master branch but not in the release. Using this i do not see an issue on FR5994 I2C on pin 14/15 (did not test 9/10)

robertinant commented 5 years ago

I thought I2C defaults to 9/10? Was this changed?

rei-vilo commented 5 years ago

No, it is just that legacy I²C (hardware, master+ slave) no longer worked on pins 14 + 15.

StefanSch commented 5 years ago

All device now have I2C default on 9/10. But most of them can selected another module (SetModule) and then also use the legacy I2C on 14/15. If 9/10 do not have hardware I2C pins mapped there it will use the SW functions.

rei-vilo commented 5 years ago

See i2c communication not working on msp430fr5969 rev 2.0.