diff --git a/arch/arm/src/stm32h7/Kconfig b/arch/arm/src/stm32h7/Kconfig index b013849204d..12d8def5abe 100644 --- a/arch/arm/src/stm32h7/Kconfig +++ b/arch/arm/src/stm32h7/Kconfig @@ -325,8 +325,8 @@ config USART1_RXFIFO_THRES 5 -> Full Higher values mean lower interrupt rates and better CPU performance. - Lower values are need at high BAUD rates to prevent Rx data overrun - errors. + Lower values may be needed at high BAUD rates to prevent Rx data + overrun errors. endif # STM32H7_USART1 @@ -363,8 +363,8 @@ config USART2_RXFIFO_THRES 5 -> Full Higher values mean lower interrupt rates and better CPU performance. - Lower values are need at high BAUD rates to prevent Rx data overrun - errors. + Lower values may be needed at high BAUD rates to prevent Rx data + overrun errors. endif # STM32H7_USART2 @@ -401,8 +401,8 @@ config USART3_RXFIFO_THRES 5 -> Full Higher values mean lower interrupt rates and better CPU performance. - Lower values are need at high BAUD rates to prevent Rx data overrun - errors. + Lower values may be needed at high BAUD rates to prevent Rx data + overrun errors. endif # STM32H7_USART3 @@ -439,8 +439,8 @@ config UART4_RXFIFO_THRES 5 -> Full Higher values mean lower interrupt rates and better CPU performance. - Lower values are need at high BAUD rates to prevent Rx data overrun - errors. + Lower values may be needed at high BAUD rates to prevent Rx data + overrun errors. endif # STM32H7_UART4 @@ -477,8 +477,8 @@ config UART5_RXFIFO_THRES 5 -> Full Higher values mean lower interrupt rates and better CPU performance. - Lower values are need at high BAUD rates to prevent Rx data overrun - errors. + Lower values may be needed at high BAUD rates to prevent Rx data + overrun errors. endif # STM32H7_UART5 @@ -515,8 +515,8 @@ config USART6_RXFIFO_THRES 5 -> Full Higher values mean lower interrupt rates and better CPU performance. - Lower values are need at high BAUD rates to prevent Rx data overrun - errors. + Lower values may be needed at high BAUD rates to prevent Rx data + overrun errors. endif # STM32H7_USART @@ -553,8 +553,8 @@ config UART7_RXFIFO_THRES 5 -> Full Higher values mean lower interrupt rates and better CPU performance. - Lower values are need at high BAUD rates to prevent Rx data overrun - errors. + Lower values may be needed at high BAUD rates to prevent Rx data + overrun errors. endif # STM32H7_UART7 @@ -591,8 +591,8 @@ config UART8_RXFIFO_THRES 5 -> Full Higher values mean lower interrupt rates and better CPU performance. - Lower values are need at high BAUD rates to prevent Rx data overrun - errors. + Lower values may be needed at high BAUD rates to prevent Rx data + overrun errors. endif # STM32H7_UART8 diff --git a/arch/arm/src/stm32h7/stm32_serial.c b/arch/arm/src/stm32h7/stm32_serial.c index f18dfda6e8f..897114de661 100644 --- a/arch/arm/src/stm32h7/stm32_serial.c +++ b/arch/arm/src/stm32h7/stm32_serial.c @@ -1207,7 +1207,7 @@ static int up_setup(struct uart_dev_s *dev) regval = up_serialin(priv, STM32_USART_CR3_OFFSET); regval &= ~(USART_CR3_CTSIE | USART_CR3_CTSE | USART_CR3_RTSE | USART_CR3_EIE); - /* Set Rx FIFO threshold to empty */ + /* Set Rx FIFO threshold to the configured level */ regval |= USART_CR3_RXFTCFG(priv->rxftcfg); diff --git a/configs/metro-m4/README.txt b/configs/metro-m4/README.txt index b0b2c563630..e49ba034093 100644 --- a/configs/metro-m4/README.txt +++ b/configs/metro-m4/README.txt @@ -86,7 +86,7 @@ STATUS 2018-09-01: I found a workaround by substituting OSCULP32K for XOSC32 as the source to GCLK3. With that workaround, the port gets past all clock and USART configuration. A new configuration option was added, - CONFIG_METRO_M4_32KHZXTAL. By default this workaround is in place. + CONFIG_METRO_M4_32KHZXTAL. By default this workaround is in place. But you can enable CONFIG_METRO_M4_32KHZXTAL if you want to further study the XOSC32K problem.