cancel
Showing results for 
Search instead for 
Did you mean: 

32F429IDISCOVERY LCD ILI9341 driver

mchalapetr
Associate II
Posted on March 18, 2015 at 01:32

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...

&sharpdefine ILI9341_RGB_INTERFACE    0xB0

&sharpdefine ILI9341_PIXEL_FORMAT    0x3A

&sharpdefine 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);

#endian #lcd #ili9341 #32f429
0 REPLIES 0