Author Topic: NHD-0420DZ-NSW-BBW want to ignore characters  (Read 2304 times)

OrrisD

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
NHD-0420DZ-NSW-BBW want to ignore characters
« on: May 03, 2016, 02:50:19 PM »
We need to keep the serial data stream to the LCD active at all times,
even when there is no need to send information to the LCD.
We would like to send "filler" characters or sets of characters
between control sequences and displayable characters.
Is there a character series that is ignored by the LCD,
for example, would 0xFE, 0x00 work?

perky

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
    • View Profile
Re: NHD-0420DZ-NSW-BBW want to ignore characters
« Reply #1 on: May 03, 2016, 05:17:51 PM »
Can you determine in the stream whether the data is meant to be displayed or not? the ST7066 controller has an extended 80*8 DDRAM area and says you can use an area of DDRAM not used for display to store general data, all you would need to do is re-direct the writes to one of those areas.

What is the reason you want to do this? Is it a timing issue, or maybe you don't want to put any buffering in the way?
Mark.

OrrisD

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Re: NHD-0420DZ-NSW-BBW want to ignore characters
« Reply #2 on: May 03, 2016, 09:47:59 PM »
The reason we want to keep the serial data constantly running is that the LCD is at the midpoint of a half-duplex data link.
Data comes from the host to a switch box that can send the switch configuration back to the host in between the host bytes.
We want the LCD to display status info. from the host, but NOT be affected by traffic from the host that is used to provide sync characters.  We run the LCD at 57,600 baud and send out a character from the host every millisecond. This gives plenty of time for the switch box to send back information to the host in between host outgoing traffic.  Host data is relatively infrequent, and the switch box loses track of time relative to the one millisecond ticks if its timer is not refreshed often enough.   We are presently sending a 0xFE,0x0F sequence as a filler and have found out that the LCD ignores it. 
The suggestion about unused memory space in the LCD is a good one. We'll try that next. Thanks.

perky

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
    • View Profile
Re: NHD-0420DZ-NSW-BBW want to ignore characters
« Reply #3 on: May 04, 2016, 02:47:02 AM »
OK, if I understand you correctly you want the LCD to 'snoop' on the serial stream and be completely agnostic to the sync protocol. Presumably this means the packets that you send contain a start address for each packet (the first character position for that chunk of data) which you would need in order for the display not to increment its address counter past the displayable area. If that's the case changing the address to somewhere in the non-displayable area should work, and that address could be the flag that it's a sync packet that indicates that the switch has to send a response back to the host. Is that correct?
Mark.

 

Character LCD NHD‐0220D3Z‐NSW‐BBW‐V3 not receiving correct characters

Started by davekBoard Character LCDs

Replies: 1
Views: 2360
Last post March 25, 2016, 05:23:05 PM
by Saurabh_B
NHD‐240128WG‐BTFH‐VZ - custom characters

Started by saubaerBoard Graphic LCDs

Replies: 1
Views: 1243
Last post November 11, 2016, 12:09:42 PM
by Saurabh_B
NHD-2.7-12864UCY3 yellow columns occur under ascii characters

Started by bsoyerBoard OLEDs

Replies: 7
Views: 4340
Last post August 26, 2015, 11:02:25 AM
by tracyb
NHD-C0220BiZ-FSW-FBW-3V3M NAKs all odd numberd ASCII characters

Started by majorninthBoard Character LCDs

Replies: 7
Views: 3987
Last post May 28, 2015, 04:51:31 PM
by Michael_L
NHD-0420E2Z-NSW-BBW is displaying Japanese Characters instead of my string

Started by shaneyostBoard Character LCDs

Replies: 1
Views: 4963
Last post June 03, 2014, 10:11:25 AM
by Michael_L