Sends bytes to the device UART which will be sent asynchronously on the transmit line.
-
U3: Requires U3 hardware version 1.21.
-
UE9 : The transmit line is PIN2 (TX0) pin on the DB37 connector.
|
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. Valid values are 0-246 on the UE9 or 0-56 on the U3/U6.
-
NumAsynchBytesInRXBuffer: Returns how many bytes are currently in the RX buffer.