1、解决客户工厂在全黑环境下,测试唤醒屏幕下半部分有闪屏现象。

This commit is contained in:
“苏飞源” 2024-06-04 18:11:48 +08:00
parent a9763743ec
commit 166412c0d3
6 changed files with 5016 additions and 590 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Binary file not shown.

View File

@ -50,7 +50,7 @@
<InvalidFlash>1</InvalidFlash>
</TargetStatus>
<OutputDirectory>.\Objects\</OutputDirectory>
<OutputName>X90Pro_WL668_20240319</OutputName>
<OutputName>X90Pro_WL668_20240603</OutputName>
<CreateExecutable>1</CreateExecutable>
<CreateLib>0</CreateLib>
<CreateHexFile>1</CreateHexFile>

View File

@ -701,7 +701,7 @@ static void send_panel_init_code(uint32_t size, uint8_t* data)
p_data = &data[data_offeset + 3];
hal_dsi_tx_ctrl_write_array_cmd(data_type, vc, data_size, p_data);
data_offeset = data_offeset + data_size + 3;
delayUs( 40 );
delayUs( 100 );
}
}
#endif
@ -1464,6 +1464,10 @@ const uint8_t panel_init_code[] =
0x39,0,2,0xC2,0x1B,
0x39,0,6,0xF0,0x55,0xAA,0x52,0x08,0x04,
0x39,0,2,0xB5,0x00,
0x39,0,6,0xF0,0x55,0xAA,0x52,0x08,0x00,
0x39,0,3,0x51,0x00,0x00,
// bist mode
//0x39,0,6,0xF0,0x55,0xAA,0x52,0x08,0x00,
@ -1527,7 +1531,7 @@ static void app_init_panel(void)
{
/* reset panel*/
app_tx_panel_reset();
#if LCD_NT36525B
hal_dsi_tx_ctrl_write_cmd(0x05, 0, 1, 0x11);
delayMs(120); //120ms
@ -1543,16 +1547,15 @@ static void app_init_panel(void)
// // hal_dsi_tx_ctrl_write_cmd(0x39, 0, 3, 0x51, 0x03, 0x40);
// }
hal_dsi_tx_ctrl_write_cmd( 0x05, 0, 1, 0x11 );
delayMs( 50 );
hal_gpio_init_output( AVDD_EN, IO_LVL_HIGH ); // AVDD_EN
delayMs( 80 );
delayMs( 120 );
// soft_swire_init();
//delayMs( 30 );
#if AP_SWIRE_OUTPUT
hal_swire_enable(true);
hal_swire_set_pulse(SWIRE_DEFAULT_PULSE);
#endif
// delayMs( 20 );
// delayMs( 60 );
#endif
}
@ -1768,7 +1771,7 @@ static void app_mipi_tx_start(void)
hal_swire_enable(true);
hal_swire_set_pulse(41);
#endif
/* TX start */
hal_dsi_tx_ctrl_start( g_tx_ctrl_handle );
@ -1783,7 +1786,7 @@ static void app_mipi_tx_start(void)
panel_display_done = true;
/* Display on */
delayMs( 80 );
delayMs( 20 );
hal_dsi_tx_ctrl_write_cmd( 0x05, 0, 1, 0x29 );
#if AP_SWIRE_OUTPUT

View File

@ -15,8 +15,15 @@
BC_ISP568_S20P_NT37701AH_VSN667_20230316; 博创项目
CX_ISP568_S20P_NT37701AH_VSN667_20230316; 创信项目
/////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////
ISP668_X90Pro+_NT37705H_TM678_20240603
1、解决客户在全黑环境下唤醒亮屏前屏幕底部有闪的现象。
/////////////////////////////////////////////////////////////////////////////////
ISP668_X90Pro+_NT37705H_TM678_20240219