AnsweredAssumed Answered

32F429IDISCOVERY LCD ILI9341 driver

Question asked by machala.petr on Mar 18, 2015
Hi,

I would like to ask if anyone has successfully changed the setting of the ILI9341 driver to little endian...I have data in this format but in default I have to send over SPI high byte first and low byte after that...I need it to be the other way around...

From data sheet http://www.newhavendisplay.com/app_notes/ILI9341.pdf I am convinced that the configuration should be something like this but it doesn't work...thanks for help...

#define ILI9341_RGB_INTERFACE         0xB0
#define ILI9341_PIXEL_FORMAT         0x3A
#define ILI9341_INTERFACE               0xF6

LCD_ILI9341_SendCommand(ILI9341_PIXEL_FORMAT);
LCD_ILI9341_SendData(0x55);
LCD_ILI9341_SendCommand(ILI9341_INTERFACE);
LCD_ILI9341_SendData(0x01);
LCD_ILI9341_SendData(0x00);
LCD_ILI9341_SendData(0x20);
LCD_ILI9341_SendCommand(ILI9341_RGB_INTERFACE);
LCD_ILI9341_SendData(0x40);

Outcomes