1 Reply Latest reply on Jul 23, 2015 11:12 AM by Intel_Alvarado

    lcd.Jhd1313m1(6) fails to initialize LCD using J17 - pins 7 & 9 on breakout

    @hippiehacker

      root@iikeyboard:~# cat lcdinit.py

      import pyupm_i2clcd as lcd

      # Initialize Jhd1313m1 at 0x3E (LCD_ADDRESS) and 0x62 (RGB_ADDRESS)

      myLcd = lcd.Jhd1313m1(6, 0x3E, 0x62)

       

      root@iikeyboard:~# python lcdinit.py

      terminate called after throwing an instance of 'std::runtime_error'

        what():  upm::Jhd1313m1::Jhd1313m1(int, int, int): Unable to initialise the LCD controller

      Aborted

       

      I connected the LCD_RGB to 5v and ground, then SDL to GP27 and SDA to GP28:

       

      J17 - pin 7 GP27 I2C6_SCL GPIO,IC26 SCL output open collector.

      J17 - pin 8 GP20 I2C1_SDA GPIO, I2C1 data open collector.

      J17 - pin 9 GP28 I2C6_SDA GPIO, I2C6 data open collector

       

      On my Arduino breakout I connect to SDA/SDL to IO18/IO19 and it works

       

      IO18 (A4) 14 204 GPIO or I2C SDA A4 GPIO I2C-6 236 212

      IO19 (A5) 165 205 GPIO or I2C SCL A5 GPIO I2C-6 237 213

       

      How can I debug this?

       

      Links:

      Python rgb-lcd code: upm/rgb-lcd.py at master · intel-iot-devkit/upm · GitHub

      Edison Breakout Pinouts: http://download.intel.com/support/edison/sb/edisonbreakout_hg_331190006.pdf

      Upstream repo for the LCD_RGB: http://www.seeedstudio.com/wiki/Grove_-_LCD_RGB_Backlight

      Edison Arduino Board: http://download.intel.com/support/edison/sb/edisonarduino_hg_331191007.pdf