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
Go with OPTO! Watch this free Webinar about Broadcom’s Isolation Products in Electrical Chargers
Broadcom Webinar: Isolation Products for High Speed Inverters/Converters in Electrical Chargers DC fast chargers shorten charging time from hours to mere minutes. Such high-powered equipment requires... Read Article
Efficient DC Power Distribution in Data Centres
The consistent use of direct current in a data centre makes sense. Losses can be massively reduced. On the power side, the IEC has defined the... Read Article
AC/DC Power Supplies 15 – 450 W from Traco Power
Engineered to stay cool High performance, ultra-compact AC/DC power supplies with minimal heat dissipation. Available in four different mechanical packages, these high-efficiency power supplies utilize industrial grade... Read Article
Bluetooth Mesh Solutions for IoT Based Designs
Cypress Best-in-class Bluetooth Mesh Cypress’ Bluetooth Mesh Eval Kit is a multi-node platform featuring a certified Bluetooth 5 module, sensors, and multiple mesh example projects with... Read Article
Check out the newly expanded TE Connectivity Online Store!
Buy Now with PayPal The TE Store now accepts PayPal! This feature gives you a wider range of payment options and the ability to pay for... Read Article
Compact, low power microphone with IC Interface.
This high performance MEMS audio sensor from STMicroelectronics is desigined with an IC Interface and capacitive sensing element. Ideal for a number of applications such as... Read Article