|
现在驱动TFT的方式是IO模拟,但是速度很慢。800*480的屏每秒大概只能刷3帧
想用驱动SRAM的方式驱动TFT,将地址线作为RS,发现地址线不能一直保持,请问各位有没有什么好的办法
- module FSMC_LCD
- (
- input csi_clk,
- input csi_reset_n,
- //
- input avs_address,
- input avs_write_n,
- input [15:0] avs_writedata,
- input avs_read_n,
- output [15:0] avs_readdata,
- //
- inout [15:0] coe_LCD_DQ, // LCD Data bus 16 Bits
- output coe_LCD_ADDR, // LCD Address bus 1 Bits
- output coe_LCD_CE_N, // LCD Chip chipselect
- output coe_LCD_OE_N, // LCD Output chipselect
- output coe_LCD_WE_N // LCD Write chipselect
- );
-
- assign coe_LCD_DQ = coe_LCD_WE_N ? 'hz : avs_writedata;
- assign avs_readdata = coe_LCD_DQ;
- assign coe_LCD_ADDR = avs_address;
- assign coe_LCD_WE_N = avs_write_n;
- assign coe_LCD_OE_N = avs_read_n;
- assign coe_LCD_CE_N = avs_read_n & avs_write_n;
复制代码 |
阿莫论坛20周年了!感谢大家的支持与爱护!!
知道什么是神吗?其实神本来也是人,只不过神做了人做不到的事情 所以才成了神。 (头文字D, 杜汶泽)
|