Which approach is better for a microcontroller and why.
The booming automotive and IoT markets are driving increasing demand for microcontrollers (MCUs). Recent forecasts project that the overall MCU compound annual growth rate (CAGR) will reach 4% over the next five years, and in particular the automotive MCU CAGR could reach close to 14%.
Non-volatile memory (NVM) is a critical element of MCUs, as it is needed not only to store the code, but also to store the operating data throughout the product lifetime.
Two NVM solutions
There are two NVM solutions commonly used to build MCUs: NVM directly embedded in the system-on-chip (SoC) or a separate, external NVM chip assembled with a logic chip as a system-in-package (SiP) solution. MCUs with embedded NVM (eNVM) are fabricated in a special logic process that includes eNVM, and everything needed for MCU operation is created within that single chip. For MCUs that use a SiP solution, a NOR Flash chip and a logic chip are packaged together. Code and data are therefore stored off the logic chip on a standalone NOR Flash chip.
Top MCU providers primarily use an eNVM solution in their products, but a SiP solution may be an attractive option for smaller companies. Those companies may realize a shorter time to market, partly because using a standard, readily-available logic process may simplify and shorten the design cycle. However, a SiP solution may not meet all the requirements of many IoT and automotive applications. Using eNVM will often be the superior solution given the the cost, power, speed, security, stability, and reliability requirements of high growth MCU applications.
Choosing the best solution
To choose the best solution for an application, consider the following comparison of these two solutions based on key end market requirements of power consumption, power-up time, speed, security, reliability and cost:
Comparing cost
The following cost comparison includes six typical NVM memory densities (2Mb, 4Mb, 8Mb, 16Mb, 32Mb, 128Mb) implemented both on GF’s 40nm LPx platform with eFlash, and also on the 22FDX (22nm FD-SOI) platform with eMRAM.
Because every company has a different power up methodology for SiP solutions, various on-chip SRAM densities are used to “shadow” the external Flash. The following results assume the ideal case for SiP, where a SiP solution and eNVM solution utilize an identical SRAM size. Note that most common SiP solutions increase the SRAM size for code shadowing from the external Flash.
The graph above shows that the 40nm platform with eNVM (eFlash) is lower cost when the NVM density is less than 16Mb, while the SiP solution is lower cost when the NVM density is equal to, or higher than 16Mb.
For a design utilizing 22nm FDX platform, the eNVM solution (eMRAM) is lower cost when the NVM density is less than 32Mb, while the SiP solution is lower cost when the NVM density is equal to or higher than 32Mb.
Comparing the two platforms, the 22FDX eNVM solution (eMRAM) has lower cost at all the NVM densities versus the 40nm SiP solution. In addition, for the 22nm platform the additional cost for eMRAM at higher densities (32Mb+) is 4% or less, while also outperforming a SiP solution in power, speed, security, and reliability.
For even larger SRAM densities, the advantages of an eNVM solution are even greater.
So, which solution is best for my MCU?
In summary, both eNVM and SiP solutions are viable methods to combine logic and NVM. However, eNVM is often a better choice for MCUs based on the superior power, speed, security and reliability. With respect to cost, eNVM is often a lower cost than SiP, especially below 32Mb NVM densities. As MCU makers consider all the trade-offs for their products, GF stands ready to assist clients in selecting the appropriate solution to win in their market.
In a recent Tech Talk video GF talks about the pros and cons of embedded non-volatile memory versus system in package.
Leave a Reply