echo bot tx characters lost

I have compiled the sample code from ncs/v2.9.1/zephyr/samples/drivers/uart/echo_bot and loaded it onto an nRF54L15 dev kit.

The dev kit is connected to my pc running a ubuntu 22.04 vm and picocom terminal emulator (configured with 115200 baud, 8 bits data, no parity and no flow control)

When I run the code on the dev kit I only see the following messages received on the picocom terminal:

Hello! I'm your echo bot.
Tell me something

However, looking at the code, I would expect to see this:

Hello! I'm your echo bot.
Tell me something and press enter:

It is missing "and press enter:\r\n".

When I enter a few characters of text on the picocom terminal and press enter then I observe the expected response.

Can you suggest how to stop the characters transmitted from the nRF54 getting lost ?

Parents
  • Hi,

    I have not been able to reproduce this on my end, and see the whole string as expected:

    *** Booting nRF Connect SDK v2.9.1-60d0d6c8d42d ***
    *** Using Zephyr OS v3.7.99-ca954a6216c9 ***
    Hello! I'm your echo bot.
    Tell me something and press enter:
    Echo: fdsaf
    Echo: fdsa

    As flow contorl is not used, it is possible to loose data due to latencyes or issues on the receiver side as well. Are you able to receive the whole string if you test with a terminal emulator on the host PC and not within the VM?

Reply
  • Hi,

    I have not been able to reproduce this on my end, and see the whole string as expected:

    *** Booting nRF Connect SDK v2.9.1-60d0d6c8d42d ***
    *** Using Zephyr OS v3.7.99-ca954a6216c9 ***
    Hello! I'm your echo bot.
    Tell me something and press enter:
    Echo: fdsaf
    Echo: fdsa

    As flow contorl is not used, it is possible to loose data due to latencyes or issues on the receiver side as well. Are you able to receive the whole string if you test with a terminal emulator on the host PC and not within the VM?

Children
Related