PS: 20Mhz RLE 8 bit encoding is almost ready. Works proper until DMA ring buffer catches RLE encoder block while inspecting 20Mhz clock with jitter...
Happy vacations.
Bests.
because If let say enable GPIO7 for input 7, than ESP32 crash due SPI pins try to communicate with flash while occupied for input. You can select any GPIO pin that you want to use instead of -1 or 7.... cfg.gpio_bus are set to -1 and commented ...
If let say enable GPIO7 for input 7, than ESP32 crash due SPI pins try to communicate with flash while occupied for input. You can select any GPIO pin that you want to use instead of -1 or 7.
Also setting them -1 does not make that pin floating but low...
Code: Select all
// do not use pins mentioned in the comments. These are reserved
cfg.gpio_bus[0] = 0;
cfg.gpio_bus[1] = 4; // GPIO 1 = UART 0 - TXD
cfg.gpio_bus[2] = 12;
cfg.gpio_bus[3] = 13; // GPIO 3 = UART 0 - RXD
cfg.gpio_bus[4] = 14;
cfg.gpio_bus[5] = 15;
cfg.gpio_bus[6] = 16; // GPIO 6 = Flash SPI SCK
cfg.gpio_bus[7] = 17; // GPIO 7 = Flash SPI SD0
cfg.gpio_bus[8] = 18; // GPIO 8 = Flash SPI SD1
cfg.gpio_bus[9] = 19; // GPIO 9 = Flash SPI SD2
cfg.gpio_bus[10] = 2; // GPIO 10 = Flash SPI SD3
cfg.gpio_bus[11] = 21; // GPIO 11 = Flash SPI CMD
cfg.gpio_bus[12] = 32;
cfg.gpio_bus[13] = 33;
cfg.gpio_bus[14] = 34;
cfg.gpio_bus[15] = 35;Users browsing this forum: Qwantbot and 4 guests