• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Digital Signal Processors (DSP) » OMAP™ Processors » OMAP35x Processors Forum » I2C timeout on OMAP3530 processor
Share
OMAP™ Processors
  • Forums
  • Announcements
Options
  • Subscribe via RSS
Resources
  • OMAP-L1x DSP+ARM9™-based Processors Product Folder
  • OMAP3525/30 DSP+ARM Cortex™-A8-based SOCs Product Folder

  • Top OMAPL Wiki Links
  • OMAPL3x Schematic Review Checklist
  • OMAPL13x Boot resources

  • OMAPL Document Resources
  • OMAPL137 Technical reference manual
  • OMAPL138 Technical reference manual
  • OMAPL Boot loader App Notes
  • I2C timeout on OMAP3530 processor

    I2C timeout on OMAP3530 processor

    This question is not answered
    Nima Badizadegan
    Posted by Nima Badizadegan
    on Jul 30 2012 10:24 AM
    Prodigy10 points

    Greetings,

    I am working on an application which requires creating an I2C communication with another instrument.  I cannot post any code because the software is proprietary.  The I2C controller has already reduced speeds to 100 kHz, and the device interfaced with the OMAP processor definitely works correctly (verified in our debugging process).  The lines are pulled up correctly, and we tried using other I2C controllers and could not see the device at all.  The console output is below:

    I apologize for the image, but this is what the software guy gave me (instead of a log).  What I can tell you about the hardware and software is that it is our hardware, not an EVM, and the Linux version is 2.6.32.  If you have any questions about the device and software, I will try to answer, but I would appreciate any help you can provide.  I apologize for not being able to provide more information about the problem.

    Thanks,

    Nima

    omap3530 i2c
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    All Replies
    • Jethin Sekhar
      Posted by Jethin Sekhar
      on Jul 30 2012 23:23 PM
      Expert1130 points

      hi nima,

       Which one is your master?

      Regards

      Jethin

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Renjith Thomas
      Posted by Renjith Thomas
      on Aug 08 2012 01:11 AM
      Guru23870 points

      Hi Nima,

      From this logs you can't say much. But you can try the following.

      1. First check the I2C controller to which that you are connected? e.g. I2C1, I2C2 or I2C3 etc.. See whether you are using the same controller in your driver.

      2. Check whether the 7-bit slave address specified is correct or not. 

      3. See whether the device datasheets specify any pull-up values or not.

      4. See the pinmux settings for the I2C pins are correct or not.

      5. See whether any power on sequence for the slave chip.

      6. Last, connect an oscilloscope to the I2C lines and see any activity happening on the bus during the transfer.

      -Renjith | www.pathpartnertech.com | Verify the answer if you think your query is resolved

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • raja V
      Posted by raja V
      on Oct 13 2012 00:33 AM
      Intellectual330 points

      Hi Renjith,

       

      I am also facing the I2C time out problem on AM335x platform. I do not have problem during bootup. I have verified the slave address and have pull up resistors of 2.2K.

      Initially I2C communication is good for couple of seconds and then time out happens. Once this happens i am resetting the slave device and then communication starts again. After every few seconds I2C lines are going low and getting the time out indication. Not sure who is pulling the lines low.

      Any change in driver is required to aviod time out issues.

      We have tried communicating to the slave with another processor on the same board by disconnecting ARM processor and it works fine.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Renjith Thomas
      Posted by Renjith Thomas
      on Oct 13 2012 05:08 AM
      Guru23870 points

      Raja,

      Looks like some bus capacitance issue.. I'm not an electronics expert. But still,

      1. how many slaves are connected on your bus? 

      2. Which is the device that you are trying to communicate with?

      3. Have you tried with different values of pull-up registers?

      4. If there are more than one device on the bus, can you disconnect one by one and see whether the issue occurs or not?

      -Renjith | www.pathpartnertech.com | Verify the answer if you think your query is resolved

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    TI E2E™ Community
    • Support Forums
    • Blogs
    • Videos
    • Groups
    • Site Support & Feedback
    • Settings
    TI E2E™ Community Groups
    • TI University Program
    • Make the Switch
    • Microcontroller Projects
    • Motor Drive & Control
    Other Communities
    • Deyisupport
    • Designsomething.org
    • beagleboard.org
    • TI on Element 14
    • TI on TechXchangeSM
    Other Technical & Support Resources
    • WEBENCH® Design Center
    • Product Information Centers
    • Technical Documents
    • TI Design Network
    • TI Technical Articles
    • TI Training

    All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

    Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

    Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
    TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

    TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
    embedded processors, along with software, tools and the industry’s largest sales/support staff.

    © Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
    Trademarks | Privacy Policy | Terms of Use