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 & Tria 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
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • 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 card polling problem
  • 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 18 replies
  • Answers 2 answers
  • Subscribers 10 subscribers
  • Views 2917 views
  • Users 0 members are here
Related

card polling problem

Former Member
Former Member over 11 years ago

Hi

 

I have both the first raspberry pi and pi2. I am doing a college project and trying to make an NFC student registering system with the Pi and an explore-NFC add-on board. I have followed every single step from their start-up guide on trying the card_polling project demo but when I type ./card_polling to execute it, it just says:

/****** Begin Polling ******/

 

and stays like that without any further action.

Im using this on my new pi2.

 

Ive fully updated everything required as well! What am I doing wrong?

 

Thanks!

  • Sign in to reply
  • Cancel

Top Replies

  • michaelneurohr
    michaelneurohr over 11 years ago +1 verified
    Hi, the software projects are not working anymore with the latest Raspbian image. Looks like the update is breaking something.
  • Former Member
    0 Former Member over 11 years ago in reply to Former Member

    I am also having the exact same problem.  I'm using the latest Raspbian as of today but I guess I'll try to use an older version.

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

    The project is still working with the version from 24th of December (just tested)

    Index of /raspbian/images/raspbian-2014-12-25

     

    But beware of a apt-get upgrade. That will bring the image to the latest state which breaks the compatibility for the polling project.

     

    Michael

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

    Yeah, I went back to the version released just a few days before the video was released (2014-01-07) and it works fine there.  Anyone know the specifics of what broke in the latest release?

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

    I will give it a try thanks. I didn't even think about using an older version.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • mcb1
    0 mcb1 over 11 years ago in reply to michaelneurohr

    Michael

    Thanks for clarifying that.

     

    Mark

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

    I have the same problem and I tried the Raspbian version suggested above, but for some reason my RPi doesn't even boot up. It works fine with the new versions, but with the older ones it doesn't even boot up -  no idea why. I am using the B+ model. Any ideas? image

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

    Hi,

    you are using the Raspberry Pi 2, right? This one is not supported by images before 31sd of January.

    However another user already explained a way how to use the examples with newer Raspbian images.

    http://www.element14.com/community/message/140892/l/re-neard-explorenfc-neardal-and-reading-a-cards-uid#140892

     

    But I really suggest to use the new software with its new approach. You can find it here:

    http://www.nxp.com/demoboard/PNEV512R.html#documentation

     

    Michael

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

    The card-polling sample works on Raspbery Pi 2 with kernel 3.18, but there is a missing initialization after the line 329 of the file NxpRdLib_PublicRelease/comps/phbalReg/src/R_Pi_spi/phbalReg_R_Pi_spi.c :


    phStatus_t phbalReg_R_Pi_spi_Exchange(
    phbalReg_R_Pi_spi_DataParams_t * pDataParams,
    uint16_t wOption,
    uint8_t * pTxBuffer,
    uint16_t wTxLength,
    uint16_t wRxBufSize,
    uint8_t * pRxBuffer,
    uint16_t * pRxLength
    )
    {
    struct spi_ioc_transfer spi ;
    memset(&spi,0,sizeof(spi));   // add missing initialization


    Have a look at /usr/include/linux/spi/spidev.h to see that not all fields of spi_ioc_transfer are initialized.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject 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 © 2026 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