Document : CS-SUP-MUTI-WPORTAPP-E02.sxw
3.2.5 - Selection of the serial baudrate.
It is possible to modify the serial link baudrate, between WaveCard local and its host. In this case, the
baudrate is updated only after the current exchange finished (i.e. that the response at the request of
modification is done with the same baudrate as the request).
By default, the serial link baudrate is of 9600 bauds (value = 0x00).
Parameter value
0x00
0x01
0x02
0x03
0x04
Baudrate
9600 baud
19200 baud
38400 baud
57600 baud
115200 baud
The modification commands of the baudrate, are as follows :
CMD
NAME
DESCRIPTION
0x42
REQ_CHANGE_UART_BDRATE
Request to update serial link Baudrate
0x43
RES_CHANGE_UART_BDRATE
Response from the radio board to the serial link baudrate update. Serial Link
Baudrate is updated once the exchange is ended
Remark :
In the command byte coding, the Response frame type are taking the Request command byte value
with the LSB bit set to 1.
a) Selection commands format of the baudrate
Request, from the host to the WaveCard
REQ_CHANGE_UART_BDRATE
HEADER
CMD
DATA
CRC
ETX
3 bytes
1 byte
1 byte
2 bytes
1 byte
0xFF ; 0x02 ; 0x05
0x42
Parameter value
0x03
Response, from the WaveCard to the host
RES_CHANGE_UART_BDRATE
HEADER
CMD
DATA
CRC
ETX
3 bytes
1 byte
1 byte
2 bytes
1 byte
0xFF ; 0x02 ; 0x05
0x43
Status
0x00 :
update ok
0x01 :
update error
0x03
WaveCard user handbook
page 28 of 67