Skip to content

nRF devices with LTO batteries: PWRMGT_VOLTAGE_BOOTLOCK too high; prevents boot #1572

@TheSlowGrowth

Description

@TheSlowGrowth

For RAK4631 devices, PWRMGT_VOLTAGE_BOOTLOCK is set to 3.3V.
While this is fine for Lithium Ion batteries, it prevents booting without a USB connection when using LTO batteries, where the 0% voltage is around 1.8V.
This affects the popular mesh base boards by uart.cz if used with the LTO battery pack from the same website, and any other device using a different type of battery.

Obviously, the voltage can be adjusted using the PWRMGT_VOLTAGE_BOOTLOCK definition. But this would require a dedicated firmware for each potential battery chemistry, which sounds like a nightmare from the user perspective and the development perspective.

So ideally, the cutoff voltage would be user configurable in the node configuration.

Happy to help work out a solution and provide a PR. Let's discuss.

tagging @entr0p1 , I see you added the bootlock feature recently.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions