STMicroelectronics X-NUCLEO-NFC02A1 User's manual

UM1800
User manual
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

June 2016 DocID026705 Rev 3 1/18
www.st.com
1
Contents UM1800
Contents
1 Getting started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.1 Hardware requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.2 System requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.3 Setting up the board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2 Hardware description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.1 X-NUCLEO-NFC02A1 board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.2 Power Supply and GPIO options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.2.1 Power Supply option . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.2.2 GPIO options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.3 X-NUCLEO-NFC02A1 assembly drawing . . . . . . . . . . . . . . . . . . . . . . . . . 9
3 Component description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
4 Block diagram and hardware schematics . . . . . . . . . . . . . . . . . . . . . . . 11
5 Bill of materials (BOM) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
6 Federal Communications Commission (FCC) and
Industry Canada (IC) Compliance Statements . . . . . . . . . . . . . . . . . . . 15
6.1 FCC Compliance Statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
6.1.1 Part 15.19 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
6.1.2 Part 15.105 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
6.1.3 Part 15.21 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
6.2 Formal notices required by the Industry Canada . . . . . . . . . . . . . . . . . . . 15
6.2.1 Compliance Statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
6.2.2 Déclaration de conformité . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
7 Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
2/18 DocID026705 Rev 3
UM1800 List of tables
List of tables
Table 1. Interconnections between STM32 Nucleo board and X-NUCLEO-NFC02A1 (left side). . . . 7
Table 2. Interconnections between STM32 Nucleo board and X-NUCLEO-NFC02A1 (right side) . . 7
Table 3. M24LR04E-R details. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Table 4. BOM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Table 5. Document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
DocID026705 Rev 3 3/18
3
List of figures UM1800
List of figures
Figure 1. Expansion board based on M24LR04E-R for STM32 Nucleo . . . . . . . . . . . . . . . . . . . . . . . 1
Figure 2. Top assembly view . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Figure 3. Functional block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Figure 4. STM32 Nucleo connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Figure 5. M24LR04E-R section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Figure 6. LEDs and power supply selection. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
4/18 DocID026705 Rev 3
UM1800 Getting started

1 Getting started

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 3 5/18
17
Hardware description UM1800

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/18 DocID026705 Rev 3
UM1800 Hardware description

Table 1. Interconnections between STM32 Nucleo board and X-NUCLEO-NFC02A1 (left side)

