This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

MBR set GPIO pin

I'm using the SD (nrf52) MBR to update our custom bootloader, in a battery powered device.We have some custom hardware which is used to disable our LDO, to enter a "Ultra Low Power" Shipping Mode, this is controlled by a GPIO. As you can imagine, turning off the LDO during a bootloader update is not ideal, is there anyway to set a GPIO pin high inside of the MBR, to keep the LDO enabled?

Thanks

  • Hi

    Are you able to provide a schematic of your custom hardware?

    The problem is that the MBR is activated by running a soft reset, which means that even if we changed the MBR to set the pin it would still be undefined during the soft reset. If you could have an external pull up to keep the pin high during reset then that might solve that particular issue, but then you might not be able to keep the pin low trying to disable the LDO (hard to say without knowing more about your hardware).

    Best regards

Related