Author Topic: I2C ACK issue  (Read 4831 times)

jjbrewer

  • Newbie
  • *
  • Posts: 3
  • Karma: 3
    • View Profile
I2C ACK issue
« on: March 18, 2014, 08:14:23 AM »
It was reported on the other forum that the I2C controller bounded to the NHD-C0216CiZ-FSW-FBW-3V3 COG character LCD could only sink 4ma of current.
In order to get a decent waveform with the cable length I am using I have 2.5K pulllups on my PCBA. The COG cannot pull SDA down hard enough for a valid ACK.
Would a NXP PCA9605 2 wire buffer, placed  between the COG and the other devices and cable, help?

Michael_L

  • Administrator
  • Hero Member
  • *****
  • Posts: 356
  • Karma: 33
    • View Profile
Re: I2C ACK issue
« Reply #1 on: March 18, 2014, 09:58:47 AM »
The NXP PCA9605 could help, but I would like to ask if you could try isolating the display on the i2c bus, and see if the ACK gets pulled low enough when there are no other devices present on the bus.

jjbrewer

  • Newbie
  • *
  • Posts: 3
  • Karma: 3
    • View Profile
Re: I2C ACK issue
« Reply #2 on: March 19, 2014, 12:49:14 PM »
The issue is I need it to work with these other devices at the end of a 36" ribbon cable at 100kHz.
I have attached a VISIO drawing and pictures from a O-scope of the wave forms. The 1.5K pictures are with the 1.5K pullups and the 20K are with 20K pullups.
The EPROM and PsOC have no issue pulling down the SDA with the 1.5K pullups.
I picked this COG because of its size. It was the only one I could find that will fit in the space I have.
My next experiment will be placing the NXP PCA9605 between the I2C bus and the COG.

The attachments button only allows 4 and won't send BMPs, so I zipped it up and changed the extension to pdf, rename to .zip

Michael_L

  • Administrator
  • Hero Member
  • *****
  • Posts: 356
  • Karma: 33
    • View Profile
Re: I2C ACK issue
« Reply #3 on: March 20, 2014, 09:39:31 AM »
Thank you for the images.  The recommended pull-up value is 10kΩ for each i2c line.  From the look of your pictures, 20kΩ seems to do the trick for you correct?
I am not familiar with the NXP PCA9605, but it seems to me that if you use larger pull-ups the display will work great. :)

jjbrewer

  • Newbie
  • *
  • Posts: 3
  • Karma: 3
    • View Profile
Re: I2C ACK issue
« Reply #4 on: March 25, 2014, 05:21:39 PM »
I was able to insert the NXP PCA9605 between the COG LCD and the other devices and the ribbon cable.
I was able to use 10kOHM for the side the COG LCD is on and iw as abke to ACK quite well.
On the other side, the buffer was able pull it low even with the 1.5kOHM pullups I started that the PsOC and EPROM were okay with.

Michael_L

  • Administrator
  • Hero Member
  • *****
  • Posts: 356
  • Karma: 33
    • View Profile
Re: I2C ACK issue
« Reply #5 on: March 26, 2014, 09:36:58 AM »
Great news! Thank you for sharing!

 

3 Volt to 3.3 Volt longterm reliability issue

Started by muragavinoBoard OLEDs

Replies: 1
Views: 2160
Last post November 11, 2014, 03:04:04 PM
by Michael_L
NHD-0216CW-AY3 8-bit Parallel 8080, Text on Display Issue

Started by forteyBoard OLEDs

Replies: 14
Views: 7101
Last post March 09, 2015, 02:23:51 PM
by Retheesh_M
Issue with reading busy flag in 4 bit mode.

Started by SwemarvBoard Character LCDs

Replies: 6
Views: 4781
Last post September 26, 2015, 10:12:49 AM
by acain829
RS232 PIC CCS COMPILER COMANDS FOR NHD-0420D3Z-NSW-BBW-V3 ISSUE

Started by DavidVMBoard Character LCDs

Replies: 2
Views: 513
Last post May 30, 2017, 12:58:32 PM
by DavidVM
SPI Timing Issue - NHD-0420D3Z-FL-GBW-V3

Started by jfahlmanBoard Character LCDs

Replies: 1
Views: 1948
Last post March 22, 2016, 05:18:31 PM
by Saurabh_B