目录
8080协议概述
8080协议是一种并行、异步、半双工通信协议,可用于单片机控制器与LCD驱动芯片之间的通信。8080的通信端包括:
The chip-select CSX (activelow) is used to enable or disable ILI9341 chip. The RESX(active low) is an external reset signal. WRX is theparallel data write strobe, RDX is the parallel data read strobe and D[17:0] is parallel data bus.
ILI9341 latches the input data at the rising edge of WRX signal. The D/CX is the signal of data/commandselection. When D/CX=’1’, D [17:0] bits are display RAM data or command’s parameters. When D/CX=’0’, D[17:0] bits are commands.
CS:片选信号,低电平有效
RES:复位信号,低电平有效
D/C:数据命令选择端,0:命令;1:数据
WR:写地址/数据控制端,低电平有效
RD:读数据控制端,低电平有效
D[17:0]:数据/命令信号
写周期序列
The WRX signal is driven from high to low and then be pulled back to high during the write cycle. The host processor provides information during the write cycle when the display module captures the information from host processor on the rising edge of WRX. When the D/CX signal is driven to low level, then input data on the interface is interpreted as command information. The D/CX signal also can be pulled high level when the data on the interface is RAM data or command’s parameter
拉低或拉高D/C端口,选择写命令/写数据操作;在WR为上升沿时,将数据/命令写入到控制器里。
Note: WRX is an unsynchronized signal (It can be stopped)
读周期序列
The RDX signal is driven from high to low and then allowed to be pulled back to high during the read cycle. The display module provides information to the host processor during the read cycle while the host processor reads the display module information on the rising edge of RDX signal. When the D/CX signal is driven to low level, then input data on the interface is interpreted as command. The D/CX signal also can be pulled high level when the data on the interface is RAM data or command parameter.
拉低或拉高D/C端口,选择写命令/写数据操作;在RD为上升沿时,读数据线里的数据D[17:0]。
Note: RDX is an unsynchronized signal (It can be stopped).
注意: 注意:读取数据仅在D/CX输入拉高时有效。如果D/CX在读取时被驱动的低,那么显示信息输出将是高阻态。
Note: Read data is only valid when the D/CX input is pulled high. If D/CX is driven low during read then the display information outputs will be High-Z
版权声明:本文为CSDN博主「ShallowGreen」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/ShallowGreen/article/details/122728432
暂无评论