1、基于WL568_MI10PRO_NT37800_20230505修改时序版本基础上修改

2、解决AOD界面黑屏问题:修改51调光值为0时给固定亮度值。
This commit is contained in:
“苏飞源” 2023-07-14 15:24:53 +08:00
parent 6304a3c952
commit 1a73d6bbe0
10 changed files with 10609 additions and 17 deletions

View File

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

View File

@ -5150,15 +5150,15 @@ Image component sizes
Code (inc. data) RO Data RW Data ZI Data Debug Object Name Code (inc. data) RO Data RW Data ZI Data Debug Object Name
14516 720 376 584 0 32191 ap_demo.o 14516 720 376 584 0 29443 ap_demo.o
1534 288 32 40 12 12365 app_tp_st_touch.o 1534 288 32 40 12 11033 app_tp_st_touch.o
1138 132 0 64 580 14385 app_tp_transfer.o 1138 132 0 64 580 12705 app_tp_transfer.o
36 6 0 0 0 561 board.o 36 6 0 0 0 473 board.o
16 0 0 0 0 5715 main.o 16 0 0 0 0 5627 main.o
120 18 192 0 4096 2116 startup_armcm0.o 120 18 192 0 4096 2044 startup_armcm0.o
---------------------------------------------------------------------- ----------------------------------------------------------------------
17370 1164 648 688 4688 67333 Object Totals 17370 1164 648 688 4688 61325 Object Totals
0 0 48 0 0 0 (incl. Generated) 0 0 48 0 0 0 (incl. Generated)
10 0 0 0 0 0 (incl. Padding) 10 0 0 0 0 0 (incl. Padding)
@ -5283,8 +5283,8 @@ Image component sizes
Code (inc. data) RO Data RW Data ZI Data Debug Code (inc. data) RO Data RW Data ZI Data Debug
53700 5934 3280 2928 12592 95500 Grand Totals 53700 5934 3280 2928 12592 89492 Grand Totals
53700 5934 3280 1708 12592 95500 ELF Image Totals (compressed) 53700 5934 3280 1708 12592 89492 ELF Image Totals (compressed)
53700 5934 3280 1708 0 0 ROM Totals 53700 5934 3280 1708 0 0 ROM Totals
============================================================================== ==============================================================================

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

View File

@ -1543,7 +1543,7 @@ static bool ap_set_display_on(hal_dsi_rx_ctrl_handle_t *handler, hal_dcs_packet_
static bool ap_set_display_off(hal_dsi_rx_ctrl_handle_t *handler, hal_dcs_packet_t *dcs_packet) static bool ap_set_display_off(hal_dsi_rx_ctrl_handle_t *handler, hal_dcs_packet_t *dcs_packet)
{ {
TAU_LOGD("disp off"); TAU_LOGD("disp off");
hal_dsi_tx_ctrl_write_cmd(0x05, 0, 1, 0x28); // hal_dsi_tx_ctrl_write_cmd(0x05, 0, 1, 0x28);
finger_calibration_init(); finger_calibration_init();
// hal_dsi_tx_ctrl_write_cmd(0x39, 0, 3, 0x51, 0x00, 0x00); // hal_dsi_tx_ctrl_write_cmd(0x39, 0, 3, 0x51, 0x00, 0x00);
@ -1561,13 +1561,13 @@ static bool ap_set_enter_sleep_mode(hal_dsi_rx_ctrl_handle_t *handler, hal_dcs_p
// hal_dsi_tx_ctrl_write_cmd(0x05, 0, 2, 0x10); // hal_dsi_tx_ctrl_write_cmd(0x05, 0, 2, 0x10);
// delayMs(100); // delayMs(100);
// hal_gpio_set_output_data(IO_PAD_PWMEN, IO_LVL_LOW); // hal_gpio_set_output_data(IO_PAD_PWMEN, IO_LVL_LOW);
hal_dsi_tx_ctrl_write_cmd(0x39, 0, 3, 0x51, 0x00, 0x00);
hal_dsi_rx_ctrl_set_sw_tear_mode(g_rx_ctrl_handle); hal_dsi_rx_ctrl_set_sw_tear_mode(g_rx_ctrl_handle);
hal_dsi_tx_ctrl_write_cmd(0x05, 0, 1, 0x10); hal_dsi_tx_ctrl_write_cmd(0x05, 0, 1, 0x10);
Gpio_swire_output(0, 0); Gpio_swire_output(0, 0);
delayMs(60); // delayMs(60);
hal_gpio_set_output_data(IO_PAD_PWMEN, IO_LVL_LOW); hal_gpio_set_output_data(IO_PAD_PWMEN, IO_LVL_LOW);
delayMs(10); // delayMs(10);
#if ENABLE_TP_WAKE_UP #if ENABLE_TP_WAKE_UP
@ -2137,7 +2137,8 @@ static bool ap_get_51_reg(hal_dsi_rx_ctrl_handle_t *handler, hal_dcs_packet_t *d
} }
else if(value_reg_51 == 0 ) // µ÷¹âֵΪÁã²»×ö´¦Àí else if(value_reg_51 == 0 ) // µ÷¹âֵΪÁã²»×ö´¦Àí
{ {
value_reg_51 = 0; //value_reg_51 = 0;
value_reg_51 = 0x02A;
} }
else else
{ {
@ -3919,7 +3920,7 @@ void tp_heartbeat_exec(void)
s_heartbeat ++; s_heartbeat ++;
}else }else
{ {
TAU_LOGD("hb"); // TAU_LOGD("hb");
s_heartbeat = 0; s_heartbeat = 0;
ap_tp_st_touch_software_reset(); ap_tp_st_touch_software_reset();
} }

View File

@ -378,7 +378,7 @@ void ap_tp_st_touch_simulate_finger_release_event(void)
void ap_tp_st_touch_software_reset(void) void ap_tp_st_touch_software_reset(void)
{ {
TAU_LOGD("st_touch_software_reset \n"); // TAU_LOGD("st_touch_software_reset \n");
ap_tp_st_touch_simulate_finger_release_event(); ap_tp_st_touch_simulate_finger_release_event();
ap_tp_st_touch_scan_point_init(); ap_tp_st_touch_scan_point_init();

View File

@ -1,4 +1,9 @@
/////////////////////////////////////////////////////////////////////////////////
WL568_MI10PRO_NT37800_20230704
1、基于WL568_MI10PRO_NT37800_20230505修改时序版本基础上修改
2、解决AOD界面黑屏问题修改51调光值为0时给固定亮度值。
///////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////////