ESP32-S3 using ADC2 pins and wifi
Posted: Fri Mar 14, 2025 7:26 pm
Hi everyone, this is my first discussion (and first post in a forum ever) so, sorry if i do something wrong but just focus on the problem please.
So, my problem is that i need to read two magnetic encoders, a gps through UART1, write to psram, and use wifi.
The board i'm using is an ESP32-S3 WROOM-1 DEVKIT-C1 N16R8, with arduino IDE.
This board has 4 spi busses, but i can only use one (FSPI, 10,11,12,13) because the octal psram and flash uses the other 3 when psram is activated.
This bus, is part of the ADC2 pins, i can read analog signals from the encoders and save them in buffers in the psram, but can't connect the wifi after the recordings even when i'm not using those pins anymore.
For the gps i use pins 17 and 18, both still in ADC2 pin layout.
Can someone help me understand how to turn off spi communication (i tried with spi.end() ) or a different solution?
So, my problem is that i need to read two magnetic encoders, a gps through UART1, write to psram, and use wifi.
The board i'm using is an ESP32-S3 WROOM-1 DEVKIT-C1 N16R8, with arduino IDE.
This board has 4 spi busses, but i can only use one (FSPI, 10,11,12,13) because the octal psram and flash uses the other 3 when psram is activated.
This bus, is part of the ADC2 pins, i can read analog signals from the encoders and save them in buffers in the psram, but can't connect the wifi after the recordings even when i'm not using those pins anymore.
For the gps i use pins 17 and 18, both still in ADC2 pin layout.
Can someone help me understand how to turn off spi communication (i tried with spi.end() ) or a different solution?