UM3034 User manual Getting started with the STEVAL-SMARTAG2 NFC dynamic tag sensor and processing node evaluation board Introduction STEVAL-SMARTAG2 is an NFC-enabled sensor node, which embeds inertial MEMS sensors and environmental sensors, an STM32 microcontroller, and a dynamic NFC tag for communication with NFC readers, such as tablets and smartphones.
UM3034 Getting started Getting started Safety operating use and conditions Any use of this device not specified by the manufacturer might compromise the protection mechanisms that come with the device. • All components, with few exceptions, have an operating temperature range from -40 to +85°C. Some components, such as the STM32L4P5CG microcontroller and the...
Page 3
UM3034 Safety operating use and conditions • LIS2DUXS12 – Operating conditions: temperature -40 to +85°C, acceleration up to 16 g. – Absolute maximum ratings: voltage -0.3 to 4.3 V, storage temperature -40 to +125°C, acceleration 10’000 g for 0.2 ms, 3000 g for 0.5 ms. •...
UM3034 Overview Overview Figure 2. STEVAL-SMARTAG2 components Note: Components highlighted in yellow are populated at the factory. Components highlighted in gray are optional. STEVAL-SMARTAG2 components • ST25DV64KC-JF6D3 dynamic NFC/RFID tag with a 64-Kbit EEPROM, fast transfer mode capability, and an operating band of 13.56 MHz (HF). It is a two-wire I²C serial interface (up to 1 MHz), with a contactless interface based on the ISO/IEC 15693 (all modulations, coding, sub-carrier modes, and data rates).
Page 5
UM3034 Overview • Inertial sensors: – LSM6DSO32X inertial module (iNEMO) with 6DoF (degrees of freedom): three-axis accelerometer (4, 8, 16, 32 g full-scale) and three-axis gyroscope (125, 250, 500, 1000, 2000 dps full scale). The peak power consumption is 0.55 mA for the accelerometer and gyroscope in the high-performance mode at 6.6 kHz output data rate (ODR) and can be reduced down to 4.4 µA for the accelerometer only in the ultra-low power mode at 1.6 Hz ODR.
Page 6
• Flash/debug 14-pin connector to be used with an ST-LINK in-circuit debugger/programmer. STEVAL-SMARTAG2 optional components • LSM6DSO32X configured as a sensor hub: the I²C bus interface of each environmental sensors (excluding the ambient light sensor) can be re-routed to the LSM6DSO32X, which is equipped with an auxiliary I²C bus interface.
Page 7
UM3034 Overview • STBC15 ultra-low current consumption linear battery charger. It is bases on a constant current and constant voltage (CC/CV) charging algorithm. It embeds overdischarge and overcurrent protections to protect the battery. The device can be put in shelf-mode, consuming only 10 nA and not discharging the battery before the activation.
Channel spacing: the tag receives on a unique channel Battery insertion/removal Insert/remove the battery as shown below. Figure 3. STEVAL-SMARTAG2 - battery insertion/removal Important: To make the board operate correctly, ensure that the battery is inserted with the positive pole up. UM3034 - Rev 1...
(typical 0.84 µA, maximum 1.5 µA). Figure 4. STEVAL-SMARTAG2 architecture and communication paths Components highlighted in yellow are populated at the factory. Components highlighted in gray are optional. Inertial sensors have a dedicated SPI bus interface (SPI1). This SPI supports a faster communication speed (up to 10 Mbps) with respect to the I²C.
UM3034 RF communication performance • GPIO1, INT_TEM, and INT_PRE interrupt lines respectively from VD6283TX ambient light sensor, STTS22H contact temperature sensor, and LPS22DF ambient pressure sensor. Note: When the microcontroller supplies power to other components in the system, follow specific sequences to enable/disable the SPI interface and use the CS chip select.
Battery mode: the CR2032 must be present and its voltage must be higher than the voltage of the V_EH line. Figure 5. STEVAL-SMARTAG2 power path Components highlighted in yellow are populated at the factory. Components highlighted in gray are optional. ST25DV64KC NFC EEPROM can be powered via the NFC field or via the dedicated line from the microcontroller (VDD_EEP).
UM3034 Power-on and power-off sequences • The additional energy harvester consists of a chain of tuning inductors or 0 R resistors, four diodes in a full-wave rectifier configuration, MOSFETs for power gating, a capacitor bank for energy storage, and a Zener diode for the overvoltage protection.
UM3034 Programming and debugging Programming and debugging System requirements To program and debug the STEVAL-SMARTAG2, you need: • STLINK-V3MINI in-circuit debugger • a GUI utility (STM32CubeProgrammer) to program the target microcontroller through the in-circuit debugger • a serial terminal emulator such as...
How to program the board 4.2.1 How to program the board with STM32CubeProgrammer Step 1. Select ST-LINK from the pull-down menu in the top left corner. Then, press the [Connect] button. Figure 7. Selecting ST-LINK and connecting the board Step 2.
UM3034 How to program the board Step 3. Press [Browse] to navigate the file system, select, and open the binary program. Then press [Start Programming] and wait for the process to be completed. Figure 9. Browse and start programming Step 4. Press [OK] to acknowledge the completion of the programming process.
How to display the firmware output using Tera Term Step 1. Select [File][New Connection]. Figure 11. New connection selection Step 2. Select the COM port associated with the ST-LINK and confirm with [OK]. Figure 12. COM port selection Step 3. Select [Setup]>[Serial Port]. Figure 13.
Configure the serial port parameters as shown in the figure below. Figure 14. Serial port configuration Note: To enable/disable this UART functionality on the STEVAL-SMARTAG2 board, you must recompile the code by uncommenting/commenting the line: #define SMARTAG2_ENABLE_PRINTF in the Projects\ STM32L4P5CE-SmarTag2\Examples\SmarTag2\Inc\SMARTAG2_config.h file.
UM3034 How to program the board Figure 15. FP-SNS-SMARTAG2 UART output initialization After the auto-start range time, the samples are logged using the written configuration on the NFC tag (or the default one, if not available). UM3034 - Rev 1 page 18/38...
UM3034 How to program the board Figure 16. FP-SNS-SMARTAG2 UART output auto-start When the smartphone is close to the NFC tag, the message "Detected NFC FIELD On" appears. UM3034 - Rev 1 page 19/38...
UM3034 How to program the board Figure 17. FP-SNS-SMARTAG2 UART output NFC on When the smartphone is kept distant from the NFC tag, the message "Detected NFC FIELD Off" appears together with the new configuration if a new one is detected. UM3034 - Rev 1 page 20/38...
UM3034 Bill of materials Bill of materials Table 1. STEVAL-SMARTAG2 bill of materials Item Q.ty Ref. Value Description Manufacturer Order code Ultra-low-power with FPU Arm Cortex-M4 MCU STM32L4P5CG 120 MHz with U6, UFQFPN 48 1024 kbytes of STM32L4P5CGU6 7x7x0.55 mm...
Page 29
UM3034 Bill of materials Item Q.ty Ref. Value Description Manufacturer Order code Low power high- g 3-axis accelerometer, SPI/I2C digital H3LIS331DLTR, output MEMS LLGA 16 H3LIS331DLTR motion sensor, 3x3x1.0 user-selectable full scales of ±100g/±200g/ ±400g Low-voltage, ultra-low-power, STTS22HTR, 0.5°C accuracy UDFN 2X2X.55 STTS22HTR I2C/SMBus 3.0...
Page 30
UM3034 Bill of materials Item Q.ty Ref. Value Description Manufacturer Order code C1, C2, C3, C27, Samsung 22u, C0402, 6.3 CAP CER 22UF C28, C29, Electro- CL05A226MQ5N6J8 V, ±20 % 6.3V X5R 0402 C30, C31 Mechanics N.A. C12, C14, Samsung C19, C22, 1u, C0402, 6.3 V, CAP CER 1UF...
Page 31
UM3034 Bill of materials Item Q.ty Ref. Value Description Manufacturer Order code RES SMD 47K R3, R4 47k, R0402, 5 % OHM 5% 0402 YAGEO RC0402JR-0747KL (not assembled) RES SMD 4.7K 4.7k, R0402, 5 % YAGEO RC0402JR-074K7L OHM 5% 0402 RES SMD 3.3M 3.3M, R0402, 5 OHM 5% 1/16W...
STEVAL-SMARTAG2 versions PCB version Schematic diagrams Bill of materials STEVAL$SMARTAG2A STEVAL$SMARTAG2A schematic diagrams STEVAL$SMARTAG2A bill of materials 1. This code identifies the STEVAL-SMARTAG2 evaluation board first version. It is printed on the board PCB. UM3034 - Rev 1 page 32/38...
Conformity. Notice for the United Kingdom The STEVAL-SMARTAG2 is in compliance with the UK Radio Equipment Regulations 2017 (UK SI 2017 No. 1206 and amendments) and with the Restriction of the Use of Certain Hazardous Substances in Electrical and Electronic Equipment Regulations 2012 (UK SI 2012 No. 3032 and amendments). Applied standards are listed in the UK Declaration of Conformity.
STEVAL-SMARTAG2 architecture and communication paths ........
Page 38
ST’s terms and conditions of sale in place at the time of order acknowledgment. Purchasers are solely responsible for the choice, selection, and use of ST products and ST assumes no liability for application assistance or the design of purchasers’...
Need help?
Do you have a question about the STEVAL-SMARTAG2 and is the answer not in the manual?
Questions and answers