Преглед изворни кода

更新LCD时序参数,修复VS pulse时序中多出HSW个点的问题,解决部分显示屏无法正常点亮显示的问题。

helen пре 1 месец
родитељ
комит
f9145801e1

+ 1 - 1
amt630hv160-freertos-beta/ArkmicroFiles/libcpu-amt630hv160/source/lcd.c

@@ -757,7 +757,7 @@ static int ark_lcd_timing_init(ark_lcd_t *lcd)
 #define      VSW0_v_fall             (VFP+VSW)   // Vertical sync width value     ;  from register   timing1 10
 
 #define      VSW0_h_rise             (HFP)
-#define      VSW0_h_fall             (HFP+HSW)
+#define      VSW0_h_fall             (HFP)
 
 #define      VSW1_v_rise             (VFP)          // Vertical sync width value ;  from register   timing1 10
 #define      VSW1_v_fall             (VFP+VSW)      // Vertical sync width value  ;  from register   timing1 10

+ 1 - 1
amt630hv160-mcu/amt630hv160-mcu-iram/src/ArkmicroFiles/libcpu-amt630hv160/source/amt630hv160_lcd.c

@@ -653,7 +653,7 @@ static int ark_lcd_timing_init(void)
 #define      VSW0_v_fall             (VFP+VSW)   // Vertical sync width value     ;  from register   timing1 10
 
 #define      VSW0_h_rise             (HFP)
-#define      VSW0_h_fall             (HFP+HSW)
+#define      VSW0_h_fall             (HFP)
 
 #define      VSW1_v_rise             (VFP)          // Vertical sync width value ;  from register   timing1 10
 #define      VSW1_v_fall             (VFP+VSW)      // Vertical sync width value  ;  from register   timing1 10

+ 1 - 1
amt630hv160-mcu/amt630hv160-mcu-sram-nos/src/ArkmicroFiles/libcpu-amt630hv160/source/amt630hv160_lcd.c

@@ -646,7 +646,7 @@ static int ark_lcd_timing_init(void)
 #define      VSW0_v_fall             (VFP+VSW)   // Vertical sync width value     ;  from register   timing1 10
 
 #define      VSW0_h_rise             (HFP)
-#define      VSW0_h_fall             (HFP+HSW)
+#define      VSW0_h_fall             (HFP)
 
 #define      VSW1_v_rise             (VFP)          // Vertical sync width value ;  from register   timing1 10
 #define      VSW1_v_fall             (VFP+VSW)      // Vertical sync width value  ;  from register   timing1 10