UM80 User manual Getting started with the X-NUCLEO-EEPRMA standard I²C and SPI EEPROM memory expansion board based on Mxx and M9xx series for STM Nucleo Introduction The X-NUCLEO-EEPRMA expansion board is designed for Mxx I²C and M9xx 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-EEPRMA expansion board is compatible with the Arduino UNO R connector pin assignment and can be easily plugged to any STM Nucleo development board. You can mount the ST morpho connectors if required. Figure. X-NUCLEO-EEPRMA expansion board UM80 - Rev - October 08 For further information contact your local STMicroelectronics sales office. www.st.com
UM80 Acronyms and abbreviations Acronyms and abbreviations Table. List of acronyms Acronym EEPROM MHz MCU SPI IC Description Electrically erasable programmable read only memory Mega Hertz Microcontroller unit Serial peripheral interface Inter-integrated circuit UM80 - Rev page /
UM80 Getting started Getting started. Overview The X-NUCLEO-EEPRMA main features are: Easy portability across different MCU families Equipped with Arduino UNO R connector Compatible with STM Nucleo boards Free comprehensive development firmware library and sample implementation available when the X- NUCLEO-EEPRMA expansion board is plugged on top of a NUCLEO-F0RE or NUCLEO-L0R8 development board Developer can choose and solder an EEPROM to be tested using the evaluation software provided RoHS and WEEE compliant. Typical applications The X-NUCLEO-EEPRMA 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.. Hardware requirements To use STM Nucleo development boards with the X-NUCLEO-EEPRMA expansion board, connect the boards as shown below. Figure. X-NUCLEO-EEPRMA expansion board connected to an STM Nucleo development board The EEPROM communicates with the STM Nucleo development board host microcontroller through the SPI or I²C signals available on the Arduino UNO R connector. The X-NUCLEO-EEPRMA has been designed to allow using any STM Nucleo board, although complete testing has been performed using the NUCLEO-F0RE and NUCLEO-L0R8 boards.. System requirements To use the STM Nucleo boards with the X-NUCLEO-EEPRMA expansion board you need: a Windows PC/laptop (Windows 7 or above) to install the firmware package (X-CUBE-EEPRMA) a type A to Mini-B USB cable to connect the STM Nucleo board to the PC UM80 - Rev page /
UM80 Board setup an STM Nucleo development board (NUCLEO-F0RE or NUCLEO-L0R8) an X-NUCLEO-EEPRMA expansion board. Board setup Step. Check the jumper on J and J connectors are connected. Step. Step. Step. Step. Step 6. Step 7. These jumpers provide the required voltage to the devices. Ensure jumper on J is put between VCC and WPn. Ensure jumper on J0 is put between U7_Sn and CN U7_Sn. Connect the X-NUCLEO-EEPRMA to the STM Nucleo board as shown in Figure. X-NUCLEO- EEPRMA expansion board connected to an STM Nucleo development board. Power the STM Nucleo development board using the Mini-B USB cable. Program the firmware in the development board. Reset the MCU board using the reset button on the STM Nucleo development board. The evaluation kit is ready-to-use. UM80 - Rev page /
UM80 Hardware description and configuration Hardware description and configuration. Interconnection details The X-NUCLEO-EEPRMA expansion board and the NUCLEO-L0R8 or NUCLEO-F0RE board connection details are listed in the tables below. Table. X-NUCLEO-EEPRMA and NUCLEO-L0R8 connection details (left connector) Signal name NC IOREF RESET V V GND GND VIN A0 A A A A A Connector name CN6 Power CN8 Analog Pin number 6 7 8 6 NUCLEO-L0R8 MCU port NRST PA0 PA PA PB0 PC/PB9 PC0/PB8 NUCLEO-L0R8 MCU signals. V REF RESET. V input/ output V output GND GND POWER INPUT ADC_IN0 ADC_IN ADC_IN ADC_IN8 ADC_IN(PC) or IC_SDA(PB9) ADC_IN0(PC0) or IC_SCL(PB8) X-NUCLEO-EEPRMA expansion board signals NC V GND GND M9_WPn M_VCC M9_Hn U8_Sn UM80 - Rev page /
UM80 Interconnection details Table. X-NUCLEO-EEPRMA and NUCLEO-L0R8 connection details (right connector) Signal name D D AREF GND D D D D0 D9 D8 D7 D6 D D D D D D0 Connector name CN Digital Pin number CN9 Digital 0 9 8 7 6 8 7 6 NUCLEO-L0R8 MCU port PB8 PB9 PA PA6 PA7 PB6 PC7 PA9 PA8 PB0 PB PB PB PA0 PA PA NUCLEO-L0R8 MCU signals IC_SCL IC_SDA AVDD GND SPI_SCK SPI_MISO TIM_CH SPI_MOSI SPI_CS TIM_CH TIM_CH TIM_CH TIM_CH USART_TX USART_RX X-NUCLEO-EEPRMA shield signals M_IC_SCL M_IC_SDA GND M9_SCLK M9_MISO M9_MOSI CN U7_Sn U6_Sn U_Sn Table. X-NUCLEO-EEPRMA and NUCLEO-F0RE connection details (left connector) Signal name NC IOREF RESET V V GND GND VIN A0 A A A A A Connector name CN6 Power CN8 Analog Pin number 6 7 8 6 NUCLEO-F0RE MCU port NRST PA0 PA PA PB0 PC PC0 NUCLEO-F0RE MCU signals. V REF RESET. V input/ output V output GND GND POWER INPUT ADC_0 ADC_ ADC_ ADC_8 ADC_(PC) or IC_SDA(PB9) ADC_0(PC0) or IC_SCL(PB8) X-NUCLEO-EEPRMA expansion board signals NC V GND GND M9_WPn M_VCC M9_Hn U8_Sn UM80 - Rev page 6/
UM80 Current measurement Table. X-NUCLEO-EEPRMA and NUCLEO-F0RE connection details (right connector) Signal name D D AREF GND D D D D0 D9 D8 D7 D6 D D D D D D0 Connector name CN Digital CN9 Digital Pin number 0 9 8 7 6 8 7 6 NUCLEO-F0RE MCU port PB8 PB9 PA PA6 PA7 PB6 PC7 PA9 PA8 PB0 PB PB PB PA0 PA PA NUCLEO-F0RE MCU signals IC_SCL IC_SDA AVDD GND SPI_SCK SPI_MISO TIM_CHN SPI_MOSI TIM_CH SPI_CS TIM_CH TIM_CH TIM_CH TIM_CH USART_TX USART_RX X-NUCLEO-EEPRMA shield signals M_IC_SCL M_IC_SDA GND M9_SCLK M9_MISO M9_MOSI CN U7_Sn U6_Sn U_Sn. Current measurement J can be used to monitor the I²C device power consumption, whereas J can be used to monitor the SPI device power consumption. Connect an ammeter probe between the connector pin and pin for measurements. UM80 - Rev page 7/
UM80 X-NUCLEO-EEPRMA component placement details. X-NUCLEO-EEPRMA component placement details Figure. X-NUCLEO-EEPRMA component placement details Figure. X-NUCLEO-EEPRMA top view layout UM80 - Rev page 8/
UM80 X-NUCLEO-EEPRMA component placement details Figure. X-NUCLEO-EEPRMA bottom view layout UM80 - Rev page 9/
UM80 Component description Component description. MXX Table 6. MC0 details Feature Description Sales type Package Single supply voltage MC0-FMC6TG UFDFPN8.7 to. V (full temperature range) and.6 to.7 V (limited temperature range) Table 7. M6 details Feature Description Sales type Package Single supply voltage and high speed M6-DFDW6TP TSSOP8 MHz clock from.7 to. V Table 8. MM0 details Feature Description Sales type Package Single supply voltage and high speed MM0-DFMN6TP SO8 MHz clock from.7 to. V. M9XX Table 9. M900 details Feature Description Sales type Package Single supply voltage M900-RMC6TG UFDFPN8.7 to. V Table 0. M96 details Feature Description Sales type Package Single supply voltage M96-DFDW6TP TSSOP8.7 to. V UM80 - Rev page 0/
UM80 M9XX Table. M9M0 details Feature Description Sales type Package Single supply voltage M9M0-DFMN6TP SO8.7 to. V UM80 - Rev page /
UM80 External EEPROMs External EEPROMs You can easily solder a specific EEPROM density I²C or SPI to be used with the X-NUCLEO-EEPRMA expansion board. The software can handle any density between Kbit and Mbit. To use the external EEPROM, you have to apply some changes to the firmware and the hardware, as described below. Step. Step. Step. Note: Uncomment the macro MXX (to use the I²C EEPROM) or M9XX (to use the SPI EEPROM) in the eeprom_expansion.h file Comment the macro I²C (to use the external I²C EEPROM) or the macro SPI (to use the external SPI EEPROM). Open J and J6 V and VCC pins and short the EXT and VCC pins External VCC can be used to power EEPROM with a different VCC for specific evaluations. Figure 6. IC and SPI EEPROM soldered on the X-NUCLEO-EEPRMA expansion board UM80 - Rev page /
UM80 Bill of materials 6 Bill of materials Table. X-NUCLEO-EEPRMA bill of materials Item Q.ty Ref. Part / Value Description Manufacturer Order code U KBIT 00 KHZ UFDFPN8 -Kbit serial I²C bus EEPROM ST MC0-FMC6TG U 6 KBIT MHZ TSSOP8 6-Kbit serial I²C bus EEPROM ST M6-DFDW6TP U MBIT MHZ SO8 -Mbit serial I²C bus EEPROM ST MM0-DFMN6TP U KBIT MHZ UFDFPN8 -Kbit SPI bus EEPROM with highspeed clock ST M900-RMC6TG U6 6 KBIT 0 MHZ TSSOP8 6-Kbit serial SPI bus EEPROM with high speed clock ST M96-DFDW6TP 6 U7 MBIT 6 MHZ SO8 -Mbit SPI bus EEPROM with highspeed clock ST M9M0-DFMN6TP 7 U, U8 SO8 Not mounted Any 8 U9 UFDFPN Not mounted Any 9 U0 WLCSP Not mounted Any 8 CN 9 CN6, CN9 0 CN7, CN0 CN8 0 pin female-male strip,. mm pitch 8 pin female-male strip,. mm pitch 9x through hole,. mm pitch 6 pin female-male strip,. mm pitch Header Samtec ESQ-0--T-S Header Samtec ESQ-08--T-S Header Samtec ESQ-9--T-S Header Samtec ESQ-08--T-S 8 C, C, C, C, C, C6, C7, C9 00 nf V ±0% X7R SMD060 Ceramic capacitor Murata GRM88R7E0KA0D J, J pin male strip Jumpers Any J pin male strip Jumpers Any J, J6, J0, J pin male strip Jumpers Any 6 J7 open - pin male strip Jumpers Any 7 J9 pin male strip Jumpers Any 8 J8 6 pin male strip Jumpers Any 9 R, R, R8, R9, R 0 K ±% /0 W SMD060 Resistors Panasonic ERJ-GEYJ0V 0 R, R6 R7. K ±% /0 W SMD060 kohm ±% /0 W SMD060 Resistors Yageo RC060JR-07KL Resistors Panasonic ERJ-GEYJ0V UM80 - Rev page /
UM80 Bill of materials Item Q.ty Ref. Part / Value Description Manufacturer Order code R, R, R, R 0 K ±% /0 W SMD00 Resistors Panasonic ERJ-GEJ0X 8 S, S, S, S, S, S6, S7, S0 CLOSE Solder bridge Any S, S OPEN Solder bridge Any S0, S OPEN Solder bridge Any UM80 - Rev page /
UM80 Schematic diagrams 7 Schematic diagrams Figure 7. X-NUCLEO-EEPRMA circuit schematic ( of ) J R 0K V U_Sn M9_MISO M9_WPn U 9 S VCC 8 7 Q HOLD W C 6 VSSD Ex.PAD M900-RMC6TG (Kb, DFN8 ) M9_Hn M9_SCLK M9_MOSI C 00nF R 0K M9_WPn FOR CURRENT MEASUREMENT 0K R J CON R 0K U6_Sn M9_MISO M9_WPn U6 8 S VCC 7 Q HOLD W C 6 VSS D M96-DFDW6TP (6Kb, TSSOP) M9_Hn M9_SCLK M9_MOSI C 00nF R 0K U7_Sn CN U7_Sn U8_Sn J0 R9 0K CON U7_Sn M9_MISO M9_WPn U8_VCC U7 S VCC 8 HOLD 7 Q W C 6 VSSD M9M0-DFMN6TP (Mb, SO8N) M9_Hn M9_SCLK M9_MOSI C6 00nF R 0K M9_MISO M9_WPn U8_VCC J M9_Hn M9_SCLK M9_MOSI J9 R8 0K CON U8_Sn M9_MISO M9_WPn U8 S 8 VCC Q HOLD 7 W C 6 VSS D U8_VCC M9_Hn M9_SCLK M9_MOSI C 00nF EEPROM_SPI_SO8N R 0K V U8_VCC U8_EXT_SUPPLY J6 U9 A B A C U0 E E C D CON EEPROM_UFDFPN EEPROM_WLCSP UM80 - Rev page /
UM80 Schematic diagrams Figure 8. X-NUCLEO-EEPRMA circuit schematic ( of ) JJ V M_VCC FOR CURRENT MEASUREMENT K R7 M_VCC U 9 E0 VCC 8 E WC 7 6 E SCL VSSSDA Ex.PAD MC0-FMC6TG (Kb, DFN8 ) M_VCC M_WC M_IC_SCL M_IC_SDA CC 00nF M_IC_SCL M_IC_SDA R.K R6.K M_VCC M_VCC M_VCC U E0 VCC 8 E WC 7 6 E SCL VSSSDA M6-DFDW6TP M_VCC M_WC M_IC_SCL M_IC_SDA C 00nF M_WC J7 OPEN M_VCC (6Kb, TSSOP) M_VCC U DU VCC 8 E WC 7 SCL 6 E VSSSDA MM0-DFMN6TP (Mb, SO8N) M_VCC M_WC M_IC_SCL M_IC_SDA C7 00nF M_VCC M_WC M_IC_SCL M_IC_SDA U_VCC 6 JJ88 CON6 U E0 E E VSS U_VCC VCC 8 00nF M_WC WC 7 SCL 6 M_IC_SCL SDA M_IC_SDA EEPROM_IC_SO8N C9 V U_VCC U_EXT_SUPPLY J CON Figure 9. X-NUCLEO-EEPRMA circuit schematic ( of ) CN7 7 9 7 9 7 9 7 6 8 SCL SDA AREF 0 V D RESET D 6 V D 8 V D0 0 D9 D8 Vin D7 6 D6 8 A0 D 0 A D A D A D 6 A D 8 A D0 CN0 7 9 7 9 7 9 7 6 8 0 6 8 0 6 8 0 6 8 UM80 - Rev page 6/
UM80 Schematic diagrams Figure 0. X-NUCLEO-EEPRMA circuit schematic ( of ) CN6 CN NC M_IC_SCL S CLOSED SCL 0 S SCL IOREF M_IC_SDA CLOSED SDA 9 RESET SDA RESET AREF 8 V AREF V 7 V S D GND V M9_SCLK CLOSED GND 6 6 GND 7 M9_MISO S CLOSED D SCK/D M9_MOSI S D MISO/D MOSI/PWM/D VIN 8 CLOSED Vin CN U7_Sn S6 CLOSED D0 U6_Sn S7 CLOSED D9 PWM/D0 D8 PWM/D9 D8 CN8 A0 A A A A A D7 8 A0 OPEN S0 M9_WPn D6 7 A OPEN S M_WC D 6 A D A OPEN S M9_Hn D A U_Sn S0 CLOSED D 6 A OPEN S U8_Sn D D0 CN9 D7 D6 D D D D TXD/D RXD/D0 UM80 - Rev page 7/
UM80 Revision history Table. Document revision history Date Revision Changes 0-Oct-08 Initial release. UM80 - Rev page 8/
UM80 Contents Contents Acronyms and abbreviations... Getting started.... Overview.... Typical applications.... Hardware requirements.... System requirements.... Board setup... Hardware description and configuration.... Interconnection details.... Current measurement...7. X-NUCLEO-EEPRMA component placement details...7 Component description...0. MXX...0. M9XX...0 External EEPROMs... 6 Bill of materials... 7 Schematic diagrams... Revision history...8 UM80 - Rev page 9/
UM80 List of tables List of tables Table. List of acronyms... Table. X-NUCLEO-EEPRMA and NUCLEO-L0R8 connection details (left connector)... Table. X-NUCLEO-EEPRMA and NUCLEO-L0R8 connection details (right connector)...6 Table. X-NUCLEO-EEPRMA and NUCLEO-F0RE connection details (left connector)... 6 Table. X-NUCLEO-EEPRMA and NUCLEO-F0RE connection details (right connector)... 7 Table 6. MC0 details... 0 Table 7. M6 details... 0 Table 8. MM0 details... 0 Table 9. M900 details... 0 Table 0. M96 details... 0 Table. M9M0 details... Table. X-NUCLEO-EEPRMA bill of materials.... Table. Document revision history... 8 UM80 - Rev page 0/
UM80 List of figures List of figures Figure. X-NUCLEO-EEPRMA expansion board... Figure. X-NUCLEO-EEPRMA expansion board connected to an STM Nucleo development board... Figure. X-NUCLEO-EEPRMA component placement details...8 Figure. X-NUCLEO-EEPRMA top view layout...8 Figure. X-NUCLEO-EEPRMA bottom view layout....9 Figure 6. IC and SPI EEPROM soldered on the X-NUCLEO-EEPRMA expansion board... Figure 7. X-NUCLEO-EEPRMA circuit schematic ( of ).... Figure 8. X-NUCLEO-EEPRMA circuit schematic ( of ).... 6 Figure 9. X-NUCLEO-EEPRMA circuit schematic ( of ).... 6 Figure 0. X-NUCLEO-EEPRMA circuit schematic ( of ).... 7 UM80 - Rev page /
UM80 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. 08 STMicroelectronics All rights reserved UM80 - Rev page /