emWin on Custom Board

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by zepedrowdp on Tue Apr 29 15:11:03 MST 2014

I'm using a LPC1754 with a 2.4'' inch TFT controlled by ILI9341. I used this BSP for MCB1700 to start.

There are a couple of differences between the two boards, so I will need to adapt some code to make this work, sadly I haven't got much experience doing this.

I know that MCB1700 has a TFT controller that is different from ILI9341 and therefore uses GUIDRV_FLEXCOLOR_F66708 while mine uses GUIDRV_FLEXCOLOR_F66709.
Also, the SPI code I saw on LCD_X_SPI.c file seems very different from the one described on ILI9341 datasheet (I'm using 4 wire serial data interface II).

From what I understand I need to alter the code on the file LCD_X_Serial.c and LCDConfig.c that come with emWin on the Samples folders, is there any tutorial or example to follow? I'm a bit lost on how to adapt this code. Help!