Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fiiom3k_Reduce_LCDClk-TE_off.diff
- Without this the time of WAIT_EOF / SLEEP_EOF is unexpected High for the fiiom3k
- (lt. DMA Debug: ~35ms vs ~7ms for 153kB Screendata Transfer Wait,
- te_enable=1 highly suspicious for this)
- Mini-Credit ZappBranigan2972 on forums / F. Jacobsen on the Theme Site
- ---
- --- a/firmware/target/mips/ingenic_x1000/fiiom3k/lcd-fiiom3k.c.orig 2024-02-02 21:18:28.090867623 +0100
- +++ b/firmware/target/mips/ingenic_x1000/fiiom3k/lcd-fiiom3k.c 2024-02-02 21:18:42.174675179 +0100
- @@ -156,7 +156,7 @@
- .clk_polarity = 0,
- .dc_polarity = 0,
- .wr_polarity = 1,
- - .te_enable = 1,
- + .te_enable = 0,
- .te_polarity = 1,
- .te_narrow = 0,
- .dma_wr_cmd_buf = &fiio_lcd_dma_wr_cmd,
- @@ -173,7 +173,7 @@
- gpio_set_level(GPIO_LCD_CE, 0);
- /* set the clock whatever it is... */
- - lcd_set_clock(X1000_CLK_SCLK_A, 30000000);
- + lcd_set_clock(X1000_CLK_SCLK_A, 20000000);
- /* program the initial configuration */
- lcd_exec_commands(&fiio_lcd_cmd_enable[0]);
Advertisement
Add Comment
Please, Sign In to add comment