parent
7e7e453c6c
commit
9017163107
|
@ -50,7 +50,7 @@
|
||||||
<InvalidFlash>1</InvalidFlash>
|
<InvalidFlash>1</InvalidFlash>
|
||||||
</TargetStatus>
|
</TargetStatus>
|
||||||
<OutputDirectory>.\Objects\</OutputDirectory>
|
<OutputDirectory>.\Objects\</OutputDirectory>
|
||||||
<OutputName>WL568_S21_NT37701_20230612</OutputName>
|
<OutputName>WL568_S21_NT37701_OLDPCB_20230613</OutputName>
|
||||||
<CreateExecutable>1</CreateExecutable>
|
<CreateExecutable>1</CreateExecutable>
|
||||||
<CreateLib>0</CreateLib>
|
<CreateLib>0</CreateLib>
|
||||||
<CreateHexFile>1</CreateHexFile>
|
<CreateHexFile>1</CreateHexFile>
|
||||||
|
|
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.
|
@ -1,12 +1,9 @@
|
||||||
---- s_screen_init_complate Matches (11 in 3 files) ----
|
---- s_power_up_flag Matches (8 in 2 files) ----
|
||||||
app_tp_transfer.c (src\app\demo) line 33 : bool s_screen_init_complate = false; //屏幕TP开机初始化完成标志
|
S20_Start_init in app_tp_transfer.c (src\app\demo) : if(s_power_up_flag == true) // 解决开机部分基板亮度低问题
|
||||||
S20_Start_init in app_tp_transfer.c (src\app\demo) : s_screen_init_complate = true;
|
ap_demo.c (src\app\demo) line 330 : static bool s_power_up_flag = false;
|
||||||
app_tp_transfer_screen_const in app_tp_transfer.c (src\app\demo) : s_screen_init_complate = true;
|
ap_dcs_read in ap_demo.c (src\app\demo) : s_power_up_flag = true;
|
||||||
app_tp_transfer_screen_const in app_tp_transfer.c (src\app\demo) : s_screen_init_complate = true;
|
ap_dcs_read in ap_demo.c (src\app\demo) : s_power_up_flag = true;
|
||||||
app_tp_transfer_screen_const in app_tp_transfer.c (src\app\demo) : s_screen_init_complate = true;
|
ap_dcs_read in ap_demo.c (src\app\demo) : s_power_up_flag = true;
|
||||||
app_tp_transfer_screen_start in app_tp_transfer.c (src\app\demo) : s_screen_init_complate = false;
|
tp_power_up_restart in ap_demo.c (src\app\demo) : if(s_power_up_flag == true && s_tp_delay_count >= (100*6)) // 开机6秒后重启
|
||||||
app_tp_transfer_screen_int in app_tp_transfer.c (src\app\demo) : // s_screen_init_complate=false;//为了在线烧录,特意将码片设置为不下发数据,而是FT8719与敦泰的工具通讯
|
tp_power_up_restart in ap_demo.c (src\app\demo) : s_power_up_flag = false;
|
||||||
app_tp_transfer_screen_int in app_tp_transfer.c (src\app\demo) : if (!s_screen_init_complate) //TP 初始化还未完成,则先进行初始化操作
|
ap_demo in ap_demo.c (src\app\demo) : if(s_power_up_flag == false)
|
||||||
app_tp_transfer.h (src\app\demo) line 20 : extern bool s_screen_init_complate;
|
|
||||||
tp_heartbeat_exec in ap_demo.c (src\app\demo) : if (s_screen_init_complate)
|
|
||||||
tp_power_up_restart in ap_demo.c (src\app\demo) : if(s_power_up_flag == true && s_screen_init_complate == true)
|
|
||||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -327,7 +327,7 @@ static void ap_reset_cb(void *data)
|
||||||
|
|
||||||
|
|
||||||
static bool isStart = false;
|
static bool isStart = false;
|
||||||
static bool s_power_up_flag = false;
|
bool s_power_up_flag = false;
|
||||||
|
|
||||||
static bool ap_dcs_read(uint8_t data_type, uint8_t dcs_cmd, uint8_t param)
|
static bool ap_dcs_read(uint8_t data_type, uint8_t dcs_cmd, uint8_t param)
|
||||||
{
|
{
|
||||||
|
@ -1557,7 +1557,9 @@ static bool ap_set_backlight_51(hal_dsi_rx_ctrl_handle_t *handler, hal_dcs_packe
|
||||||
cmd_data[0] = dcs_packet->packet_param[0];
|
cmd_data[0] = dcs_packet->packet_param[0];
|
||||||
cmd_data[1] = dcs_packet->packet_param[1];
|
cmd_data[1] = dcs_packet->packet_param[1];
|
||||||
hal_dsi_tx_ctrl_write_cmd(0x39, 0, 3, 0x51, cmd_data[0], cmd_data[1]);
|
hal_dsi_tx_ctrl_write_cmd(0x39, 0, 3, 0x51, cmd_data[0], cmd_data[1]);
|
||||||
//TAU_LOGD("51:[%x]", (cmd_data[0]<<8)|cmd_data[1]);
|
// hal_dsi_tx_ctrl_write_cmd(0x39, 0, 3, 0x51, 0x00, 0x08);
|
||||||
|
|
||||||
|
// TAU_LOGD("51:[%x]", (cmd_data[0]<<8)|cmd_data[1]);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -5192,7 +5194,7 @@ void ap_demo(void)
|
||||||
|
|
||||||
TAU_LOGD("disable video path \n");
|
TAU_LOGD("disable video path \n");
|
||||||
g_need_enter_sleep_mode = false;
|
g_need_enter_sleep_mode = false;
|
||||||
// hal_system_set_vcc(false);
|
hal_system_set_vcc(false);
|
||||||
tp_sleep_in=1;
|
tp_sleep_in=1;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -18,6 +18,9 @@
|
||||||
#include "app_tp_st_touch.h"
|
#include "app_tp_st_touch.h"
|
||||||
#include "hal_dsi_tx_ctrl.h"
|
#include "hal_dsi_tx_ctrl.h"
|
||||||
|
|
||||||
|
extern bool s_power_up_flag;
|
||||||
|
|
||||||
|
|
||||||
#if 1//def AP_TP_TRANSFER
|
#if 1//def AP_TP_TRANSFER
|
||||||
uint8_t read_point; //当前要读的报点数。一个报点8BYTE数据
|
uint8_t read_point; //当前要读的报点数。一个报点8BYTE数据
|
||||||
uint8_t s_screen_number[2];
|
uint8_t s_screen_number[2];
|
||||||
|
@ -422,7 +425,10 @@ void S20_Start_init(void)
|
||||||
uint8_t temp=0;
|
uint8_t temp=0;
|
||||||
uint8_t temp_start_flag=0;
|
uint8_t temp_start_flag=0;
|
||||||
|
|
||||||
hal_dsi_tx_ctrl_write_cmd(0x29, 0, 3, 0x51, 0x07, 0xff);
|
if(s_power_up_flag == true) // 解决开机部分基板亮度低问题
|
||||||
|
{
|
||||||
|
hal_dsi_tx_ctrl_write_cmd(0x29, 0, 3, 0x51, 0x07, 0xff);
|
||||||
|
}
|
||||||
// if(phone_start_flag==1)
|
// if(phone_start_flag==1)
|
||||||
{
|
{
|
||||||
app_tp_m_read(screen_reg_int_data[0].buffer, 1, s_screen_read_buffer, 8);
|
app_tp_m_read(screen_reg_int_data[0].buffer, 1, s_screen_read_buffer, 8);
|
||||||
|
|
Loading…
Reference in New Issue