STMicroelectronics X-NUCLEO-EEPRMA2 User Manual

UM2665
User manual
Introduction
The X-NUCLEO-EEPRMA2 expansion board is designed for M24xx series I²C and M95xx series SPI EEPROM for data reading and writing.
The expansion board acts as an external storage device that can be used to store data such as manufacturing traceability, calibration, user settings, error flags, data logs and monitoring data to make applications more flexible and accurate.
The X-NUCLEO-EEPRMA2 expansion board is compatible with the Arduino UNO R3 connector pin assignment and can be easily plugged to any STM32 Nucleo development board. You can mount the ST morpho connectors if required.
Figure 1. X-NUCLEO-EEPRMA2 expansion board
UM2665 - Rev 3 - August 2020
For further information contact your local STMicroelectronics sales office.
www.st.com

1 Acronyms and abbreviations

Table 1. List of acronyms
Acronym Description
EEPROM Electrically erasable programmable read only memory
MHz Mega Hertz
MCU Microcontroller unit
SPI Serial peripheral interface
I2C Inter-integrated circuit
UM2665
Acronyms and abbreviations
UM2665 - Rev 3
page 2/23

2 Getting started

2.1 Overview

The X-NUCLEO-EEPRMA2 main features are:
Up to 1-Mbit serial I²C bus embedded EEPROM
Up to 4-Mbit SPI bus embedded EEPROM
Easy portability across different MCU families
Equipped with Arduino™ UNO R3 connector
Compatible with STM32 Nucleo boards
Free comprehensive development firmware library and sample implementation available when the X-
NUCLEO-EEPRMA2 expansion board is plugged on top of a NUCLEO-F401RE or NUCLEO-L053R8
development board
Developer can choose and solder an EEPROM to be tested using the evaluation software provided

2.2 Typical applications

The X-NUCLEO-EEPRMA2 expansion board acts as an external storage device that can be used for storing data such as manufacturing traceability, calibration data, user setting, error flags, data log and monitoring data to make applications more flexible and accurate.
UM2665
Getting started
UM2665 - Rev 3
page 3/23

2.3 Hardware requirements

To use STM32 Nucleo development boards with the X-NUCLEO-EEPRMA2 expansion board, connect the boards as shown below.
Figure 2. X-NUCLEO-EEPRMA2 expansion board connected to an STM32 Nucleo development board
UM2665
Hardware requirements
2.4
2.5
UM2665 - Rev 3
The EEPROM communicates with the STM32 Nucleo development board host microcontroller through the SPI or I²C signals available on the Arduino UNO R3 connector.
The X-NUCLEO-EEPRMA2 has been designed to allow using any STM32 Nucleo board, although complete testing has been performed using the NUCLEO-F401RE and NUCLEO-L053R8 boards.

System requirements

To use the STM32 Nucleo development boards with the X-NUCLEO-EEPRMA2 expansion board you need:
a Windows PC/laptop (Windows 7 or above) to install the firmware package (X-CUBE-EEPRMA1)
a type A to Mini-B USB cable to connect the STM32 Nucleo board to the PC
an STM32 Nucleo development board (NUCLEO-F401RE or NUCLEO-L053R8)
an X-NUCLEO-EEPRMA2 expansion board

Board setup

Step 1. Check the jumper on J1 and J2 connectors are connected.
These jumpers provide the required voltage to the devices.
Step 2. Ensure jumper on J11 is put between VCC and WPn.
Step 3. Ensure jumper on J10 is put between U7_Sn and CN5_3_U7_Sn.
page 4/23
Step 4. Connect the X-NUCLEO-EEPRMA2 to the STM32 Nucleo board as shown in Figure 2.
Step 5. Power the STM32 Nucleo development board using the Mini-B USB cable.
Step 6. Program the firmware in the development board.
Step 7. Reset the MCU board using the reset button on the STM32 Nucleo development board.
The evaluation kit is ready-to-use.
UM2665
Board setup
UM2665 - Rev 3
page 5/23
UM2665
Hardware description and configuration

3 Hardware description and configuration

3.1 Interconnection details

The X-NUCLEO-EEPRMA2 expansion board and the NUCLEO-L053R8 or NUCLEO-F401RE board connection details are listed below.
Table 2. X-NUCLEO-EEPRMA2 and NUCLEO-L053R8 connection details (left connector)
Signal name
NC IOREF RESET 3V3 5V GND GND VIN A0 A1 A2 A3 A4 A5
Connector name
CN6 Power CN8 Analog
Pin number
1 2 3 4 5 6 7 8 1 2 3 4 5 6
NUCLEO-L053R8 MCU port
NRST PA0 PA1 PA4 PB0 PC1/PB9 PC0/PB8
NUCLEO-L053R8 MCU signals
3.3 V RESET
REF
NC 3V3 GND GND M95_WPn M24_VCC M95_Hn U8_Sn
3.3 V input/
output
5 V
output
GND GND
POWER
INPUT
X-NUCLEO-EEPRMA2 expansion board signals
ADC_IN0 ADC_IN1 ADC_IN4 ADC_IN8
ADC_IN11(PC1)
or
I2C1_SDA(PB9)
ADC_IN10(PC0)
or
I2C1_SCL(PB8)
UM2665 - Rev 3
page 6/23
UM2665
Interconnection details
Table 3. X-NUCLEO-EEPRMA2 and NUCLEO-L053R8 connection details (right connector)
Signal name
D15 D14 AREF GND D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
Connector name
CN5 Digital CN9 Digital
Pin number
10 9 8 7 6 5 4 3 2 1 8 7 6 5 4 3 2 1
NUCLEO-L053R8 MCU port
PB8 PB9 PA5 PA6 PA7 PB6 PC7 PA9 PA8 PB10 PB4 PB5 PB3 PA10 PA2 PA3
NUCLEO-L053R8 MCU signals
I2C_SCL
I2C_SDA
M24_I2C_SCL
M24_I2C_SDA
AVDD
GND
GND
SPI1_SCK
SPI1_MISO
M95_MISO
M95_SCLK
SPI1_CS
TIM12_CH2
TIM12_CH2 SPI1_MOSI
X-NUCLEO-EEPRMA2 shield signals
M95_MOSI
U6_Sn
CN5_3_U7_Sn
TIM2_CH3
TIM12_CH1
TIM2_CH2
U5_Sn
USART2_TX
Table 4. X-NUCLEO-EEPRMA2 and NUCLEO-F401RE connection details (left connector)
Signal name
NC IOREF RESET 3V3 5V GND GND VIN A0 A1 A2 A3 A4 A5
Connector name
CN6 Power CN8 Analog
Pin number
1 2 3 4 5 6 7 8 1 2 3 4 5 6
NUCLEO-F401RE MCU port
NRST PA0 PA1 PA4 PB0 PC1 PC0
NUCLEO-F401RE MCU signals
3.3 V RESET
REF
NC 3V3 GND GND M95_WPn M24_VCC M95_Hn U8_Sn
3.3 V input/
output
5 V
output
GND GND
POWER
INPUT
X-NUCLEO-EEPRMA2 expansion board signals
ADC1_0 ADC1_1 ADC1_4 ADC1_8
ADC1_11(PC1)
or
I2C1_SDA(PB9)
ADC1_10(PC0)
or
I2C1_SCL(PB8)
USART2_RX
UM2665 - Rev 3
page 7/23
Loading...
+ 16 hidden pages