欢迎来到天天文库
浏览记录
ID:31330105
大小:72.46 KB
页数:3页
时间:2019-01-08
《[精品]液晶驱动心得【ili9325】》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、儿点说明:1、本文所用液晶控制器为ILI9325320*2402、理解水平有限,如有误,请指正3、驱动原理,每个点用2个字节表示颜色,按设定的方向刷新320*240个点,就可以显示一张图片。一、坐标原点位置的确定首先,你买回来的液晶屏,有一个位置,就是G1和S1开始的位置,我们暂且把它称为物理地址。(这个是没有办法改变的,所以我称之为物理地址,不过坐标原点还是可以改的)S720S1TFTG32O二、屏上的每一点与显示RAM的对应关系。从下图可以看岀:1、每一行的侮一个点地址2.5个字节,所以用三个S表示一个点,720/
2、3=2402、纵向是320行,所以是G1到G320,所以正好是320*240320*240G32OGRAMaddressmaptableofSS=1.BGR=1SS=0.BGR=0S720...S718S717...S715S714...S712S711...S709S12...S10S9...S7S6...S4S3...S1GS=0GS=1DB17...0DB17...0DB17...0DB17...0DB17...0DB17...0DB17...0DB17...0G1G320-OOOOOh-40(W01hw-000
3、03h--OOOECh^“OOOEDtTaOOOEEhw4OOOEFhwG2G319XMlOOh"-OOlOlh*aOOlC2hw*XX)103hw“001ECh-aOOlEDhw•OOlEEhweOOlEFhwG3G318400200hw-00201hw400202hwP0203IT“002ECtra002EDhwa002EEhwa002EFhwG4G317XXJSOOh"-00301h**0033-00303hw*003ECh・a003EDhw•003EEh*•003EFhwG5G316P0400IT•00401h
4、w“004022•W403IT4004ECh^P04EDtT“004EEFT“004EFtrG6G315-00500,*00501护a00502hw-00503h*“005ECh・a005EDhw-005EEhwa005EFhwG7G314-00600,'00601h*a00602hw-00603hw-006ECh-a006EDhwa006EEhwa006EFhwG8G313XK)700h-a00701hw400702hwDO7O3hw4007ECh^*007EDh・•007EEhwa007EFhwG9G312"OOB
5、OOh"a00801h-P0802tTPO8C3h”a0C8EDhw-00aEEhwa0C8EFhwG10G311-oosooir•00901hw“009C22P0903IT40C9ECh^POGEDtT•00&EEhw•009EFhw••■•••••--G311G10M3600h^al3601hwT3602tT-l3603h-al36ECh*al36EDhwal36EEhwal36EFhwG312G9•137002M3701hwM3702hw-13703hw•137EChw4137EDhw•137EEhw4137EF
6、hwG313G8•13800"a13801hwM38C2hw-l38C3hwa138ECh*M38EDhwa138EEhwM38EFhwG314G7•13900IT-l3901hw•13902^-l39C3hw4l39ECh*M39EDhw•139€Ehw•l39EFhwG315G6r3A00h-u13A01hwT3A02h・M3A03hw413AEChw-13AEDhwM3AEEh"M3AEFhwG316G5i3B00rra13B01h*13B02h*•13B03h・al3BEChwM3BEDh*M3BEEh*M3B
7、EFhwG317G4130001^u13C0lhwM3C02hwM3C03hwT3CECFTM3CEDhw•!3CEEhw•!3CEFhG318G313DOOh^a13D01hwal3D02h"•13D03h・M3DECh*M3DEDh-a13DEEhwM3DEFh*G319G2r3EOOh"a13E0lh*-l3E02h-T3E03h・al3EEChwM3EEDh*M3EEEh*M3EEFhwG320G1•13FOOhwM3F01hw•13F02hBM3FC3hw•••M3FEChwM3FEDhw•13FEEhwM3
8、FEFh-三、关键命令。w100000SM0SS000000008.2.4.DriverOutputControl(R01h)R/WRSD15D14D13D12D11D10D9D8D7D6D5D4D3D2D1DOSS:Selecttheshiftdirectionofoutputsfromthesourcedriver.WhenS
此文档下载收益归作者所有