buydisplay.com
EastRising
desired effect, now we can connect Host with serial TFT panel as photo 1-5 shown. When Host MCU
send out command
80h, 00h, 1Bh(CRC1), 98h(CRC2)
, Serial Uart TFT Panel will display the first picture
and send back
80h, 00h(command executed), 1Bh(CRC1), 98h(CRC2)
to Host to confirm the protocol is
completed. Shown as below:
Figure 1-6: Command Protocol Example 1
When Host MCU send out command
80h, 01h, 0Bh(CRC1), B9h(CRC2)
, Serial Uart TFT Panel will display
the second picture and send back
80h, 00h (command executed), 1Bh(CRC1) 98h(CRC2)
to Host to
confirm protocol is completed. As below figure shows:
Figure 1-6: Command Protocol Example 2
In order to ensure the correct data transmission between the Host and the Uart TFT Panel, the
command sent by the Host MCU program must be added with 1 byte initial code( fixed as 0xAA),2 Byte
CRC codes, 4 Byte End code (fixed as 0xE4, 0x1B, 0x11, 0xEE). After the TFT panel receive the
information or execute the command, it will return the information to the host MCU. For the command
protocol between the Host and TFT panel, please refer to Section 2.2. The generation method of the
2-byte CRC, please refer to Section 2.3.