Tuesday, October 17th 2017, 7:55am UTC+2

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to SEGGER Forum. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

giusloq

Beginner

Date of registration: Feb 5th 2015

Posts: 58

1

Wednesday, May 6th 2015, 1:57pm

ILI9341 display driver

I'm using emWin pre-compiled libraries released by NXP with a TFT display based on ILI9341 controller. I'm using emWin ILI9341 driver and it works after some additional code.

I noticed that display driver doesn't send the commands SLEEP OUT (0x11) and DISPLAY ON (0x29) during initialization. Without those command, ILI9341 doesn't show anything on the display.
Moreover I'm using a 16-bits parallel bus, so I need to send COLMOD (0x3A) command too.

I solved this problem by sending "manually" those commands in LCD_X_INITCONTROLLER event in LCD_X_DisplayDriver().
Is this the correct way? Shouldn't the ILI9341 driver implemented in emWin responsible to send those commands?

SEGGER - Adrian

Super Moderator

Date of registration: May 26th 2009

Posts: 994

2

Thursday, May 7th 2015, 11:39am

Hello,

Please note that emWin display drivers never send any initializing commands to the controller. Therefor user is given the opportunity to initialize the display controller from within the display driver callback function (LCD_X_DisplayDriver()).

Best regards,
Adrian