NHD-0220D3Z-NSW-BBW-V3 - RS-232 mode and Turn display off

Comments

4 comments

  • Saurabh_B

    I have not heard of this issue.

    Can you confirm the rest of the RS-232 settings?
    - 1stop bit
    - no parity
    - no hand-shaking

    Also would it be possible to share the list of commands you are sending to the display?

    0
  • PHITEK

    Yes the baud rate, parity, data bits, and handshaking all match.

    I have a test program that does quite a bit of the functionality.

    I have adjusted the timing (increased the delays), especially have the Clear command, I had to fix a number of issues, mainly how backspace is handled. Got this code running on the SPI interface fine, switching to RS-232 was mainly adding more delay to the clear command and the crash with Turn Display Off, commenting out this command it runs fine overnight.

    I will see if I can get a smaller program to exhibit the display crash, and post back here in a few days.

    Thanks for your attention to this matter.

    0
  • PHITEK

    I found my issue, I have change the Display On method to sending a single byte for testing the I2C interface with a scope and never changed it back to 0xFE, 0x41. So once I turned the display off there was not way to turn it on again.

    Thanks for you help on this matter

    Regards,
    Phil

    0
  • Paul_B
    Morning Phil,

    Glad to hear you're up and running! Thank you for sharing your solution so anyone else having similar problems can solve them  ;)
    0

Please sign in to leave a comment.