Author Topic: Using NHD-C0216CiZ-FSW-FBW-3V3 on I2C on Linux  (Read 4297 times)


  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
Using NHD-C0216CiZ-FSW-FBW-3V3 on I2C on Linux
« on: November 08, 2016, 03:56:00 PM »
I am using the NHD-C0216CiZ-FSW-FBW-3V3 LCD on a custom board connector to a CPU with I2C. The CPU run a linux software. On the user sapce, I open the device the open command on /dev/i2c-1 and use the ioctl() function to write to the I2C port.

I am having difficulty to initilize the LCD. Sometime it work and sometime it does not work. When it does not work, at the 8th byte, the SDA pin is stuck at 1.1v and I am not able to write to the port anymore. It always return an error "Bus is busy".
In the code example at the end of the datasheet, there is some delay added between some write of byte. If I try to do it on linux, the driver will automatically add the start/stop/slave addr write sequence. Then the LCD never work.
Anyone have ever tried to use this LCD with Linux?


Using Linux i2cdetect with NHD‐C0220BiZ‐FSW‐FBW on Raspberry Pi

Started by russkBoard Character LCDs

Replies: 9
Views: 11576
Last post August 21, 2017, 02:11:20 PM
by Saurabh_B
Linux | Device Tree | NHD ‐ 4.3 ‐ 480272EF

Started by Alias_AliasBoard TFTs

Replies: 5
Views: 9072
Last post March 24, 2015, 07:45:50 AM
by Paul_B
NHD-3.5-320240MF-ATXL#-CTP-1 Ft5x06 Linux device tree

Started by rajarajan.rBoard TFTs

Replies: 1
Views: 6777
Last post July 05, 2016, 01:21:43 PM
Capacitive touch problems under linux (FT5x06)

Started by vpdBoard TFTs

Replies: 21
Views: 35852
Last post July 18, 2018, 01:07:41 AM
by yraeisi
NHD-5.0-800480TF-ATXL linux driver code

Started by carlovalBoard TFTs

Replies: 1
Views: 4967
Last post March 27, 2015, 08:20:26 AM
by Paul_B