Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - SaintGimp

Pages: [1]
1
Character LCDs / NHD-0216K3Z-FL-GBW-V3 losing/dropping characters
« on: April 05, 2014, 04:41:06 PM »
I'm testing a NHD-0216K3Z-FL-GBW-V3 with I2C communication and am having problems with the display randomly losing or dropping characters.  I'm running the I2C bus at ~90K data rate and the display is the only device other than the master on the bus.  At this data rate the display will sometimes randomly lose a character, as though it were never sent.  This seems to happen more frequently when several characters are sent in a single transmission but also happens even when transmitting one character at a time.

The I2C bus signals look fine on a scope with nice square waves, and the display correctly ACKs every byte with no errors, but occasionally a character that was correctly ACKed simply doesn't make it to the screen.

I've seen several other people mentioning this problem on various web forums but haven't seen any good explanation for why this is happening.  I found through trial and error that if I cut the data transmission rate in half (to ~45K) the problem largely (entirely?) disappears, but as noted above this doesn't appear to be an I2C bus problem.

Has anyone else seen this problem and are there any better solutions?

Pages: [1]