ESP32-S3 Octal (8-bit) SPI (master) transmission does not work
ESP32-S3 Octal (8-bit) SPI (master) transmission does not work
Please delete thread. Figured out issue.
Last edited by faptastic on Tue Jan 02, 2024 5:33 pm, edited 2 times in total.
-
- Posts: 1725
- Joined: Mon Oct 17, 2022 7:38 pm
- Location: Europe, Germany
Re: ESP32-S3 Octal (8-bit) SPI (master) transmission does not work
What are the actual GPIO pin numbers you're trying to use?faptastic wrote: ↑Mon Jan 01, 2024 7:37 pm
spi_bus_config_t buscfg = { .data0_io_num = -1, .data1_io_num = -1, .sclk_io_num = -1, // TEMP .data2_io_num = -1, .data3_io_num = 5, // this and data2, data1, data0 and sclk work. .data4_io_num = 1, // this doesn't work (nor does data5+) .data5_io_num = -1, .data6_io_num = -1, .data7_io_num = -1, .max_transfer_sz = 512, // ESP32 S3 max size is 64Kbytes .flags = 0, .intr_flags = 0 };
Re: ESP32-S3 Octal (8-bit) SPI (master) transmission does not work
Edit: Figured out issue.
I was setting the SPICOMMON_BUSFLAG_OCTAL flag to the 'devcfg' not 'buscfg'. Facepalm
I was setting the SPICOMMON_BUSFLAG_OCTAL flag to the 'devcfg' not 'buscfg'. Facepalm
Who is online
Users browsing this forum: Bing [Bot] and 388 guests