User manual
NXP Semiconductors
AN11480
Quick Start Up Guide for EXPLORE NFC working with Raspberry Pi
Please be aware that important notices concerning th
is document and the product(s)
described herein, have been included in the section 'Legal information'.
© NXP B.V. 2013. All rights reserved.
For more information, visit: http://www.nxp.com
For sales
office addresses, please send an email to: salesaddresses@nxp.com
Date of release:
17 December 2013
279710
Document identifier:
AN11480
13. Contents
1. Introduction ......................................................... 3
1.1 What is EXPLORE-NFC? ................................... 3
1.2 What is a Raspberry Pi? .................................... 3
1.3 NXP Reader Library and Linux ........................... 4
2. Software installation ........................................... 5
2.1 Required items ................................................... 5
2.2 Downloading the software .................................. 5
2.3 Preparing the SD card ........................................ 5
3. Hardware installation .......................................... 6
4. Preparation of the demo software for the
Raspberry Pi ........................................................ 8
5. Login to the Raspberry Pi and starting the
software................................................................ 9
5.1 Login to the Raspberry Pi ................................... 9
5.2 Activate SPI........................................................ 9
5.3 Install additional required software from the
package repository ............................................. 9
5.4 Starting the Polling software............................... 9
6. How does the Polling software work? ............. 11
6.1 Functional principle .......................................... 11
6.2 Card detection .................................................. 11
6.3 Detecting Payment cards ................................. 11
7. Card Emulation project ..................................... 13
7.1 How does it work? ............................................ 13
7.2 Configuration of the example project ................ 14
7.3 Building and starting the project ....................... 14
7.4 Changing the predefined NDEF message ........ 14
7.5 Source code of the Java and Android
applications ...................................................... 14
7.6 Program flow .................................................... 15
7.7 Android Application .......................................... 16
7.7.1 The Application ................................................ 16
7.7.2 Installing the Application .................................. 16
7.7.3 First post .......................................................... 19
8. P2P SNEP client project ................................... 22
8.1 How does the SNEP client software work ........ 22
8.2 Choosing the NDEF message .......................... 23
8.3 Folder structure of the project .......................... 23
8.4 Building and starting the project ....................... 23
8.5 Timers .............................................................. 24
8.5.1 Importance of timers ........................................ 24
8.5.2 Selection of the timers ...................................... 24
9. Supplementary notes ........................................ 25
9.1 Turning off the Raspberry Pi ............................ 25
9.2 Resizing the file system .................................... 25
10. References ......................................................... 26
11. Legal information .............................................. 28
11.1 Definitions ......................................................... 28
11.2 Disclaimers ....................................................... 28
11.3 Licenses ........................................................... 28
11.4 Trademarks ...................................................... 28
12. List of figures ..................................................... 29
13. Contents ............................................................. 30