App_uart manifests as one byte buffer.

Hi,

I am running into this issue when receiving over uart where the byte received is always one byte behind relative to the byte sent by the sender. The byte received is either, a) nothing if it's the first communication, or b) the byte of the previous message sent by the sender.

I get this behavior in both the unchanged uart example, as well as the libuarte example in SDKs 15,16,17 (haven't tested others).

For example:

Sent: 0

Received: 

Sent: 1

Received: 0

Sent: 2

Received: 1

What do I have to change in the uart and libuarte loopback examples to see the following behavior?

Sent: 0

Received: 0

Sent: 1

Received: 1

Sent: 2

Received: 2

Parents Reply Children
Related