Author Topic: NHD-C0220BiZ-FSW-FBW-3V3M I2C SDA glitch and freeze.  (Read 1308 times)

doum

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
NHD-C0220BiZ-FSW-FBW-3V3M I2C SDA glitch and freeze.
« on: September 08, 2016, 08:33:46 AM »
Hi,

I have observed that the I2C bus freeze on my new design, and i searched the cause and found this. During my display initialization sometime the I2C stop working with the SDA line stuck to GND. If i reset my display the SDA return to 1 and i can configure it again.

I observed a glitch on the SDA line, witch cause a STOP condition on the I2C bus and halt my controller.

This glitch always happen at the end of the 0x6C command, Follower Control.

I attached a oscilloscope capture of this glitch. The SDA line is the yellow trace. You can see the glitch witch cause a stop condition to the I2C controller. I also saw this glitch on the C1+ C1- pins.

I changed my pull-up to 10k (from 4.7k) and it's much better. The glitch is still there but at least i can use my design.

Capacitor is 1uf 50v ceramic.

Any idea?

Thank you.

« Last Edit: September 08, 2016, 10:47:47 AM by doum »

DrG

  • Newbie
  • *
  • Posts: 1
  • Karma: 1
    • View Profile
Re: NHD-C0220BiZ-FSW-FBW-3V3M I2C SDA glitch and freeze.
« Reply #1 on: November 25, 2016, 09:04:21 AM »
Thanks for illustrating the problem, it is interesting. From the ST7036 data sheet, my two cents...

1. After a follower command a delay of > 200 ms is required for "power stable" (p41).

2) At 3.3v the max I2C clock speed is 300kHz (p54). If I am reading the pics correctly, you are below that, but if you could slow down the I2C I wonder what effect it would have on the glitch.

Not sure that either of these are related to the issue you are experiencing.

Capaldi

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
Re: NHD-C0220BiZ-FSW-FBW-3V3M I2C SDA glitch and freeze.
« Reply #2 on: January 23, 2017, 12:20:15 AM »
Thanks for illustrating the problem, it is interesting. From the Wartrol site ST7036 data sheet, my two cents...

1. After a follower command a delay of > 200 ms is required for "power stable" (p41).

2) At 3.3v the max I2C clock speed is 300kHz (p54). If I am reading the pics correctly, you are below that, but if you could slow down the I2C I wonder what effect it would have on the glitch.

Not sure that either of these are related to the issue you are experiencing.

Hi Doum, I noticed something similar. Are you still having this issue?
« Last Edit: August 07, 2017, 08:25:33 AM by Capaldi »

 

NHD‐C0220BiZ‐FS(RGB)‐FBW‐3VM capacitor on pin 7&8

Started by Ticoti0xFFBoard Character LCDs

Replies: 1
Views: 2870
Last post April 09, 2014, 10:17:30 AM
by Michael_L
NHD‐C0220BiZ‐FS(RGB)‐FBW‐3VM Potting

Started by SebKisterBoard Character LCDs

Replies: 1
Views: 1886
Last post June 22, 2016, 04:51:17 PM
by Saurabh_B
Blank Display on NHD‐C0220BiZ‐FS(RGB)‐FBW‐3VM

Started by SteveCBoard Character LCDs

Replies: 3
Views: 4715
Last post May 13, 2014, 12:04:36 AM
by SteveC
NHD‐C0220BiZ‐FS(RGB)‐FBW‐3VM - Cable for LED Backlights

Started by wadehBoard Character LCDs

Replies: 2
Views: 930
Last post December 02, 2016, 06:02:27 PM
by wadeh
Sample Code Question for NHD‐C0220BiZ‐FS(RGB)‐FBW‐3VM LCD

Started by SteveCBoard Character LCDs

Replies: 2
Views: 3111
Last post July 31, 2014, 08:44:29 PM
by SteveC