nfc
2.1.0.0
|
NFC click is a mikroBUS™ add-on board with a versatile near field communications controller from NXP — the PN7120 IC. NFC devices are used in contactless payment systems, electronic ticketing, smartcards, but also in retail and advertising — inexpensive NFC tags can be embedded into packaging labels, flyers or posters.
We provide a library for the NFC Click as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Package can be downloaded/installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
This library contains API for NFC Click driver.
nfc_cfg_setup
Config Object Initialization function. nfc_init
Initialization function. nfc_default_cfg
Click Default Configuration function. nfc_hw_reset
HW reset function. nfc_get_data
Get data function. nfc_cmd_disable_standby_mode
Disable standby mode command function. This is an example which demonstrates the usage of NFC Click board.
The demo application is composed of two sections :
Initializes driver and logger, then performs hardware reset, puts the device in operating mode by
disabling standby mode, performs test procedure, and configures the device to start discovery.
NFC Click board can be used for detection of RFiD tag
and displays it's value via USART terminal. All data logs write on USB uart changes for every 1 sec.
The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
Other Mikroe Libraries used in the example:
Additional notes and informations
Depending on the development board you are using, you may need USB UART click, USB UART 2 Click or RS232 Click to connect to your PC, for development systems with no UART to USB interface available on the board. UART terminal is available in all MikroElektronika compilers.