MI0283QT-17CP1 2.8' TFT LCD を、シリアル 8080 8 ビット データ プロトコルを使用する ILI9341V ドライバで使用しようとしています。これは私の初期化コードです:
/* Software reset */
LCD_Send_Command(ILI9341_RESET);
HAL_Delay(50);
LCD_Send_Command(0x34); // TE off
LCD_Send_Command(ILI9341_POWERA);
LCD_Send_data(0x39);
LCD_Send_data(0x2C);
LCD_Send_data(0x00);
LCD_Send_data(0x34); //33
LCD_Send_data(0x02); //06
LCD_Send_Command(ILI9341_POWERB);
LCD_Send_data(0x00);
LCD_Send_data(0xC1); //C3 / F9 / EA
LCD_Send_data(0x30); // / F0
LCD_Send_Command(ILI9341_DTCA);
LCD_Send_data(0x85);
LCD_Send_data(0x00); //01
LCD_Send_data(0x78); //79
LCD_Send_Command(ILI9341_DTCB);
LCD_Send_data(0x00); //seems to be ok
LCD_Send_data(0x00); //seems to be ok
LCD_Send_Command(ILI9341_POWER_SEQ);
LCD_Send_data(0x64); //seems to be ok
LCD_Send_data(0x03); //seems to be ok
LCD_Send_data(0x12); //seems to be ok
LCD_Send_data(0x81); //seems to be ok
LCD_Send_Command(ILI9341_PRC);
LCD_Send_data(0x20); //seems to be ok
LCD_Send_Command(ILI9341_POWER1);
LCD_Send_data(0x21);//0x1B / 1D / 27 /21
LCD_Send_Command(ILI9341_POWER2);
LCD_Send_data(0x10); // 01
LCD_Send_Command(ILI9341_VCOM1);
LCD_Send_data(0x3E); //2D /3F / 33 / 4D / 4F
LCD_Send_data(0x33); //33 /3C / 34 / 3B / 38
LCD_Send_Command(ILI9341_MAC);
LCD_Send_data(0x48);
LCD_Send_Command(ILI9341_PIXEL_FORMAT); //seems to be ok
LCD_Send_data(0x55); //seems to be ok
//LCD_Send_Command(ILI9341_RGB_INTERFACE);
//LCD_Send_data(0x60);
LCD_Send_Command(ILI9341_FRC);
LCD_Send_data(0x00);
LCD_Send_data(0x18);
LCD_Send_Command(ILI9341_DFC);
LCD_Send_data(0x08);
LCD_Send_data(0x82);
LCD_Send_data(0x27);
//LCD_Send_Command(ILI9341_3GAMMA_EN);
//LCD_Send_data(0x00);
LCD_Send_Command(ILI9341_COLUMN_ADDR);
LCD_Send_data(0x00);
LCD_Send_data(0x00);
LCD_Send_data(0x00);
LCD_Send_data(0xEF);
LCD_Send_Command(ILI9341_PAGE_ADDR);
LCD_Send_data(0x00);
LCD_Send_data(0x00);
LCD_Send_data(0x01);
LCD_Send_data(0x3F);
LCD_Send_Command(ILI9341_GAMMA);
LCD_Send_data(0x01);
LCD_Send_Command(ILI9341_PGAMMA);
LCD_Send_data(0x0F);
LCD_Send_data(0x31);
LCD_Send_data(0x2B);
LCD_Send_data(0x0C);
LCD_Send_data(0x0E);
LCD_Send_data(0x08);
LCD_Send_data(0x4E);
LCD_Send_data(0xF1);
LCD_Send_data(0x37);
LCD_Send_data(0x07);
LCD_Send_data(0x10);
LCD_Send_data(0x03);
LCD_Send_data(0x0E);
LCD_Send_data(0x09);
LCD_Send_data(0x00);
LCD_Send_Command(ILI9341_NGAMMA);
LCD_Send_data(0x00);
LCD_Send_data(0x0E);
LCD_Send_data(0x14);
LCD_Send_data(0x03);
LCD_Send_data(0x11);
LCD_Send_data(0x07);
LCD_Send_data(0x31);
LCD_Send_data(0xC1);
LCD_Send_data(0x48);
LCD_Send_data(0x08);
LCD_Send_data(0x0F);
LCD_Send_data(0x0C);
LCD_Send_data(0x31);
LCD_Send_data(0x36);
LCD_Send_data(0x0F);
LCD_Send_Command(ILI9341_SLEEP_OUT);
HAL_Delay(1000);
LCD_Send_Command(ILI9341_DISPLAY_ON);
LCD_Send_Command(ILI9341_GRAM);
すべての画面を赤 (5-6-5 RGB 形式) で描画しようとしていますが、何も描画できないようです... リセット、CS、データ/コマンドなどのすべての HW 行を既に確認しました。データライン。誰かがこの設定で働いていて、私が間違っていることを教えてもらえますか? ありがとう、アヴナー