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 two extension board wiring
  • 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 Suggested Answer
  • Replies 6 replies
  • Answers 1 answer
  • Subscribers 10 subscribers
  • Views 840 views
  • Users 0 members are here
  • multiple
  • wiring
  • spi
  • explore-nfc
Related

two extension board wiring

Former Member
Former Member over 9 years ago

Dear Element14!

 

First of it, the explore nfc extension board is a realy cool stuff.

 

But, there is a way that I can attach two board at a same time to the raspberry pi 2?

I google a lot of pages witch is say that is possible to work with two spi device, but when I read nfc source files, I found:

 

- (phBalReg_RpiSpi.c)

     #define RPI_EXPLORE_NFC_SPI_CHANNEL<--->0

     #define PIN_NRST 11//26

 

these rows which is why I am afraid that is not possible.


Plese give me some help full stuff to realize two nfc extension board manage at once raspberry pi.


Best regards,

hunszasz

  • Sign in to reply
  • Cancel
  • michaelneurohr
    0 michaelneurohr over 9 years ago

    HI Hunszasz,


    I'm afraid that the software cannot handle two boards at the same time.

    May I ask you what you are planning to do with two NFC boards at the same time?


    Regards,

    Michael

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

    Hi Michael,

     

    I working on an entrance system.Other word, I want to store the in- and outgoing traffic with rfid tags.

     

    Do you see a chance to develop multi SPI feature api in near future?


    Best regards,

    hunszasz

    • 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

    Hi Hunszasz,


    I understand your use case now. Usually such systems are done with embedded readers which are connected to any back end. Such system could consist of the following system:


    LPC1769 [1] + EXPLORE-NFC


    Where the EXPLORE-NFC is connected to the LPC1769 via SPI or I2C and the LPC1769 is connected via USB or Ethernet to the back end. Where the back end could be the Raspberry Pi.

    However, this might require a bit too much effort for a private project. What you could do is, to connect two EXPLORE-NFC to different interfaces on the Raspberry Pi. One to the I2C interface, the other one to the SPI interface.

    You could then simply create two applications for the Raspberry pi running in the background. One operating the EXPLORE-NFC on the I2C interface, the other one on the SPI interface.

    With that method you don't need to take care about arbitration.


    Regards,

    Michael


    [1] uk.farnell.com/nxp/om13000-598/evaluation-board-lpc1769-lpcxpresso/dp/2251815

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

    Hi Michael,

     

    Thank you so much!

     

    Yes, it is a realizable solution that connect two EXPLORE-NFC to raspberry pi via diffrent interface.

    I will create some code for do that, I will let you know the results.


    Best regards,

    hunszasz

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

    Hi Michael,

     

    There is a little problem in above realization, because in EXPLORE NFC feature list[1] there is a row:

    "Flexible interface selection (SPI or I²C), software currently supports SPI"

     

    So the question is how can I connect to EXPLORE NFC board via I2C?

     

    Thank you for your answer in advance.

     

    Best regards,

    hunszasz

     

    [1]EXPLORE-NFC

    • 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

    Hi,

    the reason that only SPI is officially supported is, that the connection in the BAL (Bus Abstraction Layer) is only interfacing with the SPI exchange functions provided by the WiringPi library. You'd have to enhance this BAL to interface with the I2C interface. Two files are required to be changed:

    nxprdlib\comps\phbalReg\src\phbalReg.c

    and

    nxprdlib\comps\phbalReg\src\phBalReg_RpiSpi.c

     

    Additionally you'd have to change the 0 Ohm resistors like indicated on the EXPLORE-NFC from SPI to I2C. For more detailed info please consult the schematics.

     

    Regards,

    Michael

    • 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