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
EXPLORE-NFC
  • Products
  • Dev Tools
  • EXPLORE-NFC
  • More
  • Cancel
EXPLORE-NFC
Forum Impossible to use I2C in an external PCB at the same time as Explore NFC board
  • Blog
  • Forum
  • Documents
  • Events
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join EXPLORE-NFC to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 6 replies
  • Subscribers 12 subscribers
  • Views 1453 views
  • Users 0 members are here
Related

Impossible to use I2C in an external PCB at the same time as Explore NFC board

Former Member
Former Member over 10 years ago

Hello everyone, I am using NFC Explore board to integrate NFC in a project. In this project I am using a raspberry pi B + with the Explore NFC connected to a custom PCB where I'm using the i2c to communicate with other devices such as a RTC clock, MCP 23017, so on.

 

The problem I found is related to the I2C communication, as in the Explore NFC board the gpio8 and gpio2 (sda) are connected, the result is the I2C in my PCB is not working properly. I have found a similar issue on this link:

https://hackaday.io/project/1812/logs

 

On the link above, he solves the problem modifying the library explore nfc, but  in my case after following those steps the I2C protocol on the PCB still does not work. I don´t know how to fix that issue. I'm using the Explore NFC in card_emulation_mode. Have anyone had a similar issue?

 

Thanks in advance.

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

    After several days, It works!! The Explore NFC is working properly in card emulation mode, in  a PCB with other I2C devices, without corrupting the I2C communication. We have modified the library deleting completely all the reference to the GPIO 2 in this file:

     

    CardEmulation-FB_NFC-Sources\CardEmulation-FB\source\NxpRdLib_PublicRelease\comps\phbalReg\src\RPiSpi\phbalReg_RPiSpi.c

     

    In the Explore NFC, pins 2 and 3 (i2c pins) are not connected to the Raspberry Pi.

     

    I hope it helps to anybody with the same issue,

    Bye!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Reject Answer
    • Cancel
  • Former Member
    0 Former Member over 9 years ago in reply to Former Member

    Hi, i know this post is quite old but...

     

    Where "CardEmulation-FB_NFC-Sources" is located on the Raspberry ?

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

    I'm having the same issue on RPI, can you help us with the path of the sources?

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

    I've no idea but.. it appears you can go here:

    EXPLORE-NFC - Exclusive from element14|NXP

    Click on Downloads tab and download the software.

    The software has changed since the year 2014, this is an ancient post, don't expect to find the same path to the files or the same filename.

    You will still find the source\NxpRdLib_PublicRelease\comps folder (the top level path is source\ and not CardEmulation-FB_NFC-Sources\CardEmulation-FB\Source)

    and some files with similar names but looks like enough changes have occurred that the file names are different.

    You'll have to use your own initiative to figure it all out though - once you do figure it all out, please respond back with information to help others.

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

    The relevant GPIO configs are now located here:

    SW282911.zip\explorenfc-cardemulation_1.1.tar.gz\source\NxpRdLib_PublicRelease\comps\phbalReg\src\Stub\phbalReg_Stub.c

     

    You can get the zip with sources here:

    EXPLORE-NFC - Exclusive from element14|NXP

     

    Michael

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • dino3
    0 dino3 over 8 years ago

    Hello Virginia, I have the same problem as you had. My project consists in Raspberry Pi 3 communicating  with a custom PCB composed of Explore NFC (PN512) and other devices. I am using the SPI and I2C protocols. The SPI communication between Explore NFC (PN512) and Raspberry Pi 3 has been implemented using this guide https://www.nxp.com/docs/en/application-note/AN11480.pdf . The problem is that the I2C communication is corrupted by the SPI and I have a limited time to solve the problem. I would like you to help me and, in particular, to give me the modified library allowing a good coexistence between SPI and I2C protocols. Thanks in advance.

    • 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