Understanding Memory in Embedded Systems and IoT Devices πŸš€πŸ“±πŸ’Ύ
Kothandaraman Kannadasan Lv3

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. βš‘πŸ—οΈπŸ”‹