I have a problem sending a stream of bytes to an Atmega256RFR2 XPRO running a BitCloud application. I'm using callback mode for both TX and RX. Transmitting works fine and I can print text strings to my PC terminal, but when I try to send more than one byte using, for example, Atmel Studio's Terminal, the UART receive callback indicates received length = 1, and received data is the first byte of the group I send. The UART receive callback then gets called again with the length = the number of the remaining bytes I sent, but the received data is not correct.
Level: New Member
Joined: Thu. Oct 16, 2014
Posts: 17 View posts
Location: Cairo, Egypt
Last Edited: Fri. Oct 16, 2015 - 12:37 AM