Author Topic: NHD-1.27-12896UGC3, can't write data correctly, 4 wire spi  (Read 4693 times)


  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
NHD-1.27-12896UGC3, can't write data correctly, 4 wire spi
« on: November 12, 2014, 04:53:58 AM »
I am surveying a display module, NHD-1.27-12896UGC3. Currently I can only write commands to this controller correctly, Iíve verified sleep-in, sleep-out, display mode all-on, all-off, display mode normal. They are all correct. But when I tried to write a command and then write data to the controller, I found it usually doesnít work. In other words, it just works sometimes.

I am using 4-wire serial mode.
I put my waveform at the end of this mail. This is a Ďset column addressí command with 2 data, 0x14 and 0x17, I programmed. Iíve checked some sample programs, and they set SDIN as high before writing data. Does this make me canít write data into the controller correctly?
Does it need to delay some time between a command issued and start to write data?
Or does my SCLK not support for this display module?

Thanks for your help.

VDD: ~3V
SCLK: 1.5 MHz ~ 500KHz (Those I have tried)

ss-p9: CS#
sclk-p7: SCLK
mosi-p8-sio0: SDIN
miso-p5-sio1: D/C#

[attachment deleted by admin]
« Last Edit: November 12, 2014, 07:13:45 PM by dannyj »


  • Administrator
  • Hero Member
  • *****
  • Posts: 357
  • Karma: 34
    • View Profile
Re: NHD-1.27-12896UGC3, can't write data correctly, 4 wire spi
« Reply #1 on: November 14, 2014, 09:30:55 AM »
The set_column_address command uses 2 data parameters after you send it to the display.  You would need to setup the address, and issue the write_memory_start command before writing pixel data to the display.  Please refer to the below example code which has examples with the parallel and serial interface of the display:


NHD-0220CW-AB3 "doubling" data?

Started by GerryOBoard OLEDs

Replies: 2
Views: 4296
Last post October 25, 2015, 03:25:07 AM
by GerryO
NHD-0420DZW-AG5 OLED character module--Displaying junk data

Started by control3Board OLEDs

Replies: 2
Views: 6199
Last post December 11, 2016, 11:19:54 PM
by control3
NHD‐3.12‐25664UMB3 3 or 4 wire interface

Started by cliffgBoard OLEDs

Replies: 1
Views: 5655
Last post February 13, 2015, 04:43:21 PM
by Michael_L
NHD-4.3-480272EF-ASXN# Backlight but no Graphic Data

Started by danrBoard TFTs

Replies: 1
Views: 885
Last post June 27, 2019, 10:05:00 AM
by Ted_M
NHD-0216K3Z-FL-GBW-V3 outputting 5V on data pin

Started by Andrew_BBoard Character LCDs

Replies: 4
Views: 4279
Last post December 07, 2016, 08:34:51 AM
by Paul_B