run demo central-uart problem with NRF52840dk

I start a application from the demo central-uart with the NRF CONNECT SDK 1.9.1

I try to communication via the com.

but the first byte of the rx buffer is wrong,I did not change the code of the demo,just build and debug it.

Can anyone help me to resolve the problem?

1.connect status:

2.send content:

 

3.the rx buffer  with vsc breakpoint,first byte is wrong ,1 is  expected, but got 0. some time is other char

Parents
  • Hi,

    Can you try with a different serial terminal application? I just tested the same example from nRF Connect SDK v1.9.1 together with RealTerm, and it is receiving the data correctly:

    Looks like your application is shifted ~50 lines compared to the original sample, so there seems to be some changes in your application.

    You can also check the UART pins with a logic analyzer, to see if the correct data is sent on the lines.

    Best regards,
    Jørgen

Reply
  • Hi,

    Can you try with a different serial terminal application? I just tested the same example from nRF Connect SDK v1.9.1 together with RealTerm, and it is receiving the data correctly:

    Looks like your application is shifted ~50 lines compared to the original sample, so there seems to be some changes in your application.

    You can also check the UART pins with a logic analyzer, to see if the correct data is sent on the lines.

    Best regards,
    Jørgen

Children
Related