From 692f63e3ee9c9cdde5aca0e3b4a960aadfe193b6 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Wed, 29 Oct 2014 11:20:54 -0600 Subject: [PATCH] EFM32: In order to use LEUART, LE clocking must be enabled --- arch/arm/src/efm32/efm32_lowputc.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/src/efm32/efm32_lowputc.c b/arch/arm/src/efm32/efm32_lowputc.c index 4198288f5d..f343d341a4 100644 --- a/arch/arm/src/efm32/efm32_lowputc.c +++ b/arch/arm/src/efm32/efm32_lowputc.c @@ -323,6 +323,12 @@ void efm32_lowsetup(void) #endif /* HAVE_UART_DEVICE */ #ifdef HAVE_LEUART_DEVICE + /* Enable the LE interface clock must be enabled in CMU_HFCORECLKEN0 */ + + regval = getreg32(EFM32_CMU_HFCORECLKEN0); + regval |= CMU_HFCORECLKEN0_LE; + putreg32(regval, EFM32_CMU_HFCORECLKEN0); + /* Enable clocking to configured LEUART interfaces */ regval = getreg32(EFM32_CMU_LFBCLKEN0);