SmartGPU2-LCD480X320Touch-CommandSet
SMART GPU 2 3.5” TOUCH
Command Set
Vizic Technologies ©2014 21
2.2.5 BaudRate Change – 58hex - X ascii
Commands (host)
6 bytes
1.- 0x4D (hex), M (ascii). *Master command
2.- 0x58 (hex), X (ascii).
3.- Baud Rate High Byte.
4.- Baud Rate Medium High Byte.
5.- Baud Rate Medium Low Byte.
6.- Baud Rate Low Byte.
Responses (device)
1 byte when fail, 2 bytes when success
1.- 0x4F (hex), O (ascii) – success ACK at actual
baud rate.
--Delay of 500ms.
2.- 0x4F (hex), O (ascii) – success ACK at new
baudrate.
or
1.- 0x46 (hex), F (ascii) – fail NAK at actual baud
rate.
Description
Command needed to set a different baud rate, the
command sent by the host must be at the actual
baud rate that is being used; if the command is
invalid a NAK will be responded by the SMART GPU
and the baud rate will not be modified.
If the command is accepted an ACK will be received
at the actual baud rate then SMART GPU will change
to the new baud rate during 500ms and then it will
send another ACK at the new baud rate selected.
Only when an ACK has been received by the host,
the next commands must be sent at the new baud
rate defined.
Default reset - power on baud rate is 9600.
Example (sent commands)
Example 1:
<4D,58,00,01,C2,00> Set 115200 bps baud.
Example 2:
<4D,58,00,1E,84,80> Set 2000000 bps baud.
All data is in hex.