Newhaven Display Forum

Newhaven Products => OLEDs => Topic started by: gbgb on May 02, 2018, 05:04:33 AM

Title: NHD-0420DZW-AY5 Problem initializing
Post by: gbgb on May 02, 2018, 05:04:33 AM
Although this topic appears in previous posts, which I looked into, I still cannot initialize my display.
I am working in 8 bits mode with a PIC.

I followed the initialization sequence as it appears in page 18 of the manual (rev 11).

One piece of information that is missing is in what mode does the display wake up, 4 or 8 bits?
Is it possible that it wakes up in 4 bits mode and that the first command in the initialization (function set) has to be sent in 4 bits mode and only after it is sent switch to 8 bits mode and send the rest of the initialization commands in 8 bits mode?

Is there a sample code for 8 bits for this display? The only code I saw is one that has a "wakeup" command 3 time at the beginning, which is not what the specs for this display say.

Just for reference:
I am waiting 50mS after power up to begin the sequence
I am strobing the E signal as a 1mS pulse
I wait at least 5mS between commands