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
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