sendiptangshu 0 Posted June 2, 2018 Author Share Posted June 2, 2018 I bet, there are some serious issues with Energia 18. The library by Rob Tillaart works just fine on Energia 12. No problems whatsoever. I am finding it difficult to make I2C devices work on Energia 18 as well. Need to try out with Energia 12 afresh. Thanks for all the support, though! Quote Link to post Share on other sites
energia 484 Posted June 4, 2018 Share Posted June 4, 2018 My guess is that there are some timing changes between the 2 versions of Energia. I'll look into it. For I2C, please note that to accommodate the "new" BoosterPack standard which puts I2C on pins 9 and 10, we implemented a software based I2C interface since some of the MSP430's do not have I2C brought out to pins 9/10. To use the legacy pins which puts hardware I2C on pins 14/15 in your Sketch before Wire.begin() call Wire.setModule(0). Quote Link to post Share on other sites
energia 484 Posted June 4, 2018 Share Posted June 4, 2018 p.s. see pinmap here: http://energia.nu/pin-maps/guide_msp430g2launchpad/ Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.