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
Types of electronic circuits discussed
There are many other interesting elements to electronic and circuits is top on my list. While this topic can quite complicated, it is nevertheless possible to... Read Article
New Renesas Industrial Ethernet Module R-IN32M3 Solution Kit
Register to win a solution kit! The R-IN32M3 Industrial Ethernet Module is a ready-to-use, certified hardware and software solution based on Renesas technology and quality standards.... Read Article
The Hitchhiker’s Guide to PCB Design
Want to create a solid, manufacturable PCB the first time? Get the only eBook you will ever need to upgrade your PCB knowledge and launch your... Read Article
Secure your supply with Future Electronics
Find what you need faster Hundreds of thousands of components. Three strategically-located Distribution Centers. ONE global IT infrastructure. Find what you need faster with access anywhere,... Read Article
Save 10% on Orders $500 or More
Promo code is valid for saving 10% on orders of $500 or more. Offer does not apply to products from Adafruit, DEEPWAVE DIGITAL, FTDI Chip, NVIDIA,... Read Article
Create Smaller, More Power-Efficient USB-C and USB-C Power Delivery Designs
Maxim Integrated’s extensive portfolio of ICs for USB-C and USB-C Power Delivery designs provide high levels of integration and flexibility that engineers need to create compact,... Read Article