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

serial_uartes stablity

HI

How stable is the serial_uartesexample in nRF5?  I'm running it on a PCA10056, the example works for about 5 seconds and then UART RX stops, i.e. nothing is received after that point.

Thank you.

Pete.

Parents Reply Children
  • HI Kenneth

    I have tried the lib_libuarte example.  Seems if there is already data on the RX pin when it starts up, it crashes.  If the data (GPS) is connected later it works.

    I really like the nRF52840 and the Nordic range, but if it is this hard just to get a UART working, it will be a nightmare to use it on a real product with a deadline.  I'm finding it hard to move beyond anything that requires more than is in one of the examples.  I would love to use one of these devices in a product, but I can't see how.

    Best Regards

    Pete.

  • I am not aware of any issue with lib_libuarte, I tried pulling RXD pin low during init or random time, but the program kept on running when pin was released. Have you added some assert or similar in uart_event_handler() when there is an NRF_LIBUARTE_ASYNC_EVT_ERROR event?

    Best regards,
    Kenneth

Related