« Close

Datasheets and User Guides

App Notes

Software & Driver

 

5.2.19 - AsynchTX

Sends bytes to the U6 UART which will be sent asynchronously on the transmit line.

Table 5.2.19-1. AsynchTX Command Response

Command:  
Byte  
0 Checksum8
1 0xF8
2 1 + NumAsynchWords
3 0x15
4 Checksum16 (LSB)
5 Checksum16 (MSB)
6 0x00
7 NumAsynchBytesToSend
8 AsynchByte0
... ...
   
   
Response:  
Byte  
0 Checksum8
1 0xF8
2 0x02
3 0x15
4 Checksum16 (LSB)
5 Checksum16 (MSB)
6 Errorcode
7 NumAsynchBytesSent
8 NumAsynchBytesInRXBuffer
9 0x00
  • NumAsynchWords: This is the number of asynch data bytes divided by 2. If the number of bytes is odd, round up and add an extra zero to the packet.
  • NumAsynchBytesToSend: Specifies how many bytes will be sent (0-56).
  • NumAsynchBytesInRXBuffer: Returns how many bytes are currently in the RX buffer.