ST X-NUCLEO-EEPRMA1 User Manual

Getting started with the X-NUCLEO-EEPRMA1 standard I²C and SPI EEPROM
memory expansion board based on M24xx and M95xx series for STM32 Nucleo
Introduction
The X-NUCLEO-EEPRMA1 expansion board is designed for M24xx I²C and M95xx 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 setting, error flags, data log and monitoring data to make applications more flexible and accurate.
The X-NUCLEO-EEPRMA1 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-EEPRMA1 expansion board
UM2480
User manual
UM2480 - Rev 1 - October 2018 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
UM2480
Acronyms and abbreviations
UM2480 - Rev 1
page 2/22
2 Getting started
2.1 Overview
The X-NUCLEO-EEPRMA1 main features are:
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-EEPRMA1 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
RoHS and WEEE compliant
2.2 Typical applications
The X-NUCLEO-EEPRMA1 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.
2.3 Hardware requirements
To use STM32 Nucleo development boards with the X-NUCLEO-EEPRMA1 expansion board, connect the boards as shown below
.
Figure 2. X-NUCLEO-EEPRMA1 expansion board connected to an STM32 Nucleo development board
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-EEPRMA1 has been designed to allow using any STM32 Nucleo board, although complete testing has been performed using the NUCLEO-F401RE and NUCLEO-L053R8 boards.
2.4 System requirements
To use the STM32 Nucleo boards with the X-NUCLEO-EEPRMA1 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
UM2480
Getting started
UM2480 - Rev 1
page 3/22
an STM32 Nucleo development board (NUCLEO-F401RE or NUCLEO-L053R8)
an X-NUCLEO-EEPRMA1 expansion board
2.5 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.
Step 4. Connect the X-NUCLEO-EEPRMA1 to the STM32 Nucleo board as shown in Figure 2. X-NUCLEO-
EEPRMA1 expansion board connected to an STM32 Nucleo development board.
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.
UM2480
Board setup
UM2480 - Rev 1
page 4/22
3 Hardware description and configuration
3.1 Interconnection details
The X-NUCLEO-EEPRMA1 expansion board and the NUCLEO-L053R8 or NUCLEO-F401RE board connection details are listed in the tables below.
Table 2. X-NUCLEO-EEPRMA1 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 REF
RESET
3.3 V input/
output
5 V
output
GND GND
POWER
INPUT
ADC_IN0 ADC_IN1 ADC_IN4 ADC_IN8
ADC_IN11(PC1)
or
I2C1_SDA(PB9)
ADC_IN10(PC0)
or
I2C1_SCL(PB8)
X-NUCLEO-EEPRMA1 expansion board signals
NC 3V3 GND GND M95_WPn M24_VCC M95_Hn U8_Sn
UM2480
Hardware description and configuration
UM2480 - Rev 1
page 5/22
Table 3. X-NUCLEO-EEPRMA1 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
AVDD
GND
SPI1_SCK
SPI1_MISO
TIM12_CH2 SPI1_MOSI
SPI1_CS
TIM12_CH2
TIM2_CH3
TIM12_CH1
TIM2_CH2
USART2_TX
USART2_RX
X-NUCLEO-EEPRMA1 shield signals
M24_I2C_SCL
M24_I2C_SDA
GND
M95_SCLK
M95_MISO
M95_MOSI
CN5_3_U7_Sn
U6_Sn
U5_Sn
Table 4. X-NUCLEO-EEPRMA1 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 REF
RESET
3.3 V input/
output
5 V
output
GND GND
POWER
INPUT
ADC1_0 ADC1_1 ADC1_4 ADC1_8
ADC1_11(PC1)
or
I2C1_SDA(PB9)
ADC1_10(PC0)
or
I2C1_SCL(PB8)
X-NUCLEO-EEPRMA1 expansion board signals
NC 3V3 GND GND M95_WPn M24_VCC M95_Hn U8_Sn
UM2480
Interconnection details
UM2480 - Rev 1
page 6/22
Table 5. X-NUCLEO-EEPRMA1 and NUCLEO-F401RE 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-F401RE MCU port
PB8 PB9 PA5 PA6 PA7 PB6 PC7 PA9 PA8 PB10 PB4 PB5 PB3 PA10 PA2 PA3
NUCLEO-F401RE MCU signals
I2C1_SCL
I2C1_SDA
AVDD
GND
SPI1_SCK
SPI1_MISO
TIM1_CH1N SPI1_MOSI
TIM4_CH4 SPI1_CS
TIM3_CH2
TIM2_CH3
TIM3_CH1
TIM2_CH2
USART2_TX
USART2_RX
X-NUCLEO-EEPRMA1 shield signals
M24_I2C_SCL
M24_I2C_SDA
GND
M95_SCLK
M95_MISO
M95_MOSI
CN5_3_U7_Sn
U6_Sn
U5_Sn
3.2 Current measurement
J1 can be used to monitor the I²C device power consumption, whereas J2 can be used to monitor the SPI device power consumption. Connect an ammeter probe between the connector pin 1 and pin 2 for measurements.
UM2480
Current measurement
UM2480 - Rev 1
page 7/22
Loading...
+ 15 hidden pages