element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
XP Power
  • Products
  • Manufacturers
  • XP Power
  • More
  • Cancel
XP Power
Forum i2c bus ACK problems
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join XP Power to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 6 replies
  • Subscribers 6 subscribers
  • Views 2092 views
  • Users 0 members are here
  • communications
  • i2c
  • comms
  • bus
  • serial
  • communication
  • transmission
Related

i2c bus ACK problems

Former Member
Former Member over 13 years ago

Hallo all,

I’m designing an i2c bus at the moment with an ADuC842 master and a PCF 8574 i2c expander slave. I have a 74HC573 latch in between the master and slave, which I believe to be standard practice.. The problem that I am facing is that I cannot get the acknowledge signal to show up on the master side of the latch. When an ACK is generated by my PCF the pulldown brings the SDAT line from 5 volts to about 2. It shows up quite obviously on the slave side but not on the master side. I am pretty sure the issue is that the latch is not backwards transparent is blocking the pulldown from propagating through to the master side OR the pulldown is not sufficient and the ACK is being detected as logic 1.

Solutions tried:

Shorting out latch -> didn’t work

Swapping PCF chip -> didn’t work

Any ideas???

It would be the job if someone could shed a bit of light on this for me or if you have experienced it yourself..?

 

Regards,

Ronan

image

  • Sign in to reply
  • Cancel
Parents
  • Former Member
    0 Former Member over 13 years ago

    Why do you have the latch? This is certainly not normal for I2C. I2C devices MUST be open-drain so that both master & slaves can pull the SCL and SDA lines down. Remove the latch completely. You can see from your waveforms that the slave is trying to ACK but can't pull down the output of the latch. Anyway how do you expect the master to see the ACK when you have a latch in the way?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • Former Member
    0 Former Member over 13 years ago

    Why do you have the latch? This is certainly not normal for I2C. I2C devices MUST be open-drain so that both master & slaves can pull the SCL and SDA lines down. Remove the latch completely. You can see from your waveforms that the slave is trying to ACK but can't pull down the output of the latch. Anyway how do you expect the master to see the ACK when you have a latch in the way?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • Former Member
    0 Former Member over 13 years ago in reply to Former Member

    So we both agree that the latch is to blame. I’ve been told to keep testing it and basically to make it work as is so I’m not too happy.
    I am but a pawn in this institution.

    So what I need are smaller pull-ups and less latch...

    Thanks for your reply

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube