ntag5link 2.0.0.0
|
NTAG 5 Link Click is a compact add-on board that acts as a bridge between an NFC-enabled device and any I2C slave, such as a sensor or external memory. This board features the NTA5332, a highly integrated NFC IC which creates a secure standard-based link from the device to the cloud from NXP Semiconductors. Based on the NTAG 5 switch and operating at 13.56MHz, the NTA5332 represents an NFC Forum-compliant contactless tag that can be read and written by an NFC-enabled device at close range and by an ISO/IEC 15693-enabled industrial reader over a more extended range. It also incorporates an I2C interface with an I2C master features and AES mutual authentication, SRAM memory, and energy harvesting possibility, which means it can supply power to other components in the system.
We provide a library for the NTAG 5 Link 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 NTAG 5 Link Click driver.
ntag5link_cfg_setup
Config Object Initialization function. ntag5link_init
Initialization function. ntag5link_default_cfg
Click Default Configuration function. ntag5link_write_ndef_uri_record
This function writes specific NDEF URI record to the memory address specified with NTAG5LINK_NDEF_MESSAGE_START_ADDRESS macro. ntag5link_write_message_to_memory
This function writes specified number of data bytes to the user memory starting from block_addr. ntag5link_read_message_from_memory
This function reads specified number of data bytes from the user memory starting from block_addr. This example demonstrates the use of NTAG 5 Link click board by programming the specified NDEF URI record to the memory, and showing the memory read/write feature.
The demo application is composed of two sections :
Initializes the driver and logger and performs the click default configuration which
enables the device and formats its user memory. After that it programs the specified NDEF URI record to the memory.
Writes a desired number of data bytes to the memory and verifies that it is written
correctly by reading from the same memory location and displaying the memory content on the USB UART approximately every 5 seconds.
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.