Understanding Memory in Embedded Systems and IoT Devices ππ±πΎ
Memory plays a crucial role in embedded boards, IoT devices, and Computer-on-Modules (CoMs). It impacts performance, power efficiency, and overall system reliability. Letβs break down the different types of memory used in these systems in a simple and easy-to-understand way. β‘π οΈπ
1. Volatile Memory (RAM - Temporary Storage) π§ β‘π‘
RAM is used for temporary storage while the system is running. When the power is turned off, the data is lost.
a. DRAM (Dynamic RAM)
- Acts as the main system memory.
- Needs constant refreshing to keep data.
- Common types:
- SDRAM β Works with the processor clock.
- DDR (Double Data Rate) SDRAM β Found in most modern devices (DDR3, DDR4, DDR5).
- LPDDR (Low Power DDR) β Used in mobile and IoT devices to save power.
b. SRAM (Static RAM)
- Faster but more expensive than DRAM.
- Doesnβt need refreshing.
- Used in cache memory and buffering for quick access. ππΎπ
2. Non-Volatile Memory (ROM - Permanent Storage) π¦ππΎ
Non-volatile memory retains data even when power is off.
a. NOR Flash
- Has fast read speeds.
- Used for storing firmware (BIOS, bootloaders, microcontroller programs). βοΈπβ‘
b. NAND Flash
- Stores large amounts of data (SD cards, SSDs, eMMC, UFS).
- Common in IoT and embedded devices. ππ½π‘
c. EEPROM (Electrically Erasable Programmable ROM)
- Stores small amounts of configuration data.
- Can be rewritten but has limited write cycles. ππ‘ποΈ
d. Mask ROM
- Pre-programmed at the factory.
- Used in low-cost, high-volume devices. ππ§π
3. Embedded Storage Technologies πΎπ±π
a. eMMC (Embedded MultiMediaCard)
- Built-in storage for IoT and embedded systems.
- Cheaper than SSDs but slower. π°ππ½
b. UFS (Universal Flash Storage)
- Faster than eMMC.
- Used in high-performance mobile and embedded devices. πππ
c. SSD (Solid-State Drive)
- High-speed storage (NVMe, SATA SSDs).
- Found in industrial and high-performance embedded systems. β‘πΎπ
d. MRAM (Magnetoresistive RAM)
- Non-volatile and fast.
- Used for real-time data logging. πβ‘π‘
4. Specialized Memory Types π―π οΈπ
a. NVRAM (Non-Volatile RAM)
- Retains data even after power loss.
- Used in systems that require fast recovery. πβοΈπ‘
b. FRAM (Ferroelectric RAM)
- Low power, high-speed memory.
- Used in IoT, automation, and medical devices. π₯π‘β‘
c. PCM (Phase Change Memory)
- Performs like DRAM but retains data.
- Used in advanced AI and IoT applications. π§ ππ
5. Memory in Computer-on-Modules (CoMs) ποΈπ§π¦
CoMs integrate a processor with different types of memory for various applications.
- RAM: DDR3, DDR4, LPDDR (depending on need).
- Boot Memory: NOR flash or EEPROM.
- Storage: eMMC, UFS, or SSD depending on performance requirements. ππΎπ
Common CoM Standards
- COM Express
- SMARC
- Qseven
- Raspberry Pi Compute Module
- Jetson Modules (for AI and graphics applications) π₯οΈπ€π‘
Conclusion π―πβ
- Embedded & IoT Devices rely on low-power memory like LPDDR, eMMC, and NOR flash.
- Industrial & High-Performance Systems use DDR4, NAND SSDs, and NVMe storage.
- Computer-on-Modules (CoMs) have customized memory setups for different needs. β‘ποΈπ