background image

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

Summary of Contents for X-NUCLEO-EEPRMA1

Page 1: ...tore 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 ...

Page 2: ... 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 ...

Page 3: ...onitoring 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...

Page 4: ... 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 ...

Page 5: ...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 3V...

Page 6: ...UCLEO 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 signal...

Page 7: ...E 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 powe...

Page 8: ...LEO EEPRMA1 component placement details Figure 3 X NUCLEO EEPRMA1 component placement details Figure 4 X NUCLEO EEPRMA1 top view layout UM2480 X NUCLEO EEPRMA1 component placement details UM2480 Rev 1 page 8 22 ...

Page 9: ...Figure 5 X NUCLEO EEPRMA1 bottom view layout UM2480 X NUCLEO EEPRMA1 component placement details UM2480 Rev 1 page 9 22 ...

Page 10: ... supply voltage and high speed 1 MHz clock from 1 7 to 5 5 V Table 8 M24M01 details Feature Description Sales type M24M01 DFMN6TP Package SO8 Single supply voltage and high speed 1 MHz clock from 1 7 to 5 5 V 4 2 M95XX Table 9 M95040 details Feature Description Sales type M95040 RMC6TG Package UFDFPN8 Single supply voltage 1 7 to 5 5 V Table 10 M95256 details Feature Description Sales type M95256 ...

Page 11: ...Table 11 M95M01 details Feature Description Sales type M95M01 DFMN6TP Package SO8 Single supply voltage 1 7 to 5 5 V UM2480 M95XX UM2480 Rev 1 page 11 22 ...

Page 12: ...p 1 Uncomment the macro M24XX to use the I C EEPROM or M95XX to use the SPI EEPROM in the eeprom_expansion h file Step 2 Comment the macro I C to use the external I C EEPROM or the macro SPI to use the external SPI EEPROM Step 3 Open J5 and J6 3V3 and VCC pins and short the EXT and VCC pins Note External VCC can be used to power EEPROM with a different VCC for specific evaluations Figure 6 I2C and...

Page 13: ...ed Any 8 1 CN5 10 pin female male strip 2 54 mm pitch Header Samtec ESQ 110 24 T S 9 2 CN6 CN9 8 pin female male strip 2 54 mm pitch Header Samtec ESQ 108 24 T S 10 2 CN7 CN10 19x2 through hole 2 54 mm pitch Header Samtec ESQ 119 24 T S 11 1 CN8 6 pin female male strip 2 54 mm pitch Header Samtec ESQ 108 24 T S 12 8 C1 C2 C3 C4 C5 C6 C7 C9 100 nF 25 V 10 X7R SMD0603 Ceramic capacitor Murata GRM188...

Page 14: ... code 22 4 R22 R32 R33 R34 10 K 5 1 10 W SMD0402 Resistors Panasonic ERJ 2GEJ103X 23 8 S1 S2 S3 S4 S5 S6 S7 S20 CLOSE Solder bridge Any 24 2 S11 S15 OPEN Solder bridge Any 25 2 S10 S13 OPEN Solder bridge Any UM2480 Bill of materials UM2480 Rev 1 page 14 22 ...

Page 15: ...5_MISO CN5_3_U7_Sn U8_Sn E1 5 2 4 1 2 3 4 M95_Hn U8_VCC 10K M95256 DFDW6TP S 1 1 2 3 M95_VCC CON3 10K R34 100nF M95_MISO EEPROM_UFDFPN5 U8_VCC 4Kb DFN8 256Kb TSSOP 1Mb SO8N EEPROM_SPI_SO8N U8_VCC M95_VCC R2 M95_VCC M95_VCC M95_VCC M95_WPn C3 J10 1 2 S Q S 1 B2 R22 10K M95_MOSI 1 2 3 4 5 C 6 M95_VCC U8 M95_MOSI M95_MISO 2 3 Q W VSS 4 R8 U7 R9 HOLD 8 VCC M95_MISO D 5 C3 C6 10K C 6 M95040 RMC6TG 3 4 ...

Page 16: ...2 3 E E 1 2 4 1 2 3 4 5 6 VCC 8 100nF M24_I2C_SCL CON6 1 2 E E 0 1 E2 3 WC 7 WC 7 VCC 8 2 3 E E 1 2 4 CC11 M24_I2C_SCL 100nF M24_I2C_SDA VCC 8 4 E V 2 SSSDA SCL 6 1 2 3 CON3 2 DU 1 J7 8 VCC 100nF C9 M24_I2C_SCL M24_I2C_SDA M24_VCC M24_I2C_SDA U4_VCC WC 7 M24_VCC M24_VCC E0 1 M24_VCC M24_VCC Figure 9 X NUCLEO EEPRMA1 circuit schematic 3 of 4 21 27 38 25 2 4 6 8 1 12 24 30 3V3 5V 31 RESET 18 17 A5 1...

Page 17: ...5 8 A0 D7 D6 M24_WC S5 IOREF AREF A0 1 D3 4 CN6 VIN 8 MISO D12 6 D12 D13 A1 A3 D8 S4 D9 D11 D6 7 CN5_3_U7_Sn SCK D13 GND 7 M24_I2C_SDA RESET M24_I2C_SCL M95_MOSI D5 6 A2 3 OPEN D2 4 3V3 PWM D10 4 D7 8 D8 1 5V CN5 S6 RXD D0 2 D3 A1 2 5V 5 M95_WPn 3V3 NC 1 Vin M95_SCLK D10 U6_Sn S11 1 D5 D4 CN9 RESET PWM D9 3 OPEN OPEN OPEN CLOSED CLOSED CLOSED CLOSED CLOSED CLOSED SCL SDA UM2480 Schematic diagrams ...

Page 18: ...Revision history Table 13 Document revision history Date Revision Changes 04 Oct 2018 1 Initial release UM2480 UM2480 Rev 1 page 18 22 ...

Page 19: ...s 3 2 5 Board setup 4 3 Hardware description and configuration 5 3 1 Interconnection details 5 3 2 Current measurement 7 3 3 X NUCLEO EEPRMA1 component placement details 7 4 Component description 10 4 1 M24XX 10 4 2 M95XX 10 5 External EEPROMs 12 6 Bill of materials 13 7 Schematic diagrams 15 Revision history 18 UM2480 Contents UM2480 Rev 1 page 19 22 ...

Page 20: ...A1 and NUCLEO F401RE connection details left connector 6 Table 5 X NUCLEO EEPRMA1 and NUCLEO F401RE connection details right connector 7 Table 6 M24C02 details 10 Table 7 M24256 details 10 Table 8 M24M01 details 10 Table 9 M95040 details 10 Table 10 M95256 details 10 Table 11 M95M01 details 11 Table 12 X NUCLEO EEPRMA1 bill of materials 13 Table 13 Document revision history 18 UM2480 List of table...

Page 21: ...CLEO EEPRMA1 top view layout 8 Figure 5 X NUCLEO EEPRMA1 bottom view layout 9 Figure 6 I2C and SPI EEPROM soldered on the X NUCLEO EEPRMA1 expansion board 12 Figure 7 X NUCLEO EEPRMA1 circuit schematic 1 of 4 15 Figure 8 X NUCLEO EEPRMA1 circuit schematic 2 of 4 16 Figure 9 X NUCLEO EEPRMA1 circuit schematic 3 of 4 16 Figure 10 X NUCLEO EEPRMA1 circuit schematic 4 of 4 17 UM2480 List of figures UM...

Page 22: ...r 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 trademark...

Reviews: