Newhaven Display Forum

Newhaven Products => OLEDs => Topic started by: BalajiNP on February 07, 2018, 03:13:11 AM

Title: NHD-2.23-12832UCB3-40956 display & SPI mode???
Post by: BalajiNP 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. 
Title: Re: NHD-2.23-12832UCB3-40956 display & SPI mode???
Post by: Saurabh_B 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
Title: Re: NHD-2.23-12832UCB3-40956 display & SPI mode???
Post by: BalajiNP 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.