bit flips
Posted: Tue Jan 27, 2009 10:24 pm
Hi,
I'm using a GLK12232-25-SM in an application where a large number of LCD displays are written to regularly over a long duration. At the default baud rate of 19200, bits are occasionally flipped during transmission. With no error-detection on the comms protocol, weird things occasionally happen. For instance, sometimes the font metrics get set to something random such that the text does not display legibly. This means that at any given time, at least one LCD is often playing up -- an undesirable situation to say the least.
Why is there no error checking? And is there anything we can do to avoid these problems? We could write all the settings (contrast, backlight on, font metrics, etc) to each unit on a regular basis, but I wonder if too many writes will be bad for the unit's memory (and it sounds like a hack). Unfortunately the unit doesn't allow for querying of the state, so we can't check to see if it's changed before writing. Is there a better solution?
Thanks,
Alex
I'm using a GLK12232-25-SM in an application where a large number of LCD displays are written to regularly over a long duration. At the default baud rate of 19200, bits are occasionally flipped during transmission. With no error-detection on the comms protocol, weird things occasionally happen. For instance, sometimes the font metrics get set to something random such that the text does not display legibly. This means that at any given time, at least one LCD is often playing up -- an undesirable situation to say the least.
Why is there no error checking? And is there anything we can do to avoid these problems? We could write all the settings (contrast, backlight on, font metrics, etc) to each unit on a regular basis, but I wonder if too many writes will be bad for the unit's memory (and it sounds like a hack). Unfortunately the unit doesn't allow for querying of the state, so we can't check to see if it's changed before writing. Is there a better solution?
Thanks,
Alex