Communicating with an SPI based EEPROM using Arduino® Hardware

Simulink Support Package for Arduino Hardware enables you to use the SPI interface to communicate with SPI based devices.

In this example, you will learn how to communicate to an EEPROM interfaced to the Arduino board via SPI. The example uses the 256kB “ON Semiconductor EEPROM CAT25256”. This device uses a standard SPI protocol that is common to many other EEPROMs provided by different vendors. Make sure yours is compatible to the one used in this example. For more details about the device, refer to the CAT25256 datasheet.

Fonte e mais detalhes aqui

Anúncios