User manual
NXP Semiconductors
AN11480
Quick Start Up Guide for EXPLORE NFC working with Raspberry Pi
AN11480
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2013. All rights reserved.
Application note
COMPANY PUBLIC
Rev. 1.0 — 17 December 2013
279710
9 of 30
5. Login to the Raspberry Pi and starting the software
This section describes how to compile and run the software for the EXPLORE-NFC
demo board. The steps shown here are especially for the Polling project. In principle the
description can be transferred to the other projects easily. The only procedural
differences will be the naming of the folders.
5.1 Login to the Raspberry Pi
1. Type in username and password, whereas the username is pi and the
password is raspberry.
2. After the command line appears type in startx and hit [Enter]. Wait until the
graphical desktop environment has finished loading.
5.2 Activate SPI
If this is the first start, the configuration menu for the Raspberry Pi will appear
automatically. Otherwise type the following command to open that menu:
sudo raspi-config .
The option to activate SPI can be found as follows:
Advanced Options SPI <Yes>.
Now reboot your Raspberry Pi by typing the following command:
sudo reboot .
5.3 Install additional required software from the package repository
To compile the projects, cmake has to be installed. This can be done by issuing the
command
sudo apt-get update && sudo apt-get install cmake
Note: Your Raspberry Pi has to be connected to the internet in order to obtain the
required packages.
5.4 Starting the Polling software
1. Copy the zip compressed project onto an USB Stick.
2. Connect the USB Stick with the software project to the Raspberry Pi and unzip
the project to the home folder of the pi user.
3. Start the terminal emulator with double clicking on the symbol LXTerminal on
the desktop.
4. Change into the correct directory (in this example it is ~/card_polling/build) with
the command
cd ~/card_polling/build
5. Configure the software with the command cmake ../source
6. Compile the project with the command make
7. Start the polling application with the command ./card_polling