本帖最后由 神秘の宅叔 于 2020-2-20 14:30 编辑
Serial Communication
All DWIN LCMs have one or more connectors for Serial Communication with external controllers. The supported electrical protocols are:
• TTL/CMOS: 0V/3.3V, compatible with 0V/5V devices.
• TTL/RS232 compatibillity interface: 0V/3.3V, compatible with 0V/5V devices.
• RS232: Compliant up to -15V/15V.
• RS485: Compliant up to -6V/+6V.
The Serial Port operates at baud rates up to 921600 bps, within a frequency tolerance of ±2%
The packet format is 8N1 (8 data bits, no parity check, 1 stop bit).
DWIN LCM is composed of 5 commands: • 0x80: Write Control Registers • 0x81: Read Control Registers • 0x82: Write VPs (RAM) • 0x83: Read VPs (RAM) • 0x84: Write Trend Curve Buffer The attached documentation has a detailed introduction about read and write commands.
|