2022-09-24 04:31 PM
Hi, someone can tell me how much is the average life of an STM32 MCU. If I take an STM32 MCU that performs even a very simple task, and I keep it running 24 hours per day 365 days per year, after how long could I have problems? 1 year? 2 year? 10 year? 50 year?
(of course I mean average life of MCU)
2022-09-24 04:47 PM
If your code doesn't crash, and the power supply doesn't fail, I'd expect 10+ years of continuous operation could be achieved.
Most of the things I build are headless and expected to keep running indefinitely, and be resilient to other things coming/going like the cellular phone networks cycling daily (billing, dhcp, leasing, etc). If firmware updates are pushed, expect to have to restart.
2022-09-24 08:15 PM
A couple of caveats to add to what @Community member said:
2022-09-24 08:41 PM
Just a thought. If your goal is to keep an application running continuously, then you will have to assume you will get some sort of disruption (eg. static discharge, weird radiation, power glitch,..) and recover gracefully from it. You might need to keep some variables+checksums that will allow you to determine whether a reset was from power-up or some unexpected interruption to normal operation - if so, you can log the event but hopefully carry on processing without the user even noticing.