From c5227fd15eb6138ed6dce9a3504110eed04cb938 Mon Sep 17 00:00:00 2001 From: mrfaptastic <12006953+mrfaptastic@users.noreply.github.com> Date: Thu, 19 Aug 2021 19:02:11 +0100 Subject: [PATCH] Update esp32_i2s_parallel_v2.c --- esp32_i2s_parallel_v2.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/esp32_i2s_parallel_v2.c b/esp32_i2s_parallel_v2.c index fd48d22..8bf421f 100644 --- a/esp32_i2s_parallel_v2.c +++ b/esp32_i2s_parallel_v2.c @@ -198,6 +198,11 @@ esp_err_t i2s_parallel_driver_install(i2s_port_t port, i2s_parallel_config_t* co // Set i2s mode to LCD mode dev->conf2.val = 0; dev->conf2.lcd_en = 1; + dev->conf.tx_slave_mod = 0; + + // dev->conf.tx_dma_equal=1; // esp32-s2 only + dev->conf2.lcd_tx_wrx2_en=0; + dev->conf2.lcd_tx_sdx2_en=0; // Enable "One datum will be written twice in LCD mode" - for some reason, // if we don't do this in 8-bit mode, data is updated on half-clocks not clocks