MCU's Firmware Starts before Analog Power Rails are "Power Good" #32
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description of Problem:
Hardware Revision: Rev0_3
By looking at the LEDs of different supply rails, it is clear that digital power supply is powered up way before the analog power supply is stabilized.
Since the initial boot stage of firmware must configure and initialize the peripherals, this leads to wrong configurations of peripherals due to analog power supply not being stable.
During firmware development, thermostat related hardware is consistently being configured wrongly at startup. But, if you reset the MCU and re-run the same firmware when all power rails are stable, firmware initializes peripherals correctly
Solutions:
For Rev0_3:
For next revision:
2. Hardware + Software:
MCU's Firmware starts before Analog Power Rails are "Power Good"to MCU's Firmware Starts before Analog Power Rails are "Power Good"Sounds like we can implement either solution depending on the detected hardware revision? Shouldn't be a lot of code.
Yes. Should be a simple bug fix in code depending hw revision.
After Digital 3V3 Power Rail is stabilized, Analog 3V3A Power Rail takes around
Yellow: Digital 3V3 Power Rail
Purple: Analog 3V3A Power Rail
Note: Since 3V3A is the leaf with the greatest depth down the analog power tree, if 3V3A is stabilized, other analog power rails should have been stabilized.