Jump to content
43oh

Leaderboard

Popular Content

Showing content with the highest reputation on 09/07/2018 in all areas

  1. There is code available to implement I2C communication between the MSP430 and the HDC2010 temperature-humidity sensor, but it's a bit like an onion -- you have to peel away layer after layer in various libraries to drill down into what is happening at the register level. I decided to write some transparent demo code for this sensor that is self-contained: everything related to the I2C interface is in a single C program. It has been successfully tested with the F5529 Launchpad. This is a simple MCU polling operation that periodically makes a T-H measurement using the on-demand mode of the se
    1 point
  2. Hello, I've been lurking here for well over a year and finally figured I should post something. I've been learning to use the USCI I2C interface on the on MSP430G2553 and came up with this code for talking to the 24LC256 chip. The code implements single/multibyte read/write routines for the 24LC256 EEPROM. It should work on the 24LC512 without modification and on other 24LCxx family chips with minimal modification to the addressing. I have probably broken numerous coding rules and best practices, there is no error checking to speak of, and nothing has timeouts. So use at you
    1 point
×
×
  • Create New...