element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Members
    Members
    • Achievement Levels
    • Benefits of Membership
    • Feedback and Support
    • Members Area
    • Personal Blogs
    • What's New on element14
  • Learn
    Learn
    • eBooks
    • Learning Center
    • Learning Groups
    • STEM Academy
    • Webinars, Training and Events
  • Technologies
    Technologies
    • 3D Printing
    • Experts & Guidance
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Arduino Projects
    • Design Challenges
    • element14 presents
    • Project14
    • Project Groups
    • Raspberry Pi Projects
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Or 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
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
Software Application Development I2C on Zedboard
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Avnet Boards Forums requires membership for participation - click to join
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 0 replies
  • Subscribers 175 subscribers
  • Views 56 views
  • Users 0 members are here
Related

I2C on Zedboard

Former Member
Former Member over 8 years ago

Hello,
      I am trying to connect I2C controlled device to ZedBoard.
I am getting I2C device entry in /dev/  folder. But i am not able to detect my hardware address on zedboard.

-----------------------------------
root@linaro-ubuntu-desktop:/dev# i2cdetect -r 0
WARNING! This program can confuse your I2C bus, cause data loss and worse!
I will probe file /dev/i2c-0 using read byte commands.
I will probe address range 0x03-0x77.
Continue? [Y/n] y
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:   
------------------------------------
here it got stucked. It doesn't proceed after 00 address.when i viewed DMESG logs following entry comes.


DMESG Logs:
[   81.180000] i2c i2c-0: ioctl, cmd=0x705, arg=0xbe91e66c
[   86.480000] i2c i2c-0: ioctl, cmd=0x703, arg=0x03
[   86.480000] i2c i2c-0: ioctl, cmd=0x720, arg=0xbe91e65c
[   86.480000] i2c i2c-0: master_xfer[0] R, addr=0x03, len=1
[  343.050000] i2c i2c-0: ioctl, cmd=0x705, arg=0xbeb2766c
[  345.520000] i2c i2c-0: ioctl, cmd=0x703, arg=0x03
[  345.520000] i2c i2c-0: ioctl, cmd=0x720, arg=0xbeb2765c
[  345.520000] i2c i2c-0: master_xfer[0] R, addr=0x03, len=1
[ 3540.610000] i2c i2c-0: ioctl, cmd=0x705, arg=0xbeb9565c
[ 3543.160000] i2c i2c-0: ioctl, cmd=0x703, arg=0x03
[ 3543.160000] i2c i2c-0: ioctl, cmd=0x720, arg=0xbeb9564c
[ 3543.160000] i2c i2c-0: master_xfer[0] R, addr=0x03, len=1
[ 3706.510000] i2c i2c-0: ioctl, cmd=0x705, arg=0xbec0765c
[ 3710.020000] i2c i2c-0: ioctl, cmd=0x703, arg=0x03
[ 3710.020000] i2c i2c-0: ioctl, cmd=0x720, arg=0xbec0764c
[ 3710.020000] i2c i2c-0: master_xfer[0] R, addr=0x03, len=1
[ 3773.230000] i2c i2c-0: ioctl, cmd=0x705, arg=0xbee9665c
[ 3776.180000] i2c i2c-0: ioctl, cmd=0x703, arg=0x03
[ 3776.180000] i2c i2c-0: ioctl, cmd=0x720, arg=0xbee9664c
[ 3776.180000] i2c i2c-0: master_xfer[0] R, addr=0x03, len=1


Thanks
Praveen

  • Sign in to reply
  • 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 © 2023 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