This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TM4C123GH6PM: Integrating Sensor Hub + Kentec LCD Display

Part Number: TM4C123GH6PM
Other Parts Discussed in Thread: TMP006

Hello all,

I am trying to create a project on the tm4c123 board that will use the sensor hub to collect the temperature. Then have that temperature displayed onto the Kentec LCD display. I have the Kentec LCD display connected to the ti launchpad using all the pins and I have 4 wires connected the launchpad and the sensor hub to communicate through i2c. Sensor hub Pin J1.1 is connected to 3.3V of the controller. Sensor hub Pin J2.1 is connected to GND of the controller. Sensor hub Pin J2.7 is connected to PE4 of the controller. Sensor hub Pin J2.6 is connected to PE5 of the controller. Is this the correct approach? When trying to combine the two files, sensorhub boosterpack and  . I am unable to compile anything. I then followed i2c manual on the launchpad to test that and haven't been able to understand it. 

  • Have you try to get each part working individually? For example, did you try the example under <TivaWare_Installation>/examples/boards/ek-tm4c123gxl-boostxl-senshub/temperature_tmp006 example by itself and <TivaWare_Installation>/examples/boards/ek-tm4c123gxl-boostxl-kentech-s1/grib_demo? Have each one working individually first before you combine both together is a much easier approach to learn and debug your project.
  • HI,
    Did you do as I suggested above? I will close the thread for now. If the problem is no resolved you can reopen this thread or if you have new question please open a new thread.
  • Hello,

    Prior to posting this thread, I was able to get each part to function individually, everything works fine when they are by themselves. Integrating them all into one code is where I have trouble. I think it might be due to certain definitions in the example codes that might conflict. I have the lcd display connected entirely to the launchpad, and 4 pins from the sensorhub connected to the launchpad.

    Regards,

    Ranjot

  • You are not even using TivaWare libary. You are using the DRM (direct register manipulation) code downloaded from some other sources. We can't support reviewing your software. If you are having each part working separately then that is a good start. When you put two together, do both the LCD and the boosterpack receive power? Have you use the scope or logic analyzer to debug what is not working on the booster pack? The scope/LA should reveal what is wrong in the I2C interface.