Author Topic: DISPLAY DOES NOT RESOND WITH CORRECT CHARACTER  (Read 2859 times)

jforest1

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
DISPLAY DOES NOT RESOND WITH CORRECT CHARACTER
« on: March 18, 2014, 04:48:57 PM »
I HAVE A HND-0420D3Z-NSW-BBW-V3 USING IN SPI MODE -- CLOCK AT ABOUT 96KHZ

SENDING AN OXFE DISPLAYS GRAPHICS CHARACTER FOR OXFD, SENDING OX58 DISPLAYS A "-".

THERE SEEMS TO BE NO WAY TO SEND A CONTROL FUNCTION BECAUSE THE 0XFE IS NOT INTERPRETED CORRECTLY.

ON THE SCOPE IT SEEMS THAT THE CORRECT DATA IS SENT.

THE MCU WORKS GREAT WITH BOSCH ACCELEROMETER PARTS.

ANY SUGGESTIONS?

Michael_L

  • Administrator
  • Hero Member
  • *****
  • Posts: 356
  • Karma: 33
    • View Profile
Re: DISPLAY DOES NOT RESOND WITH CORRECT CHARACTER
« Reply #1 on: March 18, 2014, 04:53:04 PM »
It seems you are experiencing a timing issue.  Can you try slowing down the SPI to see if you get the correct characters?
Also please be aware of the execution times shown on page 7 of the datasheet.

milhead

  • Newbie
  • *
  • Posts: 4
  • Karma: 2
    • View Profile
Re: DISPLAY DOES NOT RESOND WITH CORRECT CHARACTER
« Reply #2 on: April 30, 2014, 10:15:00 PM »
JForest,

While messing around to get my display to work I encountered the exact same problem.  Check your SPI protocol and make sure that it us operating in SPI Mode 3, CPOL=1, and CPHA=1.   (http://en.wikipedia.org/wiki/Serial_Peripheral_Interface_Bus)  Also make sure that all transfers are a single byte (while !CS is low).

I am reliably writing to my display (same as yours) and while fooling with my SPI transfer code saw the exact same failures that you saw.

I'm running my transfer clock at 85Khz but am careful to allow the processing time for each command as outlined in the data sheet.

Miller

 

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

Started by SteveCBoard Character LCDs

Replies: 6
Views: 4586
Last post Today at 02:31:42 AM
by tolikkk
NHD‐C12864A1Z‐FSW‐FBW‐HTT display clears after draw

Started by EdAverillBoard Graphic LCDs

Replies: 9
Views: 5737
Last post November 23, 2017, 09:20:46 PM
by tolikkk
NHD‐4.3‐480272EF‐ATXL#‐CTP | FAN5333 | BBB | Nothing on the Display

Started by Alias_AliasBoard TFTs

Replies: 1
Views: 3438
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: 15
Views: 8874
Last post November 23, 2017, 11:26:33 PM
by tolikkk
NHD-0420DZW-AG5 - Display "sometimes" shows only 2 lines

Started by stylonurusBoard OLEDs

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