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 PIN Connection to PI
  • 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 4 replies
  • Answers 1 answer
  • Subscribers 10 subscribers
  • Views 1061 views
  • Users 0 members are here
Related

PIN Connection to PI

Former Member
Former Member over 9 years ago

Please provide a specification which of the pins need actually be connected for the NFC reader in it's default configuration (SPI). I would like to connect another addon that is based on the UART, which is not used but within the 26 PIN header blocked by the NFC reader.

 

Thanks.

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

    found in sw3693\linux\shared\phhwConfig.h

    #ifdef NXPBUILD__PHHAL_HW_RC523 //Explore-NFC board

     

    #if BOARD == RaspberryPi_Rev1_Pinout

    #define SPI_CONFIG           "0:0:0" //PN512 is connected to SPI bus 0, CS pin 0, no busy pin

    #define PIN_CS_IN           0

    #define PIN_IRQ               23

    #define PIN_NRST           7

     

     

    #elif BOARD == RaspberryPi_Rev2_Pinout

    #define SPI_CONFIG           "0:0:0" //PN512 is connected to SPI bus 0, CS pin 0, no busy pin

    #define PIN_CS_IN           2

    #define PIN_IRQ               23

    #define PIN_NRST           7

     

     

    #endif

     

    #endif /* NXPBUILD__PHHAL_HW_RC523 */

     

    # during initialisation directions are set

    ret = gpio_set_direction(PIN_CS_IN, false);

    ret = gpio_set_direction(PIN_IRQ, false);

    ret = gpio_set_direction(PIN_NRST, true);

    • SPI: 19,21,23,24 (CS0)
    • PIN_CS_IN 2 (BCM numbering)
    • PIN_NRST 7 (BCM numbering)
    • Does it use 3.3V power only or also 5V?

    Is that correct? Can someone tell if PIN_CS_IN and PIN_NRST use the wiring PIN numbering (and would then map to GPIO2 / physical 13, GPIO7 / physical 7?

    > from the schematic below the numbers used in the code are BCM

    • 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

    Hi Max,

     

    I don't have this board but there is a full schematic here, you can see the 26-way connector at the bottom, marked with all signals and voltages.

    EXPLORE NFC Board Schematic

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

    Perfect. I'll find out if it works with it's i2c lines not conneted.

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

    Perfect. I'll find out if it works with it's i2c lines not conneted.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
No Data
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