Getting started with X-NUCLEO-NFC02A1 dynamic NFC/RFID tag
IC expansion board based on M24LR04E-R for STM32 Nucleo
Introduction
The X-NUCLEO-NFC02A1 is a dynamic NFC/RFID tag IC expansion board based on
M24LR04E-R to allow expansion of STM32 Nucleo boards.
M24LR04E-R is an NFC Type V/RFID tag IC with a dual interface 4 Kbit Electrically
Erasable Programmable Read-Only Memory (EEPROM) that also features an I2C interface.
It can be operated either from an external power supply, or directly powered by the received
carrier electromagnetic field.
X-NUCLEO-NFC02A1 is compatible with the Arduino™ UNO R3 connector pin assignment
and can readily be plugged onto any STM32 Nucleo board. Various expansion boards can
be easily stacked to allow evaluation of different devices operating together with the
dynamic NFC TAG.
The board, shown in Figure 1, features:
• On-board M24LR04E-R NFC Type V/RFID tag IC
• Copper etched, double layer 30 mm * 30 mm PCB Antenna
• Selectable power supply: the board is either powered from the STM32 Nucleo Board or
self-powered
• Three general purpose LEDs
Figure 1. Expansion board based on M24LR04E-R for STM32 Nucleo
This section describes the hardware requirements for the X-NUCLEO-NFC02A1 expansion
board for STM32 Nucleo.
1.1 Hardware requirements
The X-NUCLEO-NFC02A1 is an expansion board to be used with STM32 Nucleo boards.
To operate correctly, the X-NUCLEO-NFC02A1 must be connected to the STM32 Nucleo
board.
The STM32 Nucleo firmware and the related documentation are available on www.st.com.
The interconnection between the STM32 Nucleo and the X-NUCLEO-NFC02A1 is designed
so that any STM32 Nucleo board can be used. Complete testing has been performed on the
NUCLEO-L053R8 (based on the ultra-low power STM32L053R8), and the
NUCLEO-F401RE (hosting the dynamically efficient STM32F401RE).
1.2 System requirements
To use the STM32 Nucleo boards with the X-NUCLEO-NFC02A1 expansion board and to
install the board firmware package (order code: X-CUBE-NFC2) the user needs
•a PC with Keil®, IAR™ or Keil® AC6 Embedded Development Tool
•a USB type A to Mini-B USB cable to connect the STM32 Nucleo board to the PC
The X-CUBE-NFC2 firmware and the related documentation are available on www.st.com.
The microcontroller on the STM32 Nucleo board must be programmed. For further
information about usage of STM32 Nucleo board, refer to user manuals UM1724 and
UM1725, available on www.st.com.
1.3 Setting up the board
To set up the board, perform the following steps:
1.Check that the jumper on the ST1 connector X-NUCLEO-NFC02A1 is in place. This
jumper provides the required voltage to the device on the board
2. Connect the X-NUCLEO-NFC02A1 on the STM32 Nucleo board from the top
3. Power the STM32 Nucleo board using the Mini-B USB cable
4. Program the firmware in the STM32 on the Nucleo board using the provide example
5. Reset the MCU board using the reset button available on the STM32 Nucleo board
6. The kit is ready to be used
DocID026705 Rev 35/18
17
Hardware descriptionUM1800
2 Hardware description
This section describes the X-NUCLEO-NFC02A1 features and provides useful information
to understand the board schematic diagrams.
2.1 X-NUCLEO-NFC02A1 board
The board allows the user to test the functionality of the M24LR04E-R device, a Dynamic
NFC/RFID tag IC with a dual-interface EEPROM. It features an I2C interface and can be
operated from a VCC power supply. It is also a contactless memory powered by the
received carrier electromagnetic wave.
The M24LR04E-R is organized as 512 × 8 bits in the I2C mode and as 128 × 32 bits in RF
mode. The M24LR04E-R also features an energy harvesting analog output, as well as a
user-configurable digital output pin toggling during either RF write in progress or RF busy
mode.
The M24LR04E-R provides an Energy Harvesting mode on the analog output pin Vout.
When the Energy Harvesting mode is activated, the M24LR04E-R can output the excess
energy coming from the RF field on the Vout analog pin. In case the RF field strength is
insufficient or when Energy Harvesting mode is disabled, the analog output pin Vout goes
into high-Z state and Energy Harvesting mode is automatically stopped.
The M24LR04E-R also features an user configurable open drain output pin toggling during
either during RF Write in Progress or RF Busy.
These functionalities can be exploited using the firmware package X-CUBE-NFC2.
Two versions of X-NUCLEO-NFC02A1 exist, a red one and a blue one. They have the same
functionality, the differences between them are the board color and the designation of
Arduino™ connectors. More in detail, the following equivalence applies:
•CN5 = CN1
•CN6 = CN2
•CN8 = CN3
•CN9 = CN4
The X-NUCLEO-NFC02A1 expansion board and the STM32 Nucleo board are connected
through connectors CN5, CN6, CN8 and CN9 (see
Table 1 and Ta bl e 2 for details).
6/18DocID026705 Rev 3
UM1800Hardware description
Table 1. Interconnections between STM32 Nucleo board and X-NUCLEO-NFC02A1 (left side)
Signal name
Connector nameCN6 PowerCN8 Analog
Pin number12345678123456
NUCLEO-L053R8
(MCU port)
X-NUCLEO-NFC02A1
Expansion board
NC
IOREF
RESET
--------
-
-
3V3
3V3
3V3
5V
GND
GND
GND
GND
A0
A1
A2
A3
A4
VIN
PA0
PA1
PA4
PB0
-------
A5
PC1/PB9
PC0/PB8
Table 2. Interconnections between STM32 Nucleo board and X-NUCLEO-NFC02A1 (right side)
Signal name
Connector nameCN5 DigitalCN9 Digital
Pin number1098765432187654321
NUCLEO-L053R8
(MCU port)
D15
PB8
D14
--
PB9
AREF
D13
GND
PA5
D12
PA6
D11
PA7
D10
PB8
D9
PC7
D8
PA9
D7
PA8
D6
PB10
D5
PB4
D4
PB5
D3
PB3
D2
PA1 0
D1
PA2
D0
PA3
X-NUCLEO-NFC02A1
Expansion board
M24LR_SCL
-
M24LR_SDA
GND
-
------
M24LR_WIP/BUSY (opt)
2.2 Power Supply and GPIO options
2.2.1 Power Supply option
The X-NUCLEO-NFC02A1 board contains the M24LR04E chip. In addition to basic
functionalities (NFC & I2C) of this dynamic NFC/RFID tag IC, some jumpers on board permit
to configure extra features.
•ST1: selects the M24LR power source: external (Nucleo Board power supply) or
M24LR energy harvesting
•ST2: M24LR energy harvesting is used to power Nucleo STM32 board.
If this feature is used, user has to make sure that the Nucleo STM32 board can
accommodate this power configuration (SB2&SB12 removed).
DocID026705 Rev 37/18
MCU_LED1
MCU_LED2
---
MCU_LED3
17
Hardware descriptionUM1800
2.2.2 GPIO options
The M24LR_WIP/BUSY optional signal can be disconnected from the Nucleo STM32 Board
by removing R1 resistor.
The same option applies to the lines driving the 3 general purpose LEDs (MCU_LED1,
MCU_LED2 and MCU_LED3), that can be dedicated to other purposes (by removing,
respectively, R2, R3 and R4).
Refer to the schematic diagrams for details.
In case these connections are modified the firmware must be updated to enable proper use
of the STM32 resources.
8/18DocID026705 Rev 3
UM1800Hardware description
069
67MXPSHU
SRZHUVWKH670
1XFOHRZLWK0/5
(QHUJ\+DUYHVWLQJ
67MXPSHU
SRZHUVWKH0/5ZLWK
6701XFOHRRUZLWK
(QHUJ\+DUYHVWLQJ
*HQHUDO
SXUSRVH
/('V
PPPP
DQWHQQD
2.3 X-NUCLEO-NFC02A1 assembly drawing
Figure 2 shows the components on the X-NUCLEO-NFC02A1 board.
Figure 2. Top assembly view
DocID026705 Rev 39/18
17
Component descriptionUM1800
3 Component description
The main component on the board is the M24LR04E-R, a dynamic NFC Tag Type V,
featuring a 4 Kbit EEPROM, an energy harvesting solution and a configurable open drain
output to indicate either RF write in progress or RF busy mode.
The communication between the device and the STM32 Nucleo boards is through I2C
interface, and, optionally, through a GPIO for M24LR_WIP/BUSY signal.
The configuration used to develop this application is detailed in Table 3.
UM1800Federal Communications Commission (FCC) and Industry Canada (IC) Compliance State-
6 Federal Communications Commission (FCC) and
Industry Canada (IC) Compliance Statements
6.1 FCC Compliance Statement
6.1.1 Part 15.19
This device complies with Part 15 of the FCC Rules. Operation is subject to the following
two conditions: (1) this device may not cause harmful interference, and (2) this device must
accept any interference received, including interference that may cause undesired
operation.
6.1.2 Part 15.105
This equipment has been tested and found to comply with the limits for a Class B digital
device, pursuant to part 15 of the FCC Rules. These limits are designed to provide
reasonable protection against harmful interference in a residential installation. This
equipment generates uses and can radiate radio frequency energy and, if not installed and
used in accordance with the instructions, may cause harmful interference to radio
communications. However, there is no guarantee that interference will not occur in a
particular installation. If this equipment does cause harmful interference to radio or
television reception, which can be determined by turning the equipment off and on, the user
is encouraged to try to correct the interference's by one or more of the following measures:
•Reorient or relocate the receiving antenna.
•Increase the separation between the equipment and the receiver.
•Connect the equipment into an outlet on a circuit different from that to which the
receiver is connected.
•Consult the dealer or an experienced radio/TV technician for help.
6.1.3 Part 15.21
Any changes or modifications to this equipment not expressly approved by
STMicroelectronics may cause harmful interference and void the user’s authority to operate
this equipment.
6.2 Formal notices required by the Industry Canada
6.2.1 Compliance Statement
This device complies with Industry Canada licence-exempt RSS standard(s). Operation is
subject to the following two conditions: (1) this device may not cause interference, and (2)
this device must accept any interference, including interference that may cause undesired
operation.
6.2.2 Déclaration de conformité
Le présent appareil est conforme aux CNR d’Industrie Canada applicables aux appareils
radio exempts de licence. L’exploitation est autorisée aux deux conditions suivantes: (1)
DocID026705 Rev 315/18
17
Federal Communications Commission (FCC) and Industry Canada (IC) Compliance Statements
l’appareil ne doit pas produire de brouillage, et (2) l’utilisateur de l’appareil doit accepter tout
brouillage radioélectrique subi, même si le brouillage est susceptible d’en compromettre le
fonctionnement.
16/18DocID026705 Rev 3
UM1800Revision history
7 Revision history
Table 5. Document revision history
DateRevisionChanges
24-Jul-20141Initial release.
Updated document title and Introduction.
Removed former sections Section 1: Description, Section 2: Features
Component description, 4: Block diagram and hardware schematics, 5:
Bill of materials (BOM) and 6: Federal Communications Commission
(FCC) and Industry Canada (IC) Compliance Statements, and their
subsections.
Updated Figure 1: Expansion board based on M24LR04E-R for STM32
Nucleo and Figure 4: STM32 Nucleo connectors.
Updated Section 2.1: X-NUCLEO-NFC02A1 board.
07-Jun-20163
Updated Table 1: Interconnections between STM32 Nucleo board and
X-NUCLEO-NFC02A1 (left side), Table 2: Interconnections between
STM32 Nucleo board and X-NUCLEO-NFC02A1 (right side) and
Table 4: BOM.
DocID026705 Rev 317/18
17
UM1800
IMPORTANT NOTICE – PLEASE READ CAREFULLY
STMicroelectronics NV and its subsidiaries (“ST”) reserve the right to make changes, corrections, enhancements, modifications, and
improvements to ST products and/or to this document at any time without notice. Purchasers should obtain the latest relevant information on
ST products before placing orders. ST products are sold pursuant to ST’s terms and conditions of sale in place at the time of order
acknowledgement.
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’ products.
No license, express or implied, to any intellectual property right is granted by ST herein.
Resale of ST products with provisions different from the information set forth herein shall void any warranty granted by ST for such product.
ST and the ST logo are trademarks of ST. All other product or service names are the property of their respective owners.
Information in this document supersedes and replaces information previously supplied in any prior versions of this document.