This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

UARTE0 BAUDRATE setting method

OS in development environment :Windows7
HARD :(Taiyo Yuden)EBSHSN Series Evaluation Board : Central / Peripherals
CPU :(Nordic) nRF52832 / ARMR Cortex-M4F 32 bit processor 28-pin Land Grid Array / 15GPIOs / SWD
Soft Ver:nRF5_SDK_15.3.0_59ac345

The ble_app_uart program uses UARTE0. However, the correct value is not set in the UARTE0 BAUDRATE register.
(UART0 BAUDRATE value is set)
How can I set the UARTE0 BAUDRATE register correctly?

"Ble_app_uart_c" UARTE0 BAUDRATE register setting is also wrong

Parents
  • Hi

    The baud rate of both UART and UARTE is configured to 115200 in the uart_init() function, which is the default baud rate in our nRF5 SDK examples. What value do you want to set the baud rate to? You can also check the sdk_config.h file and set the NRFX_UARTE_DEFAULT_CONFIG_BAUDRATE to the default baud rate configuration you like.

    Best regards,

    Simon

Reply
  • Hi

    The baud rate of both UART and UARTE is configured to 115200 in the uart_init() function, which is the default baud rate in our nRF5 SDK examples. What value do you want to set the baud rate to? You can also check the sdk_config.h file and set the NRFX_UARTE_DEFAULT_CONFIG_BAUDRATE to the default baud rate configuration you like.

    Best regards,

    Simon

Children
Related