4391 views|14 replies

688

Posts

0

Resources
The OP
 

Why do we need to add an external EEPROM when using some MCUs? [Copy link]

 

Why do we need to add an external EEPROM when using some MCUs? Why do some projects not add it, but others do?

This post is from NXP MCU

Latest reply

Sorry, my bad, I mean MPU   Details Published on 2022-5-27 08:55
 

6773

Posts

2

Resources
2
 

See if the MCU's own memory is sufficient to store the data. If not, an external EEPROM is needed to store the data.

This post is from NXP MCU

Comments

If it’s not enough, why not just choose an MCU with larger memory?  Details Published on 2022-5-11 16:06
 
 
 

688

Posts

0

Resources
3
 
wangerxian posted on 2022-5-11 15:55 It depends on whether the MCU's own memory is enough to store data. If it is not enough, an external EEPROM is needed to store data.

If it’s not enough, why not just choose an MCU with larger memory?

This post is from NXP MCU

Comments

If the maximum memory of MCU cannot meet the needs, it must be expanded externally. Moreover, as the functions of the product increase, the code will also occupy the Flash of MCU. After comprehensive consideration, some products will use external EEPROM. Especially for some products with pictures and audio, external Flash or SD card may be considered. The existence of EEPROM must have its  Details Published on 2022-5-11 16:47
 
 
 

9717

Posts

24

Resources
4
 

EELROM can store some frequently read and written content, such as changing channels on a TV. The number of times the FLASH of the microcontroller is erased and written is relatively small.

This post is from NXP MCU

Comments

OK OK  Details Published on 2022-5-11 17:39
 
 
 

6773

Posts

2

Resources
5
 
Xiao Taiyangyy posted on 2022-5-11 16:06 If it is not enough, why not choose an MCU with larger memory?

If the maximum memory of the MCU cannot meet the needs, it must be expanded externally. Moreover, as the product functions increase, the code will also occupy the MCU's Flash. Taking all factors into consideration, some products will use external EEPROM.

Especially for those with pictures and audio, you may consider external Flash or SD card.

The existence of EEPROM certainly has its uses, and whether to expand externally needs to be considered based on the product.

This post is from NXP MCU

Comments

OK, thanks for the explanation  Details Published on 2022-5-11 17:42
OK, thanks for the explanation  Details Published on 2022-5-11 17:39
 
 
 

2w

Posts

0

Resources
6
 

"Why do we need to add an external EEPROM when using some MCUs?"

If it is not enough, you need to expand outward. It’s a very simple truth.

This post is from NXP MCU
 
 
 

688

Posts

0

Resources
7
 
wangerxian posted on 2022-5-11 16:47 If the maximum memory of MCU cannot meet the demand, it must be expanded externally. Moreover, as the product functions increase, the code will also occupy the MCU's Flash. Taking into account some products...

OK, thanks for the explanation

This post is from NXP MCU
 
 
 

688

Posts

0

Resources
8
 
littleshrimp posted on 2022-5-11 16:12 EELROM can store some frequently read and written content, such as TV channel switching =image=, while the MCU's FLASH has a relatively small number of erase and write times.

OK OK

This post is from NXP MCU
 
 
 

688

Posts

0

Resources
9
 
wangerxian posted on 2022-5-11 16:47 If the maximum memory of MCU cannot meet the demand, it must be expanded externally. Moreover, as the product functions increase, the code will also occupy the MCU's Flash. Taking into account some products...

So suppose I need to store a program with a large memory in the MCU. Can I choose an MCU with a very small memory and a very large EEPROM? In this case, doesn't it mean I don't need to choose an MCU with a large memory, and just adding an EEPROM will be a big deal?

This post is from NXP MCU

Comments

Yes, but you have to use flash.  Details Published on 2022-5-11 23:01
 
 
 

6773

Posts

2

Resources
10
 
wangerxian posted on 2022-5-11 16:47 If the maximum memory of MCU cannot meet the needs, it must be expanded externally. Moreover, as the product functions increase, the code will also occupy the Flash of MCU. Considering comprehensively, some products...
Suppose I need a program with a large memory to be stored in MCU, can I choose an MCU with a small memory and a large EEPROM? In this case, don’t I need to choose an MCU with a large memory? Just increasing the EEPROM is not enough?

