how to initilaize the 3.5" LCD st7789s as SPI and interface with RGB565 parallel,

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

how to initilaize the 3.5" LCD st7789s as SPI and interface with RGB565 parallel,

10,188 次查看
nandishguruling
Contributor III

Hello ALL,

 I need to interface the 3.2" st7789s Lcd as RGB565 parallel and initialize with SPI, i configured the lcd data pins as per Board (SABRE-2|Automotive-Infotainment|i.MX6|NXP ) and i also attached the both data sheet of lcd and Schematic of board, i am struggling to initialize with SPI driver in linux imx6 3.10 version, can you please anyone  help me to  come out this problem,

Thanks in advance,

Best Regards

nandishsg

4 回复数

7,668 次查看
bernhardfink
NXP Employee
NXP Employee

Hi Nandish,

if the ST7789S is not in Linux as a display driver, then you need to add it by yourself. We use the following display module for i.MX boards, it's the same principle. RGB + init interface like I2C or SPI. Maybe you can use the existing implementation as a basis for your own implementation:

https://www.element14.com/community/docs/DOC-68483/l/43-lcd-module-and-adapter-board

Look into the "Documents" and "Download" section. 

In following link you find a code snippet which shows the SPI commands for the ST7789:   http://www.newhavendisplay.com/app_notes/2-4TFT_ST7789.txt

Data sheet of the ST7789S can be found here:   http://www.hpinfotech.ro/ST7789S.pdf 

It is also very similar to the display driver ILI9341 (see here 320x240 controller differences ST7789S and ILI9341 [Solved] | AVR Freaks), so overall it shouldn't be a problem to get this done. Except if you don't know how to patch this into Linux  :smileycool:

But if you are successful somehow, don't hesitate to post your success story here!

Regards,

Bernhard.

7,668 次查看
nandishguruling
Contributor III

Thank you Bernhand Fink,

0 项奖励
回复

7,668 次查看
igorpadykov
NXP Employee
NXP Employee

Hi nandishsg

 NXP has special service for helping with porting custom

drivers Professional Services:

http://www.nxp.com/support/nxp-professional-services:PROFESSIONAL-SERVICE

Best regards
igor

7,668 次查看
nandishguruling
Contributor III

Thank You  Igorpadykov,

0 项奖励
回复