Author Topic: NHD-2.23-12832UCB3-40956 display & SPI mode???  (Read 960 times)

BalajiNP

  • Jr. Member
  • **
  • Posts: 10
  • Karma: 0
    • View Profile
NHD-2.23-12832UCB3-40956 display & SPI mode???
« on: February 07, 2018, 03:13:11 AM »
Hi,
Trying to bring up this display in SPI mode and it uses the SSD1305 controller.
In SPI, 4 modes are available. Which mode, this display or SSD1305 Controller has to be configured.

-Thanks. 

Saurabh_B

  • Administrator
  • Hero Member
  • *****
  • Posts: 379
  • Karma: 10
    • View Profile
Re: NHD-2.23-12832UCB3-40956 display & SPI mode???
« Reply #1 on: February 08, 2018, 08:20:31 AM »
Hello,

This display uses 4-Wire SPI. There is more information about the SPI communication on page 12 of the display datasheet. (http://www.newhavendisplay.com/specs/NHD-2.23-12832UCW3.pdf)

The Clock is rising Edge and the polarity of the clock does not matter. So this can work in either mode 0 or mode 3

BalajiNP

  • Jr. Member
  • **
  • Posts: 10
  • Karma: 0
    • View Profile
Re: NHD-2.23-12832UCB3-40956 display & SPI mode???
« Reply #2 on: February 12, 2018, 12:46:51 AM »
Thanks for the reply. 

Tried this OLED Display in I2C mode, it is working fine. When try this in SPI mode, it is not working.

Used the initialization sequence in i2c driver code for SPI driver code also. Whether we have 2 different initialization sequence one for I2C and another one for SPI i.e. For SPI mode, different set of register writes and I2c mode, different set of register writes.

Please confirm this.

-Thanks.


 

Blank Display on NHD‐C0220BiZ‐FS(RGB)‐FBW‐3VM

Started by SteveCBoard Character LCDs

Replies: 3
Views: 7830
Last post May 13, 2014, 12:04:36 AM
by SteveC
NHD‐C12864A1Z‐FSW‐FBW‐HTT display clears after draw

Started by EdAverillBoard Graphic LCDs

Replies: 6
Views: 9554
Last post November 07, 2014, 08:25:20 AM
by Michael_L
NHD‐4.3‐480272EF‐ATXL#‐CTP | FAN5333 | BBB | Nothing on the Display

Started by Alias_AliasBoard TFTs

Replies: 1
Views: 6651
Last post September 25, 2015, 03:09:24 PM
by Paul_B
Arduino LCD library not working with newhaven display NHD‐0420H1Z‐FL‐GWB-3V3

Started by c2hollowBoard Character LCDs

Replies: 9
Views: 15241
Last post July 10, 2014, 08:46:06 AM
by Michael_L
NHD-0420DZW-AG5 - Display "sometimes" shows only 2 lines

Started by stylonurusBoard OLEDs

Replies: 5
Views: 9069
Last post June 18, 2014, 10:09:49 AM
by Michael_L