Fix rak4631 boot with DC/DC#1914
Conversation
|
This fixes the problem @Emmpunkt was having - not being able to boot with DC/DC on. |
| if (sd_enabled) { | ||
| sd_power_dcdc_mode_set(NRF_POWER_DCDC_ENABLE); | ||
| } else { | ||
| NRF_POWER->DCDCEN = 1; |
There was a problem hiding this comment.
I guess this will increase the power consumption of all NRF52 repeaters (running without softdevice) by something like 20 to 30%.
I have a board with RAK4630 (uart.cz Solar Mesh Baseboard) running with DCDC enabled for several months now without any issues. And a lot of other people are running similar RAK4630 and RAK4631 hardware without such issues.
So I really wonder what is different for @Emmpunkt in #1878 and if this change is justified.
There was a problem hiding this comment.
If "powersaving on" is used, repeaters dont need this DC2DC to achieve 6mA.
This DC2DC is more meaningful to companions and repeaters without powersaving on.
I guess DC2DC is less reliable at low voltage than the default LDO way.
|
So besides disabling DC2DC, this PR is to fix the NRF52 power management too? Will disabling of DC2DC alone can fix this problem? |
437913c to
e2e73ca
Compare
Wait 50ms after boot before actually shutting down on low voltage Also fix deadlock issue where only USB can wake the device
e2e73ca to
df73abc
Compare
Only enable DC/DC converter when SoftDevice is managing power.
fixes #1879
Build here https://mcimages.weebl.me/?commitId=fix-rak4631-boot&variant=RAK_4631_repeater