M24xxx Series – Cheap Memory for Microcontrollers

Cheap memory for microcontrollers

No matter how large your microcontroller’s memory might be – in practice, you will always need just a little bit more. In that case, STMicroelectronics’s SPI EEPROM provides a nice alternative to more established players.

Obviously, the biggest advantage of SPI involves the simplicity in connecting the part – you don’t need to worry about limited I2C address ranges or other problems. If your application has a free SPI controller, you are ready to go.

If multiple CS pins are available, adding SPI EEPROMs becomes really simple

Alternatively, an SPI MUX can be driven from the GPIO port bank in a fashion similar to the bank switching implemented in Solomon Systech’s display controllers. Either way, the maximum permitted clock frequency is set at relatively speedy 5MhZ.

STM simplifies the design of such boxes by providing a dedicated hold output input. If hold is activated, the serial data output line becomes high independence, while inputs and clock inputs are discarded silently.

A question of complications

ST’s part differs from its colleagues in that it’s memory is organized in a set of banks. The total amount of spacious 2Mbit is divided into a groups of pages made up of 256 bytes each, one of which can be designated as a read only identification page intended to store serial numbers and similar information.

Actually interacting with the SPI flash then is accomplished via a set of dedicated instructions shown in the figure.

Eight bit instructions set the operational mode of the chip

Finally, keep in mind that ST also goes after the extremely lucrative I2C EEPROM market. Their offering for this market is called M24xxx. Both chip families are automotive certified, thereby permitting their usage in challenging environments.

Recent Articles
STSPIN32F0 – Series
Extremely integrated STM32-based system-in-package solution for driving three-phase BLDC motors We would like to introduce you to ST’s growing portfolio of STSPIN32F0 devices. Embedding a 32-bit ARM... Read Article
Enter for your chance to win a Digilent Dev Board worth over $500
To celebrate our 10 Year Anniversary this month and to thank everyone for their support over the last decade, we’ve partnered with Digilent to give away 2x Digilent development boards... Read Article
Efficient High-Power Gallium Nitride FETs from Nexperia
Whether designing a motor drive/controller for the next generation of battery-electric vehicles, or a power supply for the latest 5G telecommunication networks, Nexperia’s GaN FETs will be key... Read Article
Debug your embedded systems from the home office
Use USB Logic Analyzer and Pattern Generator to debug, visualize, and simulate signals in digital systems The quarantines are forcing an increasing number of engineers and... Read Article
Learn more about Optocoupler Design for EMI Immunity by Broadcom & EBV
Join the IEEE Webinar on 26th May, 4pm CET – Optocoupler Design for EMI Immunity Also available on demand This webinar takes a close look into... Read Article
6 use cases for adaptable technology and its impact on automotive trends
Overcome technological complexity in automotive design with Xilinx and Avnet Silica The automotive industry is a highly competitive space. In the blink of an eye, a... Read Article