Skip to main content

1 follower
0 questions
3 posts

Do you have questions about DT024DTFT?

Log in to ask questions about DT024DTFT publicly or anonymously.

Ilitek ILI9341 Initialization Code

Note that you'll need to configure the IM pins for 8-bit interface:

//************* Reset LCD Driver ****************// LCD_nRESET = 1; delayms(1); // Delay 1ms LCD_nRESET = 0; delayms(10); // Delay 10ms // This delay time is necessary LCD_nRESET = 1; delayms(120); // Delay 120 ms //Start initial Sequence write_cmd(0x01); //software reset delay(5); write_cmd(0x28); // display off //------------power control------------------------------ write_cmd(0xc0); //power control write_data16(0x00,0x26); write_cmd(0xc1); //power control write_data16(0x00,0x11); write_cmd(0xc5); //vcom control write_data16(0x00,0x5c);//35 write_data16(0x00,0x4c);//3E write_cmd(0xc7); //vcom control write_data16(0x00,0x94); //------------memory access control------------------------ write_cmd(0x36); // memory access control write_data16(0x00,0x48); //0048 my,mx,mv,ml,BGR,mh,0.0 write_cmd(0x3a); // pixel format set write_data16(0x00,0x55);//16bit /pixel //----------------- frame rate------------------------------ write_cmd(0xb1); // frame rate... (More)

DT024DTFT landscape rotation


We are using the DT024DTFT interfacing with Linux for some of our products. We use it via the Parallel "RGB interface" and in landscape mode (rotated 90/270 degrees). To do the rotation, we set B5=1 in the MADCTL register of the ILI9341 and set the correct values for Column/Page addresses, among other timing configurations (as stated in the ILI9341 datasheet).

We have seen that when sending 320x240 in the RGB interface, the driver is skipping to update the last third of the H pixels, as seen in the picture:

When we send a 320x320 resolution, then the last third... (More)

Recommended FPC connectors for DT024DTFT

We recommend the following connectors for use with the DT024DTFT LCD:

SEA8058-45 - purchase here through Mouser

Hirose FH33-45S-0.5SH(99) Β - purchase here through Digi-Key