
1 FP-SNS-SMARTAG1 software description
1.1 Overview
The key features of the FP-SNS-SMAR
T
AG1
package are:
• Complete firmware to access data from an IoT node with dynamic NFC tag, environmental and motion
sensors
• Ultra-low power operations, with the support of energy harvesting and battery operated use cases
• Compatible with the ST SmarTag application for Android/iOS for reading and displaying sensor data
• Sample implementation available for the STEVAL-SMARTAG1 evaluation board, and for the X-NUCLEO-
IKS01A2 and X-NUCLEO-NFC04A1 expansion boards connected to a NUCLEO-L053R8 development
board
• Easy portability across different MCU families, thanks to STM32Cube
• Free, user-friendly license terms
This software tracks temperature, pressure, humidity and vibration values in a fixed time range and sends them
via NFC. Using an Android or iOS device the logged data can be monitored/displayed.
The software gathers:
• the temperature, humidity, pressure, and vibration sensor drivers for the HTS221
, LPS22HB, LSM6DSL,
LSM303AGR and ST25DV04K devices for the X-NUCLEO-IKS01A2 and X-NUCLEO-NFC04A1 expansion
boards connected to a NUCLEO-L053R8 running on STM32.
• the temperature, humidity, pressure, and vibration sensor for the HTS221, LPS22HB, LIS2DW12 and
ST25DV64K devices for the STEVAL-SMARTAG1 evaluation board running on STM32.
1.2
This package is compatible with the ST SmarTag Android/iOS (Ver. 1.0.0 or higher) application available at the
respective GooglePlay/iTunes store, which can be used to display information sent via dynamic NFC/RFID tag
protocol.
Architecture
The STM32Cube
function packs leverage the modularity and interoperability of STM32 Nucleo and X-NUCLEO
boards, and STM32Cube and X-CUBE software, to create function examples, embodying some of the most
common use cases, for each application area.
These software function packs are designed to exploit as much as possible the underlying STM32 ODE hardware
and software components to best fit the requirements of final users’ applications.
Moreover, function packs may include additional libraries and frameworks which do not present the original X-
CUBE packages, thus enabling new functionalities and creating a real and usable system for developers.
STMCube™ is designed by STMicroelectronics to reduce development effort, time and cost across the entire
STM32 portfolio.
STM32Cube version 1.x includes:
• STM32CubeMX, a graphical software configuration tool that allows the generation of C initialization code
using graphical wizards.
• A comprehensive embedded software platform specific to each series (such as the STM32Cube for the
STM32 series), which includes:
– the STM32Cube HAL embedded abstraction-layer software, ensuring maximized portability across the
STM32 portfolio
– a consistent set of middleware components such as RTOS, USB, TCP/IP and graphics
– all embedded software utilities with a full set of examples
To access and use the sensor expansion board, the application software uses:
• STM32Cube HAL layer: provides a simple, generic and multi-instance set of generic and extension APIs
(application programming interfaces) to interact with the upper layer application, libraries and stacks. It is
directly based on a generic architecture and allows the layers that are built on it, such as the middleware
UM2389
FP-SNS-SMARTAG1 software description
UM2389 - Rev 1
page 2/28