Flash Features in Automotive MCU Chips

Publisher:alpha11Latest update time:2023-09-13 Source: elecfans Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

Unlike consumer and industrial MCUs, the Flash inside automotive MCU chips is generally divided into PFlash (Program Flash) and DFlash (Data Flash). EEPROM is usually simulated through Data Flash. Another difference is that automotive MCUs are basically Embedded Flash, and rarely use XIP (eXecute In Place) method.

1

Parameters of PFlash and DFlash - Endurance, Page Size

The following figure shows the endurance of PFlash and DFlash of TC336LP. Generally, the default DFlash configuration is Single ended sensing mode (the available size of DFlash in Complment mode is halved). In this case, the erase operation of DFlash is more than 46 times that of PFlash.

bdd7c6ec-1ef8-11ee-962d-dac502259ad0.png

bdfca8e0-1ef8-11ee-962d-dac502259ad0.png

be18e1cc-1ef8-11ee-962d-dac502259ad0.png

2

PFlash Parameters - Wait Cycle

A long time ago, when Xiaoer was learning microcontrollers, he found that the program often ran wild. Later, he found that the reason was that the Flash Wait Cycle of the chip was inexplicably modified.

The CPU speed is very high, such as TC336, which can run up to 300MHz, but the speed of PFlash is not enough, and response time is required, otherwise the reading result will be wrong; this is the origin of Wait Cycle;

As shown below

be44a3de-1ef8-11ee-962d-dac502259ad0.png

As you can see, local access to PSRR is 0 wait, that is, single-cycle execution. For some time-sensitive programs, they will be put into PSPR to run;

Similarly, as shown in the figure below, data reading and writing are also the same

be68d376-1ef8-11ee-962d-dac502259ad0.png

In this article, I guess everyone has understood why increasing the main frequency alone has limited impact on computing performance.


Reference address:Flash Features in Automotive MCU Chips

Previous article:In what areas do cars need to use Hall switches?
Next article:Basic Principles of Resistor Current Sensing

Latest Embedded Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号