Signal name
Connector name CN6 Power CN8 Analog
Pin number 12345678123456
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 name CN5 Digital CN9 Digital
Pin number 1098765432187654321
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 3 7/18
MCU_LED1
MCU_LED2
---
MCU_LED3
17
Hardware description UM1800

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/18 DocID026705 Rev 3
UM1800 Hardware description
069
67MXPSHU
SRZHUVWKH670
1XFOHRZLWK0/5
(QHUJ\+DUYHVWLQJ
67MXPSHU
SRZHUVWKH0/5ZLWK
6701XFOHRRUZLWK
(QHUJ\+DUYHVWLQJ
*HQHUDO SXUSRVH
/('V
PPPP
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 3 9/18
17
Component description UM1800

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.

Table 3. M24LR04E-R details

Feature Description
Sales type M24LR04E-R6MNT/2
Package SO8N
Operating voltage 1.8 to 5.5 Volts
10/18 DocID026705 Rev 3
UM1800 Block diagram and hardware schematics
069
$UGXLQR&RQQHFWRU
PP;PP
$QWHQQDORRS
(QHUJ\
+DUYHVWLQJ
,&OLQN
:,3%86<
1XFOHR3RZHU6XSSO\
$UGXLQR&RQQHFWRU
$UGXLQR&RQQHFWRU
67
67
0/5(5
$UGXLQR&RQQHFWRU
9&&
Extension connectors
A0 A1 A2 A3 A4 A5
D0
D1
D2
D4 D3
D5
D6
D7
D8
D9
D10
D14
D15
D13 D12
D11
MCU
Arduino Connector
Arduino Connector
Arduino Connector
PA8 PB10 PB4 PB5 PB3 PA10 PA2 PA3
PB8 PB9
PA5 PA6 PA7 PB6 PC7 PA9
NC IOREF RESET +3V3 +5V GND GND VIN
PA0 PA1 PA4 PB0 PC1 PC0
MCU_LED2
MCU_LED1
1 2 3 4 5 6
CN8
Header 6X1_Female
1 2 3 4 5 6 7 8
CN6
Header 8X1_Female
1
2
3
4
5
6
7
8
9
10
CN5
Header 10X1_Female
1
2
3
4
5
6
7
8
CN9
Header 8X1_Female
3.3V
Arduino Connector
Interface_Pin
SPI_MISO SPI_MOSI
SPI_SCK
/SPI_CS_NFC
MCU_LED3 MCU_LED4
UART_RX/IRQ_OUT
UART_TX/IRQ_IN

4 Block diagram and hardware schematics

Figure 3. Functional block diagram

Figure 4. STM32 Nucleo connectors

DocID026705 Rev 3 11/18
17
Block diagram and hardware schematics UM1800
M24LR_SDA M24LR_SCL
Energy_Harvesting
GND
GND
GND
M24LR_WIP/BUSY
10nF
C3
0
R8
15k
R5
15kR620k
R7
NC
C6 AC1
AC0
Antenna1
VCC
VCC
10nF
C4
GND
NC
C5
VOUT
1
AC0
2
AC1
3
VSS
4
SDA
5
SCL
6
RF WIP/BUSY
7
VCC
8
U1
M24LR04-RMN6T/2
LED1
180
R2
LED2
1k
R3
LED3
560
R4
MCU_LED3
MCU_LED2
MCU_LED1
3.3V
VCC
Energy_Harvesting
11223
3
ST1
112
2
ST2
Energy_Harvesting
3.3V
4.7μF
+
C1
100nF
C2
GND

Figure 5. M24LR04E-R section

Figure 6. LEDs and power supply selection

12/18 DocID026705 Rev 3
UM1800 Bill of materials (BOM)

5 Bill of materials (BOM)

Table 4. BOM

Qty Description Ref Package Manufacturer Part no. Distributor
I2C/NFC EEPROM
1
M24LR04E RMN6T/2
LED, 1206,
1
GREEN Green LED
LED, 1206,
1
BLUE Blue LED
LED, 1206,
1
YELLOW Yellow LED
Capacitor 293D TANTA L SMD POL
1
CAP 4.7µF 16V 10% Boitier A
4.7µF
Capacitor MLCC 0603
2
NP0 50V 2% NC
Capacitor MLCC 0603
1
NP0 50V 5% 100 nF
Capacitor MLCC 0603
2
NP0 50V 5% 10 nF
U1 SO8N STMicroelectronics M24LR04E RMN6T/2 - -
LED1
LED2 5988291107F 2113953
LED3 5988240107F 1465998
C1 293D-A - - - -
(1)
C5,
C6
C2 - -
C3,
C4
LED-1206 DIALIGHT
----
0603
- - 1833871
5988270107F
Farnell
Farnell
Order
code
1466000
1740621
DocID026705 Rev 3 13/18
17
Bill of materials (BOM) UM1800
Table 4. BOM (continued)
Qty Description Ref Package Manufacturer Part no. Distributor
Resistor
2
CMS 0603
0.1W 5% 0
R1,
R8
----
Resistor CMS 0603
1
0.1W 5%
R2 - - - -
180
Resistor CMS 0603
1
0.1W 5%
R48 - - - -
560
0603
Resistor
2
CMS 0603
R3 - - - -
0.1W 5% 1k
Resistor CMS 0603
2
0.1W 5%
R5,
R6
----
15k
Resistor CMS 0603
1
0.1W 5%
R7 - - - -
20k
Connector
1
2pts
(1)
ST2 CON_2PTS_P2.54
77311-401-36LF
FCI
Connector
1
3pts
ST1 CON_3PTS_P2.54 77311-401-36LF 1097954
Order
code
1097954
Receptacle,
2.54 mm,
1
single row,
CN5 1*10P_FEMALE
10WAY
Receptacle,
2.54 mm,
1
single row,
CN8 1*6P_FEMALE SQ-106-03-L-S 2283759
Samtec
6WAY
Receptacle,
2.54 mm,
2
single row,
CN9, CN6
1*8P_FEMALE SQ-108-03-L-S 2283782
8WAY
1. Not fitted
14/18 DocID026705 Rev 3
SQ-110-03-L-S 2283783
Farnell
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 3 15/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/18 DocID026705 Rev 3
UM1800 Revision history

7 Revision history

Table 5. Document revision history

Date Revision Changes
24-Jul-2014 1 Initial release.
Updated document title and Introduction. Removed former sections Section 1: Description, Section 2: Features
and Section 3: Hardware and layout description.
22-Jan-2016 2
Added Sections 1: Getting started, 2: Hardware description, 3:
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-2016 3
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 3 17/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.
© 2016 STMicroelectronics – All rights reserved
18/18 DocID026705 Rev 3
Loading...