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

An invalid value is acquired by Uart communication.

Central info
   SDK: 15.3
   nRF52840

Uart communication is used.
In rare cases, the value obtained by checking the waveform with an oscilloscope was different from the value actually obtained with the app_uart_get () in the code.
Is there a similar case?

Parents
  • Host CPU ----uart----> BLE

    expect command: [10 02 00 06 00 01 00 00 10 03 04]

    unexpect command: [10 02 02 06 00 00 01 00 00 10 03 04]

    The expected command is received continuously every 100ms on BLE device.

    The device may receive an unexpected command once every 10 minutes.

    However, when I check with an oscilloscope, it is an expected command.

Reply
  • Host CPU ----uart----> BLE

    expect command: [10 02 00 06 00 01 00 00 10 03 04]

    unexpect command: [10 02 02 06 00 00 01 00 00 10 03 04]

    The expected command is received continuously every 100ms on BLE device.

    The device may receive an unexpected command once every 10 minutes.

    However, when I check with an oscilloscope, it is an expected command.

Children
Related