« Close

Datasheets and User Guides

App Notes

Software & Driver

 

5.2.18 - AsynchRX

Requires U3 hardware version 1.21. Reads the oldest 32 bytes from the U3 UART RX buffer (received on receive terminal). The buffer holds 256 bytes.

Table 5.2.18-1. AsynchRX Command Response

Command:  
Byte  
0 Checksum8
1 0xF8
2 0×01
3 0×16
4 Checksum16 (LSB)
5 Checksum16 (MSB)
6 0×00
7 Flush
   
Response:  
Byte  
0 Checksum8
1 0xF8
2 1 + NumAsynchWords
3 0×15
4 Checksum16 (LSB)
5 Checksum16 (MSB)
6 Errorcode
7 NumAsynchBytesInRXBuffer
8 AsynchByte0
39 AsynchByte31
  • Flush: If nonzero, the entire 256-byte RX buffer is emptied. If there are more than 32 bytes in the buffer that data is lost.
  • NumAsynchBytesInRXBuffer: Returns the number of bytes in the buffer before this read.
  • AsynchByte#: Returns the 32 oldest bytes from the RX buffer.