Yes, but you have to use flash.

This post is from NXP MCU
 
 
 

706

Posts

0

Resources
11
 

This is a design selection issue. If you know in the early design that the program memory is relatively large, you can use a large-capacity Flash version MCU.

This post is from NXP MCU
 
 
 

1025

Posts

0

Resources
12
 

Support everyone's opinion!

One use we often see is copyright and "confidential data". Board production cannot be controlled, and piracy is common. If some confidential data or temporary important data are stored separately, and a dedicated person installs and provides it when the whole machine leaves the factory, it will limit the unplanned parallel import of products. Because only a few people have these data, and each one is related to the user and the contract, it ensures the traceability of production and subsequent services.

In addition, some data are frequently rewritten and have to be stored externally even if the data is small, such as the car's mileage and vehicle computer status data.

This post is from NXP MCU
 
Personal signatureچوآن شـين
 
 

114

Posts

6

Resources
13
 

Some MCUs cannot read and write internal FLASH, but if there is a need for memory, an external EEPROM is required.

Sometimes the MCU is not big enough to store audio or pictures, so it will be stored in an external large-capacity EEPROM or FLASH.

Sometimes, a special EEPROM is placed for encryption to protect the program, and the company's special code is burned in it.

Sometimes the MCU is designed in such a way that the program is loaded from an external EEPROM and executed.

There are many situations, but they all have their purpose.

This post is from NXP MCU
 
 
 

148

Posts

0

Resources
14
 

The internal settings of MCU are becoming more and more complicated, such as DCDC output voltage, maximum protection current, LDO output voltage, GPIO settings. MCU manufacturers used EEPROM or FLASH to store the internal information mentioned above, sometimes including the factory batch number, plus the preset parameters I mentioned here, which manufacturers usually call OTP (One time program).

This post is from NXP MCU
 
 
 

148

Posts

0

Resources
15
 

Sorry, my bad, I mean MPU

This post is from NXP MCU
 
 
 

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

Related articles more>>
Featured Posts
Microwave Resource Website Collection

WebSites-microwaveresourceswww.codata.org,CommitteeonDataforScienceandTechnology(CODATA).Containsmostrecentvaluesofphysi ...

Experiment 9. Digital display experiment

The digital display using a single chip microcomputer should have a display device; the most widely used is the 7-segmen ...

The results of the US 337 investigation on DJI are released: no ban will be issued

At 5 a.m. Beijing time today, the U.S. Department of Commerce's International Trade Commission (ITC) made a final ruling ...

The actual output voltage of the SEPIC circuit does not match the theoretical value.

As shown in the figure, Vin input is 7~12V; R3=9k ohm, R6=1K ohm; power chip XL6008 (Xinlong), FB pin voltage VFB=1.25. ...

Discussion on the Reasons for the Temperature Drop of MOS Tubes Connected in Parallel

A circuit was originally designed to test the size of AC current. The design value is 5A maximum, with multiple rang ...

When studying the working principle of RCD circuit, what is the energy accumulated in the parasitic inductance?

Is it the parasitic inductance of the switch? 626540 Then I saw a circuit similar to RCD function in the PFC circuit. Is ...

My misunderstanding of college esports when I was young

Seeing someone mention the electronics competition on the forum reminded me of my misunderstanding of electronics compet ...

[Digi-Key Follow me Issue 3] Task 5: Using external sensors: temperature and humidity sensors

This issue is about the expansion board of Seeed Studio XIAO ESP32C3, which has multiple external device interfaces: 761 ...

Questions about the application circuit of JFET tube

820697 As shown in the figure above. Q3 is an N-channel JFET tube (model J113), U3 is an LDO power chip, VC-BAT is the ...

【2024 DigiKey Creative Competition】+Light Body Maze Escape Game+Unboxing

I used an esp32-s3 development board with a screen for this project. I'm very interested in UI recently, and I want to l ...

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list