我们知道单片机运算过程中得到的数据在掉电后都会消失,有没有办法让这些中间数据在掉电后仍然能存储下来,并通过一定的方式读取出来?
TM4C123G型号的单片机能做到这些么
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
很多办法都可以实现,
例如重要的数据,可以定期保存到Flash或者EEPROM。或者在系统中加个铁电。
还有个办法是监测输入端掉电后,一次性把数据保存起来。这里要求你的系统有足够的电容或者电池,系统掉电后,MCU有足够的工作时间来执行写操作。