nuttx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gn...@apache.org
Subject [incubator-nuttx] 31/31: Use LPO 32Khz clock for RTC
Date Thu, 23 Apr 2020 13:31:36 GMT
This is an automated email from the ASF dual-hosted git repository.

gnutt pushed a commit to branch SocketCAN
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit 79e58cb7d5a7d7cd05a5af9ab257b8917e2e134c
Author: Peter van der Perk <peter.vanderperk@nxp.com>
AuthorDate: Wed Mar 18 12:27:39 2020 +0100

    Use LPO 32Khz clock for RTC
---
 boards/arm/s32k1xx/s32k148evb/src/s32k1xx_clockconfig.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/boards/arm/s32k1xx/s32k148evb/src/s32k1xx_clockconfig.c b/boards/arm/s32k1xx/s32k148evb/src/s32k1xx_clockconfig.c
index d41060b..ac597ce 100644
--- a/boards/arm/s32k1xx/s32k148evb/src/s32k1xx_clockconfig.c
+++ b/boards/arm/s32k1xx/s32k148evb/src/s32k1xx_clockconfig.c
@@ -165,7 +165,7 @@ const struct clock_configuration_s g_initial_clkconfig =
     },
     .lpoclk        =                                   /* Low Power Clock configuration.
*/
     {
-      .rtc_source  = SIM_RTCCLK_SEL_SOSCDIV1_CLK,      /* RTCCLKSEL */
+      .rtc_source  = SIM_RTCCLK_SEL_LPO_32K,           /* RTCCLKSEL */
       .lpo_source  = SIM_LPO_CLK_SEL_LPO_128K,         /* LPOCLKSEL */
       .initialize  = true,                             /* Initialize */
       .lpo32k      = true,                             /* LPO32KCLKEN */


Mime
View raw message