element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • 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
  • About Us
  • 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 I²C hardware config and further questions
  • 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
  • Replies 0 replies
  • Subscribers 8 subscribers
  • Views 251 views
  • Users 0 members are here
  • explore_nfc
  • i2c
  • explore-nfc
Related

I²C hardware config and further questions

hamü
hamü over 8 years ago

Hi!

I'm hamü from Germany and a novice when it comes to most of these things. Thanks so far for the helpful support in the other thread! I think it is better to start an new discussion for this and not to hijack the other one.

 

I have multiple EXPLORE-NFC v1.6 boards (FCC ID: 2AASNEXPLORE-NFC-WW), several RPi 3 and with each I intent to use I²C with one RPi 3 (so each time one EXPLORE-NFC with one RPi 3).

The reason why I want to use I2C and not SPI is that I want to connect a SPI touch display (PINs used shown in the table at the bottom) as well. So in my eyes the solution (please correct me if I am wrong) is to use I2C for NFC-Explore and SPI for the display as the latter also uses the pins 19, 21, 23 and 24 and is therefore overlapping with the pins I need for the NFC-explore board with SPI.

I want to use the NFC Reader Library for Linux v4.040.05.011646 because of I²C support. Are the example mentioned in the installation guidelines (AN11802) also working with I²C? Is nxppy working when using I²C?

Regarding the hardware configuration of the board for using I²C I used the PNEV512B Quick Startup Guide (http://www.nxp.com/documents/application_note/AN11308.pdf ) as mentioned in AN11802: NFC Reader Library for Linux Installation Guidelines (https://nxp.flexnetoperations.com/control/frse/download?agree=Accept&element=8359537 ). Below I attached an edited picture of the board with my understanding regarding correct I²C configuration.

image

Something I am not sure about is the I²C address configuration in software as I cannot find any information about this in the documents mentioned earlier.

Where can I find information about it (EXPLORE-NFC specific), how is that realized in your software and what do I have to know about it when only using one I²C device?

As I don't know much about I²C, this address configuration is necessary when using several devices at the I²C bus and therefore having the need for master-slave configuration and/or distinguish between them, if not specified via software. Is that correct?

 

So for getting the board working with I²C I have everything I need now, right? The correct library with examples and the correct hardware configuration (as in the pic)? Is there something else I am missing or need to know?

 

Kind regards,

hamü

 

-----------------------------------------------------------------------------------------

 

Display pins:

Display      Raspberry Pi          Info
----------------------------------
GND          GND                   Ground
5V           5V                    5V Power Supply
LCD-LED      GPIO18                Display Backlight, can be set to GPIO12 with Jumper BL
LCD-RST      GPIO23                Display Reset
LCD-DC       GPIO24                Display Command/Data Select (DC/RS), Jumper IO24-RS
LCD-CS       GPIO8 (CE0) (pin24)   Display Chip Select
ADS-CS       GPIO7 (CE1)           Touchcontroller Chip Select
ADS-IRQ      GPIO25                Touchcontroller Interrupt Output
MISO         GPIO9 (MISO) (pin21)  SPI Master-In Slave-Out
MOSI         GPIO10 (MOSI) (pin19) SPI Master-Out Slave-In
SCK          GPIO11 (SCK) (pin23)  SPI Clock

  • 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 © 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