SmartGPU2-LCD480X320Touch-CommandSet
SMART GPU 2 3.5” TOUCH
Command Set
Vizic Technologies ©2014 10
1.-Host Interface
The Smart GPU 2 is a slave peripheral device and it provides a bidirectional
serial interface to a host controller via its USART(Universal Serial Asynchronous
Receiver - Transmitter).
Any microcontroller or processor (AVR, PIC, BASICstamp, XXDUINO, raspberry
PI, 8051, MBED, FPGA, ARM, STmicro, etc) or PC(by serial interface RS232) as host,
can communicate to the device over this serial interface from 9600bps up to
2000000bps.
The Smart GPU 2 doesn't need to be configured in any way; it's a plug-and-play
device, could be used by students, up to industrial and professional applications, its
compatible with any device and existing development board with a USART/UART.
The serial protocol is universal and very easy to implement.
Serial Data Format: 8 Bits, No Parity, 1 Stop Bit.
BaudRate: 9600 bps (default; could be changed).
Serial data is true and not inverted.
1.1 Command Protocol : Flow Control
The Smart GPU 2 Intelligent Graphics Processor Unit is a slave device and all
communication and events must be initiated first by the host. Commands consist of a
sequence of data bytes beginning with the command/function byte.
When a command is sent from host to the device, this process the command and
when the operation is completed, it will always return a response*. The device will send
back a single acknowledge byte called the ACK (4Fhex, ‘O’ ascii), in the case of
success, or NAK (46hex, ‘F’ ascii), in the case of failure or not recognized command.
* Commands having specific responses may send back varying numbers of bytes, depending upon the command and
response. It will take the device a certain amount of time to respond, depending on the command type and the
operation that has to be performed.