You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by be...@apache.org on 2019/10/12 14:44:04 UTC

[mynewt-core] branch master updated: da1469x: The 1V8 rail should not use the rentional LDO in active mode

This is an automated email from the ASF dual-hosted git repository.

benmccrea pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git


The following commit(s) were added to refs/heads/master by this push:
     new 7997527  da1469x: The 1V8 rail should not use the rentional LDO in active mode
     new 0ab74a3  Merge pull request #2037 from JuulLabs/fix/config-1v8-rail
7997527 is described below

commit 79975271c0b0adb0c4b2c86d86669805e3368db6
Author: Ben McCrea <bm...@juul.com>
AuthorDate: Fri Oct 11 10:52:37 2019 -0700

    da1469x: The 1V8 rail should not use the rentional LDO in active mode
---
 hw/mcu/dialog/da1469x/src/da1469x_prail.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/hw/mcu/dialog/da1469x/src/da1469x_prail.c b/hw/mcu/dialog/da1469x/src/da1469x_prail.c
index df6b266..4bc570f 100644
--- a/hw/mcu/dialog/da1469x/src/da1469x_prail.c
+++ b/hw/mcu/dialog/da1469x/src/da1469x_prail.c
@@ -60,9 +60,9 @@ da1469x_prail_configure_1v8(void)
     /* XXX make rail configurable */
 
     POWER_CTRL_REG_SET(V18_LEVEL, 1);                   /* 1.800 V */
-    POWER_CTRL_REG_SET(LDO_1V8_RET_ENABLE_ACTIVE, 1);
+    POWER_CTRL_REG_SET(LDO_1V8_RET_ENABLE_ACTIVE, 0);
     POWER_CTRL_REG_SET(LDO_1V8_RET_ENABLE_SLEEP, 1);
-    POWER_CTRL_REG_SET(LDO_1V8_ENABLE, 0);
+    POWER_CTRL_REG_SET(LDO_1V8_ENABLE, 1);
 }
 
 static void