1、解决偶发花屏问题

This commit is contained in:
“苏飞源” 2023-10-17 09:14:03 +08:00
parent ef519987d9
commit b1ce718a36
24 changed files with 19271 additions and 2539 deletions

View File

@ -50,7 +50,7 @@
<InvalidFlash>1</InvalidFlash>
</TargetStatus>
<OutputDirectory>.\Objects\</OutputDirectory>
<OutputName>WL568_S20U_TP_CSOT667_20230721</OutputName>
<OutputName>WL568_S20U_ST_CSOT667_20231011</OutputName>
<CreateExecutable>1</CreateExecutable>
<CreateLib>0</CreateLib>
<CreateHexFile>1</CreateHexFile>
@ -464,16 +464,16 @@
<Group>
<GroupName>driver</GroupName>
<Files>
<File>
<FileName>CVWL568.lib</FileName>
<FileType>4</FileType>
<FilePath>..\..\src\sdk\CVWL568\lib\CVWL568.lib</FilePath>
</File>
<File>
<FileName>WL568_S20U_TP.lib</FileName>
<FileType>4</FileType>
<FilePath>..\..\src\sdk\CVWL568\lib\WL568_S20U_TP.lib</FilePath>
</File>
<File>
<FileName>CVWL568.lib</FileName>
<FileType>4</FileType>
<FilePath>..\..\src\sdk\CVWL568\lib\CVWL568.lib</FilePath>
</File>
</Files>
</Group>
<Group>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,5 @@
; generated by Component: ARM Compiler 5.06 update 6 (build 750) Tool: ArmCC [4d3637]
; commandline ArmCC [--c99 --list --split_sections --debug -c --asm --interleave --gnu -o.\objects\app_tp_st_touch.o --asm_dir=.\Listings\ --list_dir=.\Listings\ --depend=.\objects\app_tp_st_touch.d --cpu=Cortex-M0 --apcs=interwork -O3 --diag_suppress=9931 -I..\..\src -I..\..\src\board -I..\..\src\common -I..\..\src\sdk\include -I..\..\src\app\demo -I..\..\src\sdk\include\M0 -I..\..\src\app -I..\..\src\app\module_demo -I..\..\src\app\touch -I..\..\src\app\S8 -I..\..\src\app\S9 -I..\CVWL568 -I.\RTE\_ISP_568 -IC:\Users\ASUS\AppData\Local\Arm\Packs\ARM\CMSIS\5.5.1\CMSIS\Core\Include -IC:\Users\ASUS\AppData\Local\Arm\Packs\ARM\CMSIS\5.5.1\Device\ARM\ARMCM0\Include -D__MICROLIB -D__UVISION_VERSION=528 -D_RTE_ -DARMCM0 -DISP_568 --omf_browse=.\objects\app_tp_st_touch.crf ..\..\src\app\demo\app_tp_st_touch.c]
; commandline ArmCC [--c99 --list --split_sections --debug -c --asm --interleave --gnu -o.\objects\app_tp_st_touch.o --asm_dir=.\Listings\ --list_dir=.\Listings\ --depend=.\objects\app_tp_st_touch.d --cpu=Cortex-M0 --apcs=interwork -O3 --diag_suppress=9931 -I..\..\src -I..\..\src\board -I..\..\src\common -I..\..\src\sdk\include -I..\..\src\app\demo -I..\..\src\sdk\include\M0 -I..\..\src\app -I..\..\src\app\module_demo -I..\..\src\app\touch -I..\..\src\app\S8 -I..\..\src\app\S9 -I..\CVWL568 -I.\RTE\_ISP_568 -IC:\Keil_v5\ARM\PACK\ARM\CMSIS\5.5.1\CMSIS\Core\Include -IC:\Keil_v5\ARM\PACK\ARM\CMSIS\5.5.1\Device\ARM\ARMCM0\Include -D__MICROLIB -D__UVISION_VERSION=528 -D_RTE_ -DARMCM0 -DISP_568 --omf_browse=.\objects\app_tp_st_touch.crf ..\..\src\app\demo\app_tp_st_touch.c]
THUMB
AREA ||i.CRC16_2||, CODE, READONLY, ALIGN=2
@ -589,80 +589,97 @@
000000 b510 PUSH {r4,lr}
;;;414 {
;;;415 TAU_LOGD("st_tp_HW_rst \n");
000002 22ff MOVS r2,#0xff
000004 32a0 ADDS r2,r2,#0xa0
000006 a121 ADR r1,|L8.140|
000008 a022 ADR r0,|L8.148|
00000a f7fffffe BL LOG_printf
;;;416 ap_tp_st_touch_simulate_finger_release_event();
000002 f7fffffe BL ap_tp_st_touch_simulate_finger_release_event
00000e f7fffffe BL ap_tp_st_touch_simulate_finger_release_event
;;;417 ap_tp_st_touch_scan_point_init();
000006 f7fffffe BL ap_tp_st_touch_scan_point_init
000012 f7fffffe BL ap_tp_st_touch_scan_point_init
;;;418 hal_gpio_set_output_data(g_screen_input_rst_pad, IO_LVL_HIGH);
00000a 4c1d LDR r4,|L8.128|
00000c 2101 MOVS r1,#1
00000e 7820 LDRB r0,[r4,#0] ; g_screen_input_rst_pad
000010 f7fffffe BL hal_gpio_set_output_data
000016 4c26 LDR r4,|L8.176|
000018 2101 MOVS r1,#1
00001a 7820 LDRB r0,[r4,#0] ; g_screen_input_rst_pad
00001c f7fffffe BL hal_gpio_set_output_data
;;;419 delayMs(2);
000014 2002 MOVS r0,#2
000016 f7fffffe BL delayMs
000020 2002 MOVS r0,#2
000022 f7fffffe BL delayMs
;;;420 hal_gpio_set_output_data(g_screen_input_rst_pad, IO_LVL_LOW);
00001a 2100 MOVS r1,#0
00001c 7820 LDRB r0,[r4,#0] ; g_screen_input_rst_pad
00001e f7fffffe BL hal_gpio_set_output_data
000026 2100 MOVS r1,#0
000028 7820 LDRB r0,[r4,#0] ; g_screen_input_rst_pad
00002a f7fffffe BL hal_gpio_set_output_data
;;;421 delayMs(2);
000022 2002 MOVS r0,#2
000024 f7fffffe BL delayMs
00002e 2002 MOVS r0,#2
000030 f7fffffe BL delayMs
;;;422 hal_gpio_set_output_data(g_screen_input_rst_pad, IO_LVL_HIGH);
000028 2101 MOVS r1,#1
00002a 7820 LDRB r0,[r4,#0] ; g_screen_input_rst_pad
00002c f7fffffe BL hal_gpio_set_output_data
000034 2101 MOVS r1,#1
000036 7820 LDRB r0,[r4,#0] ; g_screen_input_rst_pad
000038 f7fffffe BL hal_gpio_set_output_data
;;;423 delayMs(2);
000030 2002 MOVS r0,#2
000032 f7fffffe BL delayMs
00003c 2002 MOVS r0,#2
00003e f7fffffe BL delayMs
;;;424
;;;425 app_tp_m_write(st_touch_tp_tuning_clearfifo, sizeof(st_touch_tp_tuning_clearfifo));//0xA4,0x00,0x01}
000036 2103 MOVS r1,#3
000038 4812 LDR r0,|L8.132|
00003a f7fffffe BL app_tp_m_write
|L8.62|
000042 2103 MOVS r1,#3
000044 481b LDR r0,|L8.180|
000046 f7fffffe BL app_tp_m_write
|L8.74|
;;;426 while(!hal_i2c_m_transfer_complate());
00003e f7fffffe BL hal_i2c_m_transfer_complate
000042 2800 CMP r0,#0
000044 d0fb BEQ |L8.62|
00004a f7fffffe BL hal_i2c_m_transfer_complate
00004e 2800 CMP r0,#0
000050 d0fb BEQ |L8.74|
;;;427 delayMs(5);
000046 2005 MOVS r0,#5
000048 f7fffffe BL delayMs
000052 2005 MOVS r0,#5
000054 f7fffffe BL delayMs
;;;428 app_tp_m_write(st_touch_init_sensor_off, sizeof(st_touch_init_sensor_off));//0xA0,0x00,0x00
00004c 480d LDR r0,|L8.132|
00004e 2103 MOVS r1,#3
000050 3818 SUBS r0,r0,#0x18
000052 f7fffffe BL app_tp_m_write
|L8.86|
000058 4816 LDR r0,|L8.180|
00005a 2103 MOVS r1,#3
00005c 3818 SUBS r0,r0,#0x18
00005e f7fffffe BL app_tp_m_write
|L8.98|
;;;429 while(!hal_i2c_m_transfer_complate());
000056 f7fffffe BL hal_i2c_m_transfer_complate
00005a 2800 CMP r0,#0
00005c d0fb BEQ |L8.86|
000062 f7fffffe BL hal_i2c_m_transfer_complate
000066 2800 CMP r0,#0
000068 d0fb BEQ |L8.98|
;;;430 delayMs(5);
00005e 2005 MOVS r0,#5
000060 f7fffffe BL delayMs
00006a 2005 MOVS r0,#5
00006c f7fffffe BL delayMs
;;;431 app_tp_m_write(st_touch_init_sensor_on, sizeof(st_touch_init_sensor_on));//0xA0,0x00,0x01
000064 4807 LDR r0,|L8.132|
000066 2103 MOVS r1,#3
000068 3815 SUBS r0,r0,#0x15
00006a f7fffffe BL app_tp_m_write
|L8.110|
000070 4810 LDR r0,|L8.180|
000072 2103 MOVS r1,#3
000074 3815 SUBS r0,r0,#0x15
000076 f7fffffe BL app_tp_m_write
|L8.122|
;;;432 while(!hal_i2c_m_transfer_complate());
00006e f7fffffe BL hal_i2c_m_transfer_complate
000072 2800 CMP r0,#0
000074 d0fb BEQ |L8.110|
00007a f7fffffe BL hal_i2c_m_transfer_complate
00007e 2800 CMP r0,#0
000080 d0fb BEQ |L8.122|
;;;433 delayMs(5);
000076 2005 MOVS r0,#5
000078 f7fffffe BL delayMs
000082 2005 MOVS r0,#5
000084 f7fffffe BL delayMs
;;;434 }
00007c bd10 POP {r4,pc}
000088 bd10 POP {r4,pc}
;;;435
ENDP
00007e 0000 DCW 0x0000
|L8.128|
00008a 0000 DCW 0x0000
|L8.140|
00008c 7461755f DCB "tau_log",0
000090 6c6f6700
|L8.148|
000094 5b25735d DCB "[%s] (%04d) st_tp_HW_rst \n",0
000098 20282530
00009c 34642920
0000a0 73745f74
0000a4 705f4857
0000a8 5f727374
0000ac 200a00
0000af 00 DCB 0
|L8.176|
DCD g_screen_input_rst_pad
|L8.132|
|L8.180|
DCD ||.data||+0x1a
AREA ||i.ap_tp_st_touch_scan_point_init||, CODE, READONLY, ALIGN=2
@ -964,73 +981,90 @@
000000 b510 PUSH {r4,lr}
;;;382 {
;;;383 TAU_LOGD("st_tp_sw_rst \n");
000002 22ff MOVS r2,#0xff
000004 3280 ADDS r2,r2,#0x80
000006 a11c ADR r1,|L13.120|
000008 a01d ADR r0,|L13.128|
00000a f7fffffe BL LOG_printf
;;;384 ap_tp_st_touch_simulate_finger_release_event();
000002 f7fffffe BL ap_tp_st_touch_simulate_finger_release_event
00000e f7fffffe BL ap_tp_st_touch_simulate_finger_release_event
;;;385 ap_tp_st_touch_scan_point_init();
000006 f7fffffe BL ap_tp_st_touch_scan_point_init
000012 f7fffffe BL ap_tp_st_touch_scan_point_init
;;;386
;;;387 app_tp_m_write(st_touch_tp_tuning_clkreset, sizeof(st_touch_tp_tuning_clkreset)); // clk reset
00000a 2103 MOVS r1,#3
00000c 4817 LDR r0,|L13.108|
00000e f7fffffe BL app_tp_m_write
|L13.18|
000016 2103 MOVS r1,#3
000018 4820 LDR r0,|L13.156|
00001a f7fffffe BL app_tp_m_write
|L13.30|
;;;388 while(!hal_i2c_m_transfer_complate());
000012 f7fffffe BL hal_i2c_m_transfer_complate
000016 2800 CMP r0,#0
000018 d0fb BEQ |L13.18|
00001e f7fffffe BL hal_i2c_m_transfer_complate
000022 2800 CMP r0,#0
000024 d0fb BEQ |L13.30|
;;;389 delayMs(5);
00001a 2005 MOVS r0,#5
00001c f7fffffe BL delayMs
000026 2005 MOVS r0,#5
000028 f7fffffe BL delayMs
;;;390
;;;391 app_tp_m_write(st_touch_tp_tuning_reset, sizeof(st_touch_tp_tuning_reset)); // System Reset A4 00 00
000020 4812 LDR r0,|L13.108|
000022 2103 MOVS r1,#3
000024 3815 SUBS r0,r0,#0x15
000026 f7fffffe BL app_tp_m_write
|L13.42|
00002c 481b LDR r0,|L13.156|
00002e 2103 MOVS r1,#3
000030 3815 SUBS r0,r0,#0x15
000032 f7fffffe BL app_tp_m_write
|L13.54|
;;;392 while(!hal_i2c_m_transfer_complate());
00002a f7fffffe BL hal_i2c_m_transfer_complate
00002e 2800 CMP r0,#0
000030 d0fb BEQ |L13.42|
000036 f7fffffe BL hal_i2c_m_transfer_complate
00003a 2800 CMP r0,#0
00003c d0fb BEQ |L13.54|
;;;393 delayMs(5);
000032 2005 MOVS r0,#5
000034 f7fffffe BL delayMs
00003e 2005 MOVS r0,#5
000040 f7fffffe BL delayMs
;;;394
;;;395 app_tp_m_write(st_touch_tp_tuning_clearfifo, sizeof(st_touch_tp_tuning_clearfifo));//0xA4,0x00,0x01
000038 480c LDR r0,|L13.108|
00003a 2103 MOVS r1,#3
00003c 1ec0 SUBS r0,r0,#3
00003e f7fffffe BL app_tp_m_write
|L13.66|
000044 4815 LDR r0,|L13.156|
000046 2103 MOVS r1,#3
000048 1ec0 SUBS r0,r0,#3
00004a f7fffffe BL app_tp_m_write
|L13.78|
;;;396 while(!hal_i2c_m_transfer_complate());
000042 f7fffffe BL hal_i2c_m_transfer_complate
000046 2800 CMP r0,#0
000048 d0fb BEQ |L13.66|
00004e f7fffffe BL hal_i2c_m_transfer_complate
000052 2800 CMP r0,#0
000054 d0fb BEQ |L13.78|
;;;397 delayMs(5);
00004a 2005 MOVS r0,#5
00004c f7fffffe BL delayMs
000056 2005 MOVS r0,#5
000058 f7fffffe BL delayMs
;;;398
;;;399 app_tp_m_write(st_touch_init_sensor_on, sizeof(st_touch_init_sensor_on));//0xA0,0x00,0x01
000050 4806 LDR r0,|L13.108|
000052 2103 MOVS r1,#3
000054 3818 SUBS r0,r0,#0x18
000056 f7fffffe BL app_tp_m_write
|L13.90|
00005c 480f LDR r0,|L13.156|
00005e 2103 MOVS r1,#3
000060 3818 SUBS r0,r0,#0x18
000062 f7fffffe BL app_tp_m_write
|L13.102|
;;;400 while(!hal_i2c_m_transfer_complate());
00005a f7fffffe BL hal_i2c_m_transfer_complate
00005e 2800 CMP r0,#0
000060 d0fb BEQ |L13.90|
000066 f7fffffe BL hal_i2c_m_transfer_complate
00006a 2800 CMP r0,#0
00006c d0fb BEQ |L13.102|
;;;401 delayMs(5);
000062 2005 MOVS r0,#5
000064 f7fffffe BL delayMs
00006e 2005 MOVS r0,#5
000070 f7fffffe BL delayMs
;;;402
;;;403 }
000068 bd10 POP {r4,pc}
000074 bd10 POP {r4,pc}
;;;404
ENDP
00006a 0000 DCW 0x0000
|L13.108|
000076 0000 DCW 0x0000
|L13.120|
000078 7461755f DCB "tau_log",0
00007c 6c6f6700
|L13.128|
000080 5b25735d DCB "[%s] (%04d) st_tp_sw_rst \n",0
000084 20282530
000088 34642920
00008c 73745f74
000090 705f7377
000094 5f727374
000098 200a00
00009b 00 DCB 0
|L13.156|
DCD ||.data||+0x1d
AREA ||i.app_tp_calibration_exec||, CODE, READONLY, ALIGN=2
@ -1038,16 +1072,16 @@
app_tp_calibration_exec PROC
;;;302
;;;303 void app_tp_calibration_exec(void)
000000 b570 PUSH {r4-r6,lr}
000000 b5f8 PUSH {r3-r7,lr}
;;;304 {
;;;305 uint8_t i = 0;
;;;306
;;;307 if(s_calibration_flag)
000002 4d0c LDR r5,|L14.52|
000002 4d13 LDR r5,|L14.80|
000004 2400 MOVS r4,#0 ;305
000006 7828 LDRB r0,[r5,#0] ; s_calibration_flag
000008 2800 CMP r0,#0
00000a d011 BEQ |L14.48|
00000a d018 BEQ |L14.62|
;;;308 {
;;;309 s_calibration_flag = false;
00000c 2000 MOVS r0,#0
@ -1057,22 +1091,8 @@
;;;312 ap_tp_st_touch_calibration();
;;;313 delayMs(4000);
000010 267d MOVS r6,#0x7d
000012 0176 LSLS r6,r6,#5
|L14.20|
000014 f7fffffe BL ap_tp_st_touch_calibration
000018 4630 MOV r0,r6
00001a f7fffffe BL delayMs
;;;314 ap_tp_st_touch_get_calibration_success_mark();
00001e f7fffffe BL ap_tp_st_touch_get_calibration_success_mark
;;;315 if(s_calibration_correct_flag == ST_TP_CALIBRATION_SUCCESS)
000022 7868 LDRB r0,[r5,#1] ; s_calibration_correct_flag
000024 285a CMP r0,#0x5a
000026 d003 BEQ |L14.48|
000028 1c64 ADDS r4,r4,#1
00002a b2e4 UXTB r4,r4 ;310
00002c 2c02 CMP r4,#2 ;310
00002e d3f1 BCC |L14.20|
|L14.48|
;;;316 {
;;;317 TAU_LOGD("cali ok \n");
;;;318 break;
@ -1080,18 +1100,66 @@
;;;320 else
;;;321 {
;;;322 TAU_LOGD("cali ng \n");
000012 27ff MOVS r7,#0xff
000014 0176 LSLS r6,r6,#5 ;313
000016 3743 ADDS r7,r7,#0x43
|L14.24|
000018 f7fffffe BL ap_tp_st_touch_calibration
00001c 4630 MOV r0,r6 ;313
00001e f7fffffe BL delayMs
000022 f7fffffe BL ap_tp_st_touch_get_calibration_success_mark
000026 7868 LDRB r0,[r5,#1] ;315 ; s_calibration_correct_flag
000028 285a CMP r0,#0x5a ;315
00002a d009 BEQ |L14.64|
00002c 463a MOV r2,r7
00002e a109 ADR r1,|L14.84|
000030 a00a ADR r0,|L14.92|
000032 f7fffffe BL LOG_printf
000036 1c64 ADDS r4,r4,#1
000038 b2e4 UXTB r4,r4 ;310
00003a 2c02 CMP r4,#2 ;310
00003c d3ec BCC |L14.24|
|L14.62|
;;;323 }
;;;324 }
;;;325
;;;326 }
;;;327 }
000030 bd70 POP {r4-r6,pc}
00003e bdf8 POP {r3-r7,pc}
|L14.64|
000040 22ff MOVS r2,#0xff ;317
000042 323e ADDS r2,r2,#0x3e ;317
000044 a103 ADR r1,|L14.84|
000046 a00b ADR r0,|L14.116|
000048 f7fffffe BL LOG_printf
00004c bdf8 POP {r3-r7,pc}
;;;328
ENDP
000032 0000 DCW 0x0000
|L14.52|
00004e 0000 DCW 0x0000
|L14.80|
DCD ||.data||
|L14.84|
000054 7461755f DCB "tau_log",0
000058 6c6f6700
|L14.92|
00005c 5b25735d DCB "[%s] (%04d) cali ng \n",0
000060 20282530
000064 34642920
000068 63616c69
00006c 206e6720
000070 0a00
000072 00 DCB 0
000073 00 DCB 0
|L14.116|
000074 5b25735d DCB "[%s] (%04d) cali ok \n",0
000078 20282530
00007c 34642920
000080 63616c69
000084 206f6b20
000088 0a00
00008a 00 DCB 0
00008b 00 DCB 0
AREA ||.bss||, DATA, NOINIT, ALIGN=2
@ -1152,7 +1220,7 @@
AREA ||.rev16_text||, CODE
THUMB
EXPORT |__asm___17_app_tp_st_touch_c_0c52f749____REV16|
#line 467 "C:\\Users\\ASUS\\AppData\\Local\\Arm\\Packs\\ARM\\CMSIS\\5.5.1\\CMSIS\\Core\\Include\\cmsis_armcc.h"
#line 467 "C:\\Keil_v5\\ARM\\PACK\\ARM\\CMSIS\\5.5.1\\CMSIS\\Core\\Include\\cmsis_armcc.h"
|__asm___17_app_tp_st_touch_c_0c52f749____REV16| PROC
#line 468

View File

@ -1,5 +1,5 @@
; generated by Component: ARM Compiler 5.06 update 6 (build 750) Tool: ArmCC [4d3637]
; commandline ArmCC [--c99 --list --split_sections --debug -c --asm --interleave --gnu -o.\objects\app_tp_transfer.o --asm_dir=.\Listings\ --list_dir=.\Listings\ --depend=.\objects\app_tp_transfer.d --cpu=Cortex-M0 --apcs=interwork -O3 --diag_suppress=9931 -I..\..\src -I..\..\src\board -I..\..\src\common -I..\..\src\sdk\include -I..\..\src\app\demo -I..\..\src\sdk\include\M0 -I..\..\src\app -I..\..\src\app\module_demo -I..\..\src\app\touch -I..\..\src\app\S8 -I..\..\src\app\S9 -I..\CVWL568 -I.\RTE\_ISP_568 -IC:\Users\ASUS\AppData\Local\Arm\Packs\ARM\CMSIS\5.5.1\CMSIS\Core\Include -IC:\Users\ASUS\AppData\Local\Arm\Packs\ARM\CMSIS\5.5.1\Device\ARM\ARMCM0\Include -D__MICROLIB -D__UVISION_VERSION=528 -D_RTE_ -DARMCM0 -DISP_568 --omf_browse=.\objects\app_tp_transfer.crf ..\..\src\app\demo\app_tp_transfer.c]
; commandline ArmCC [--c99 --list --split_sections --debug -c --asm --interleave --gnu -o.\objects\app_tp_transfer.o --asm_dir=.\Listings\ --list_dir=.\Listings\ --depend=.\objects\app_tp_transfer.d --cpu=Cortex-M0 --apcs=interwork -O3 --diag_suppress=9931 -I..\..\src -I..\..\src\board -I..\..\src\common -I..\..\src\sdk\include -I..\..\src\app\demo -I..\..\src\sdk\include\M0 -I..\..\src\app -I..\..\src\app\module_demo -I..\..\src\app\touch -I..\..\src\app\S8 -I..\..\src\app\S9 -I..\CVWL568 -I.\RTE\_ISP_568 -IC:\Keil_v5\ARM\PACK\ARM\CMSIS\5.5.1\CMSIS\Core\Include -IC:\Keil_v5\ARM\PACK\ARM\CMSIS\5.5.1\Device\ARM\ARMCM0\Include -D__MICROLIB -D__UVISION_VERSION=528 -D_RTE_ -DARMCM0 -DISP_568 --omf_browse=.\objects\app_tp_transfer.crf ..\..\src\app\demo\app_tp_transfer.c]
THUMB
AREA ||i.S20_Start_init||, CODE, READONLY, ALIGN=2
@ -1167,7 +1167,7 @@
AREA ||.rev16_text||, CODE
THUMB
EXPORT |__asm___17_app_tp_transfer_c_e672c05a____REV16|
#line 467 "C:\\Users\\ASUS\\AppData\\Local\\Arm\\Packs\\ARM\\CMSIS\\5.5.1\\CMSIS\\Core\\Include\\cmsis_armcc.h"
#line 467 "C:\\Keil_v5\\ARM\\PACK\\ARM\\CMSIS\\5.5.1\\CMSIS\\Core\\Include\\cmsis_armcc.h"
|__asm___17_app_tp_transfer_c_e672c05a____REV16| PROC
#line 468

View File

@ -1,5 +1,5 @@
; generated by Component: ARM Compiler 5.06 update 6 (build 750) Tool: ArmCC [4d3637]
; commandline ArmCC [--c99 --list --split_sections --debug -c --asm --interleave --gnu -o.\objects\board.o --asm_dir=.\Listings\ --list_dir=.\Listings\ --depend=.\objects\board.d --cpu=Cortex-M0 --apcs=interwork -O3 --diag_suppress=9931 -I..\..\src -I..\..\src\board -I..\..\src\common -I..\..\src\sdk\include -I..\..\src\app\demo -I..\..\src\sdk\include\M0 -I..\..\src\app -I..\..\src\app\module_demo -I..\..\src\app\touch -I..\..\src\app\S8 -I..\..\src\app\S9 -I..\CVWL568 -I.\RTE\_ISP_568 -IC:\Users\ASUS\AppData\Local\Arm\Packs\ARM\CMSIS\5.5.1\CMSIS\Core\Include -IC:\Users\ASUS\AppData\Local\Arm\Packs\ARM\CMSIS\5.5.1\Device\ARM\ARMCM0\Include -D__MICROLIB -D__UVISION_VERSION=528 -D_RTE_ -DARMCM0 -DISP_568 --omf_browse=.\objects\board.crf ..\..\src\board\board.c]
; commandline ArmCC [--c99 --list --split_sections --debug -c --asm --interleave --gnu -o.\objects\board.o --asm_dir=.\Listings\ --list_dir=.\Listings\ --depend=.\objects\board.d --cpu=Cortex-M0 --apcs=interwork -O3 --diag_suppress=9931 -I..\..\src -I..\..\src\board -I..\..\src\common -I..\..\src\sdk\include -I..\..\src\app\demo -I..\..\src\sdk\include\M0 -I..\..\src\app -I..\..\src\app\module_demo -I..\..\src\app\touch -I..\..\src\app\S8 -I..\..\src\app\S9 -I..\CVWL568 -I.\RTE\_ISP_568 -IC:\Keil_v5\ARM\PACK\ARM\CMSIS\5.5.1\CMSIS\Core\Include -IC:\Keil_v5\ARM\PACK\ARM\CMSIS\5.5.1\Device\ARM\ARMCM0\Include -D__MICROLIB -D__UVISION_VERSION=528 -D_RTE_ -DARMCM0 -DISP_568 --omf_browse=.\objects\board.crf ..\..\src\board\board.c]
THUMB
AREA ||i.board_Init||, CODE, READONLY, ALIGN=2
@ -42,7 +42,7 @@
AREA ||.rev16_text||, CODE
THUMB
EXPORT |__asm___7_board_c_bcd01269____REV16|
#line 467 "C:\\Users\\ASUS\\AppData\\Local\\Arm\\Packs\\ARM\\CMSIS\\5.5.1\\CMSIS\\Core\\Include\\cmsis_armcc.h"
#line 467 "C:\\Keil_v5\\ARM\\PACK\\ARM\\CMSIS\\5.5.1\\CMSIS\\Core\\Include\\cmsis_armcc.h"
|__asm___7_board_c_bcd01269____REV16| PROC
#line 468

View File

@ -1,5 +1,5 @@
; generated by Component: ARM Compiler 5.06 update 6 (build 750) Tool: ArmCC [4d3637]
; commandline ArmCC [--c99 --list --split_sections --debug -c --asm --interleave --gnu -o.\objects\main.o --asm_dir=.\Listings\ --list_dir=.\Listings\ --depend=.\objects\main.d --cpu=Cortex-M0 --apcs=interwork -O3 --diag_suppress=9931 -I..\..\src -I..\..\src\board -I..\..\src\common -I..\..\src\sdk\include -I..\..\src\app\demo -I..\..\src\sdk\include\M0 -I..\..\src\app -I..\..\src\app\module_demo -I..\..\src\app\touch -I..\..\src\app\S8 -I..\..\src\app\S9 -I..\CVWL568 -I.\RTE\_ISP_568 -IC:\Users\ASUS\AppData\Local\Arm\Packs\ARM\CMSIS\5.5.1\CMSIS\Core\Include -IC:\Users\ASUS\AppData\Local\Arm\Packs\ARM\CMSIS\5.5.1\Device\ARM\ARMCM0\Include -D__MICROLIB -D__UVISION_VERSION=528 -D_RTE_ -DARMCM0 -DISP_568 --omf_browse=.\objects\main.crf ..\..\src\app\main.c]
; commandline ArmCC [--c99 --list --split_sections --debug -c --asm --interleave --gnu -o.\objects\main.o --asm_dir=.\Listings\ --list_dir=.\Listings\ --depend=.\objects\main.d --cpu=Cortex-M0 --apcs=interwork -O3 --diag_suppress=9931 -I..\..\src -I..\..\src\board -I..\..\src\common -I..\..\src\sdk\include -I..\..\src\app\demo -I..\..\src\sdk\include\M0 -I..\..\src\app -I..\..\src\app\module_demo -I..\..\src\app\touch -I..\..\src\app\S8 -I..\..\src\app\S9 -I..\CVWL568 -I.\RTE\_ISP_568 -IC:\Keil_v5\ARM\PACK\ARM\CMSIS\5.5.1\CMSIS\Core\Include -IC:\Keil_v5\ARM\PACK\ARM\CMSIS\5.5.1\Device\ARM\ARMCM0\Include -D__MICROLIB -D__UVISION_VERSION=528 -D_RTE_ -DARMCM0 -DISP_568 --omf_browse=.\objects\main.crf ..\..\src\app\main.c]
THUMB
AREA ||i.main||, CODE, READONLY, ALIGN=1
@ -32,7 +32,7 @@
AREA ||.rev16_text||, CODE
THUMB
EXPORT |__asm___6_main_c_main____REV16|
#line 467 "C:\\Users\\ASUS\\AppData\\Local\\Arm\\Packs\\ARM\\CMSIS\\5.5.1\\CMSIS\\Core\\Include\\cmsis_armcc.h"
#line 467 "C:\\Keil_v5\\ARM\\PACK\\ARM\\CMSIS\\5.5.1\\CMSIS\\Core\\Include\\cmsis_armcc.h"
|__asm___6_main_c_main____REV16| PROC
#line 468

View File

@ -0,0 +1,23 @@
/*******************************************************************************
*
*
* File: hal_tp_screen_transfer_data.h
* Description start/sleep/awake
* Version V0.1
* Date 2021-10-14
* Author zhanghz
*******************************************************************************/
#ifndef __HAL_TP_SCREEN_TRANSFER_DATA_S8_H__
#define __HAL_TP_SCREEN_TRANSFER_DATA_S8_H__
#include "tau_common.h"
/***************send to screen***************/
const uint8_t screen_87_data[] = {0x87};
const uint8_t screen_a0_00_ff_data[] = {0xa0, 0x00, 0xff};
const uint8_t screen_a4_06_c1_data[] = {0xa4, 0x06, 0xc1};
/*******************************************/
#endif

View File

@ -296,6 +296,7 @@ typedef enum
ERR_HANDLE_L1 = 1,
ERR_HANDLE_L2 = 2,
ERR_HANDLE_L3 = 3,
ERR_HANDLE_L4 = 4,
ERR_HANDLE_MAX
} hal_err_handle_level_e;

View File

@ -29,7 +29,7 @@
#undef LOG_TAG
#endif
#define LOG_TAG "tau_log"
#define LOG_CURREN_LEVEL kLOG_LEVEL_NONE // kLOG_LEVEL_DBG /* 配置打印等级 TODO:每个模块可配置打印等级 */
#define LOG_CURREN_LEVEL kLOG_LEVEL_DBG /* 配置打印等级 TODO:每个模块可配置打印等级 */
/*
* Using the following three macros for conveniently logging.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -69,7 +69,7 @@ typedef struct hal_dsi_rx_ctrl_handle_t
hal_dsi_rx_ctrl_pps_entry pps_update_entry; /* PPS Update 时回调函数,用于分辨率切换更新PPS,为NULL时内部处理 */
bool used; /* handle使用标志位 */
uint8_t pq_marginal; /* picture quality,参数为hal_rx_pq_marginal_type_e */
bool direct_mode; /* video mode 直通模式,预留,仅debug使用 */
bool direct_mode; /* video mode 直通模式,支持60hz同帧率且porch相等或者相近时使用 */
hal_dsi_rx_ctrl_dbg_entry rx_debug_cb; /* rx debug 回调函数,目前为收到frame start之后回调预留其他debug功能 */
hal_err_handle_level_e err_handler_level; /* RX接收错误的时候对模块做reset等级, 等级越高reset模块越多 */
bool draw_mode; /* 画点模式,仅debug使用 */
@ -471,12 +471,13 @@ bool hal_dsi_rx_ctrl_set_tear_mode_ex(hal_dsi_rx_ctrl_handle_t *rx_ctrl_handle,
bool hal_dsi_rx_ctrl_toggle_resolution_ex(hal_dsi_rx_ctrl_handle_t *rx_ctrl_handle);
/*
* @brief 0XFF命令
* @brief ,.
hal_dsi_rx_ctrl_set_auto_hw_filter关闭hw filter用于获取所有软件CMD
* @param rx_ctrl_handle: dsi rx handle
* @param
* @retval none
*/
void hal_dsi_rx_register_write_cmd_entry(hal_dsi_rx_ctrl_handle_t *rx_ctrl_handle, hal_dsi_rx_ctrl_dcs_execute execute_func);
void hal_dsi_rx_ctrl_register_write_cmd_entry(hal_dsi_rx_ctrl_handle_t *rx_ctrl_handle, hal_dsi_rx_ctrl_dcs_execute execute_func);
#if !defined(ISP_568) && !defined(ISP_368)

View File

@ -52,7 +52,9 @@ typedef struct
uint8_t blank_rows; /* 默认为0, 针对特殊屏使用大于0时生效表示向下补黑blank_rows行 */
uint8_t blank_columns; /* 默认为0, 针对特殊屏使用大于0时生效表示向右补黑blank_columns列 */
bool lp_exit_lpdt; /* 每一条LP CMD都退出LPDT */
#if defined(ISP_568) || defined(ISP_368)
bool tx_cmd_mode_sync; /* TX command mode 输出同步 */
#endif
} hal_dsi_tx_ctrl_handle_t;
/**
@ -139,9 +141,9 @@ void hal_dsi_tx_ctrl_read_cmd(uint8_t data_type, uint8_t vc, uint8_t cmd, uint8_
* @param vc: dsi_virtual_channel_e
* @param cmd_count:
* @param ...:
* @retval
* @retval true-command发送正常false-TX当前状态不能发送command
*/
void hal_dsi_tx_ctrl_write_cmd(uint8_t data_type, uint8_t vc, uint8_t cmd_count, ...);
bool hal_dsi_tx_ctrl_write_cmd(uint8_t data_type, uint8_t vc, uint8_t cmd_count, ...);
/**
* @brief MIPI TX发送命令
@ -149,9 +151,9 @@ void hal_dsi_tx_ctrl_write_cmd(uint8_t data_type, uint8_t vc, uint8_t cmd_count,
* @param vc: dsi_virtual_channel_e
* @param size: data个数
* @param data: data数组
* @retval
* @retval true-command发送正常false-TX当前状态不能发送command
*/
void hal_dsi_tx_ctrl_write_array_cmd(uint8_t data_type, uint8_t vc, uint8_t size, const uint8_t *data);
bool hal_dsi_tx_ctrl_write_array_cmd(uint8_t data_type, uint8_t vc, uint8_t size, const uint8_t *data);
/**
* @brief TX溢出时钟分频系统

View File

@ -1 +1 @@
#define SDK_REVISION 4450
#define SDK_REVISION 4644