nfc4 2.0.0.0
|
NFC 4 Click is a compact add-on board that contains an NFC transceiver for contactless communication. This board features the ST25R3916, a multi-purpose NFC transceiver supporting passive peer-to-peer functionality and NFC card-emulation mode, as well as NFC reader operation from STMicroelectronics. It features high RF output power to directly drive an antenna etched on the PCB, alongside its tuning circuit, at high efficiency.
We provide a library for the NFC4 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 NFC4 Click driver.
nfc4_cfg_setup
Config Object Initialization function. nfc4_init
Initialization function. nfc4_default_cfg
Click Default Configuration function. nfc4_get_mifare_tag_uid
This function reads the UID of a mifare tag. nfc4_write_register
This function writes a desired data to the selected register. nfc4_read_register
This function reads a desired data from the selected register. This example demonstrates the use of NFC 4 Click board by reading MIFARE ISO/IEC 14443 type A tag UID.
The demo application is composed of two sections :
Initializes the driver and performs the click default configuration.
If there's a tag detected, it reads its UID and displays it on the USB UART every 500ms.
For testing purposes we used 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.