Part 1
요약·해설
여섯 EEPROM datasheet, driver 호환성, status-register write protection과 기본 eeprom-0 alias를 설명합니다.
M24xx · at24
M95xx · at25
M24C02-FMC6TG
eeprom-0
Part 2
접을 수 있는 영어 원문 전체
영어 원문 전체 펼치기
FD327F12A3FE58FCAB00EE914E64D0ABB3DED0B6C093CD3E6D578D047239644F
.. _x_nucleo_eeprma2_shield:
X-NUCLEO-EEPRMA2 EEPROM memory expansion board
##############################################
Overview
********
The ST X-NUCLEO-EEPRMA2 expansion board can be used to evaluate M24xx series I2C
and M95xx series SPI EEPROM devices.
The X-NUCLEO-EEPRMA2 expansion board is compatible with the Arduino UNO R3
connector pin assignment. Additionally the pins are routed to dedicated headers
and ST morpho connectors can be mounted if required.
The I2C EEPROMs are compatible with the ``atmel,at24`` driver and
the SPI EEPROMs are compatible with the ``atmel,at25`` driver.
.. figure:: ../../../../../../../boards/shields/x_nucleo_eeprma2/doc/x_nucleo_eeprma2.jpg
:align: center
:alt: X-NUCLEO-EEPRMA2
More information about the board can be found at the
`X-NUCLEO-EEPRMA2 website`_.
Requirements
************
This shield can only be used with a development board that provides a
configuration for Arduino connectors and defines a node alias for the
SPI or I2C interface (see :ref:`shields` for more details).
The SPI EEPROM devices can write protect complete memory blocks by setting
the corresponding block protect bits in the status register.
As the driver does not change this status register, make sure this protections
are disabled in case writes to the EEPROM should be supported.
For more information about interfacing the M24xx and M95xx series EEPROM devices
and the X-NUCLEO-EEPRMA2 in particular, see these ST Microelectronics documents:
- `X-NUCLEO-EEPRMA2 EEPROM memory expansion board User Manual`_
- `M24C02-F Serial I2C bus EEPROM Datasheet`_
- `M24256-DF Serial I2C bus EEPROM Datasheet`_
- `M24M01-DF Serial I2C bus EEPROM Datasheet`_
- `M95040-R Serial SPI bus EEPROM Datasheet`_
- `M95256-DF Serial SPI bus EEPROM Datasheet`_
- `M95M04-DR Serial SPI bus EEPROM Datasheet`_
Samples
*******
The :zephyr:code-sample:`eeprom` sample can be used to demonstrate the expansion boards
functionality.
Per default the shield sets an ``eeprom-0`` alias for the M24C02-FMC6TG EEPROM,
which can be overwritten to use the other EEPROM devices instead.
Programming
***********
Set ``--shield x_nucleo_eeprma2`` when you invoke ``west build``. For example:
.. zephyr-app-commands::
:zephyr-app: samples/drivers/eeprom/
:board: nucleo_g0b1re
:shield: x_nucleo_eeprma2
:goals: build
.. _X-NUCLEO-EEPRMA2 website:
https://www.st.com/en/evaluation-tools/x-nucleo-eeprma2.html
.. _X-NUCLEO-EEPRMA2 EEPROM memory expansion board User Manual:
https://www.st.com/resource/en/user_manual/dm00671710-getting-started-with-the-xnucleoeeprma2-standard-ic-and-spi-eeprom-memory-expansion-board-based-on-m24xx-and-m95xx-series-for-stm32-nucleo-stmicroelectronics.pdf
.. _M24C02-F Serial I2C bus EEPROM Datasheet:
https://www.st.com/resource/en/datasheet/m24c02-f.pdf
.. _M24256-DF Serial I2C bus EEPROM Datasheet:
https://www.st.com/resource/en/datasheet/m24256-df.pdf
.. _M24M01-DF Serial I2C bus EEPROM Datasheet:
https://www.st.com/resource/en/datasheet/m24m01-df.pdf
.. _M95040-R Serial SPI bus EEPROM Datasheet:
https://www.st.com/resource/en/datasheet/m95040-r.pdf
.. _M95256-DF Serial SPI bus EEPROM Datasheet:
https://www.st.com/resource/en/datasheet/m95256-df.pdf
.. _M95M04-DR Serial SPI bus EEPROM Datasheet:
https://www.st.com/resource/en/datasheet/m95m04-dr.pdf
Part 3
한국어 전문 번역
개요
ST X-NUCLEO-EEPRMA2 expansion board는 M24xx series I2C와 M95xx series SPI EEPROM device 평가에 사용합니다. Arduino UNO R3 connector pin assignment와 호환되고 pin은 전용 header에도 routing되며 필요하면 ST Morpho connector를 장착할 수 있습니다.
I2C EEPROM은 atmel,at24 driver와, SPI EEPROM은 atmel,at25 driver와 호환됩니다.

요구 사항
Arduino connector configuration과 SPI 또는 I2C interface용 node alias를 제공하는 development board에서만 사용할 수 있습니다.
관련 ST 문서
- X-NUCLEO-EEPRMA2 User Manual
- M24C02-F I2C EEPROM Datasheet
- M24256-DF I2C EEPROM Datasheet
- M24M01-DF I2C EEPROM Datasheet
- M95040-R SPI EEPROM Datasheet
- M95256-DF SPI EEPROM Datasheet
- M95M04-DR SPI EEPROM Datasheet
Sample
eeprom sample로 expansion board 기능을 시연할 수 있습니다. 기본적으로 shield는 M24C02-FMC6TG EEPROM에 eeprom-0 alias를 설정하며 다른 EEPROM device를 사용하도록 덮어쓸 수 있습니다.
프로그래밍
west build -b nucleo_g0b1re --shield x_nucleo_eeprma2 samples/drivers/eeprom/
Source
출처
영어 원문에는 문단, 문서 지시문, 표, 코드, 코드 심벌, 경로를 그대로 보존했습니다.