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

What to do with APP_UART_COMMUNICATION_ERROR?

Hi, I am working with app_uart module and during the reception process sometimes there will be APP_UART_COMMUNICATION_ERROR event generated, my question is why there is such errors? And is it possible for us to do some error recovery?

BTW, if we have both BLE and UART running on the nRF51822 chip, what is the highest Baud Rate the chip can offer?

  • With a pullup, I get a framing error

    According to section 35.10.5 in 1: "A valid stop bit is not detected on the serial data input after all bits in a character have been received". I guess it will receive a start bit because of the pullup, and then a lot of 0's (isn't it inverted? Line high == 0, Line low == 1 ?), and after that no stop bit, which should be low.

    I also tried nrf_gpio_cfg_input(RX_PIN_NUMBER, NRF_GPIO_PIN_PULLDOWN); but that gives me FRAMING and BREAK errors, which I yet do not understand.

Related