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

a high current consumption about 0.9mA when i use DFU and app_button libary

Hi,

I find three different states that is related to DFU and app_button libary.

1, no DFU(that is no bootloader), but using app_button libary, there is no 0.9mA current, 2, using DFU(but single bank), no app_button libary, there is no 0.9mA current. 3 , using DFU(dual bank) and app_button libary, there is 0.9mA current.

I want to konw , what is related to the 0.9mA current on earth? Is there a conflict between app_button libary and DFU (single bank or dual bank)?

The 0.9mA current is very high for my product.

If there is a resolution way? Nobody encounter this problem? Pls help me ,, thank all of you!

  • Could you share your code? If I understood your post correctly, you are using the app_button library in you application and not in the bootloader? You are either running the application code or the bootloader code, both are not running at the same time, i.e. they should not affect each other. Just note that the bootloader will not perform a reset when branching to application after a sucessful update, i.e. GPIO and peripheral registers will be retained.

Related