Wondering how to configure Brown Out Detection

⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at计画ps://www.wsdof.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
2 posts / 0 new
Last post
dsandbue
Offline
Last seen:1年9个月前
加入:2017-02-15 14:09
Wondering how to configure Brown Out Detection

Hello there,

I'd like to operate a DA14681 within an environment that is (sometimes) affected by short voltage interruptions. Usually, that's not a Problem and the mikrocontroller restarts after the power recovers. However, in rare cases (like 1 in 20), the Controller crashes on Startup and even the watchdog is unable to recover him.

I'd like to implement the BOD Feature and see if it helps with the Problem, but unfortunately I'm stuck. In bsp_defaults.h, dg_configUSE_BOD is set to 1, but do I Need to make further changes? I'd like to oversee the V33 oder VDD voltage. I have found a lot of defines in DA14681AE.h (BOD_CTRL_REG), but I'm not sure what to do with them. Your help would be greatly appreciated! :-)

Thank you very much in advance,
Philipp

Device:
MT_dialog
Offline
Last seen:2 months 6 days ago
工作人员
加入:2015-06-08 11:34
Hi dsandbue,

Hi dsandbue,

Unless you re-define the dg_configUSE_BOD in order to not be used from your custom configuration the module will take the default value from the bsp_defaults.h that means that the BOD should be enabled. There is no further configurations for you to make in order to enable it, if there are TCS entries for the BOD, those settings are applied, if not the default SDK configuration is enabled via the hw_cpm_configure_bod_protection() function. For more information regarding configuring the BOD please check the 681 datasheet in page 48 where the BOD and the rails that are monitored are explained.

Thanks MT_dialog