nfc6 2.1.0.0
|
NFC 6 Click is a compact add-on board that contains an NFC transceiver for contactless communication. This board features the ST25R95, a near-field communication transceiver from STMicroelectronics. It supports reader and writer operating modes and emulates ISO/IEC 14443-3 Type A cards. The RF communications are done over the 13.56MHz. The transceiver features tag detection mode, field detection mode, transmission and reception modes, and more.
We provide a library for the NFC 6 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 6 Click driver.
nfc6_cfg_setup
Config Object Initialization function. nfc6_init
Initialization function. nfc6_default_cfg
Click Default Configuration function. nfc6_send_command
This function sends a desired command by using SPI serial interface. nfc6_read_data
This function reads a response data bytes by using SPI serial interface. nfc6_read_mifare_tag_uid
This function reads the UID of a MIFARE ISO14443-A type tags with 4-byte or 7-byte UIDs. This example demonstrates the use of NFC 6 Click board by reading MIFARE ISO/IEC 14443 type A tag UID.
The demo application is composed of two sections :
Initializes the driver and logger, performs the click default configuration and reads the device ID.
If there's a tag detected, it reads its UID and displays it on the USB UART every 500ms.
Only ISO14443-A type tags with 4-byte or 7-byte UIDs are compatible with this example.
We recommend MIKROE-1475 - an RFiD tag 13.56MHz compliant with ISO14443-A standard.
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.