Search found 6 matches

by Energiya
Sun Jan 28, 2024 4:38 pm
Forum: ESP-IDF
Topic: SPI does not work
Replies: 1
Views: 532

Re: SPI does not work

Hi, I have resolved the issue. I have noticed that mosi_io_num and data0_io_num are union. Also miso_io_num and data1_io_num. union { int mosi_io_num; ///< GPIO pin for Master Out Slave In (=spi_d) signal, or -1 if not used. int data0_io_num; ///< GPIO pin for spi data0 signal in quad/octal mode, or...
by Energiya
Sun Jan 28, 2024 4:37 pm
Forum: IDEs for ESP-IDF
Topic: SPI does not work
Replies: 1
Views: 2220

Re: SPI does not work

Hi, I have resolved the issue. I have noticed that mosi_io_num and data0_io_num are union. Also miso_io_num and data1_io_num. union { int mosi_io_num; ///< GPIO pin for Master Out Slave In (=spi_d) signal, or -1 if not used. int data0_io_num; ///< GPIO pin for spi data0 signal in quad/octal mode, or...
by Energiya
Sun Jan 28, 2024 4:36 pm
Forum: Hardware
Topic: SPI does not work
Replies: 1
Views: 584

Re: SPI does not work

Hi, I have resolved the issue. I have noticed that mosi_io_num and data0_io_num are union. Also miso_io_num and data1_io_num. union { int mosi_io_num; ///< GPIO pin for Master Out Slave In (=spi_d) signal, or -1 if not used. int data0_io_num; ///< GPIO pin for spi data0 signal in quad/octal mode, or...
by Energiya
Sat Jan 27, 2024 3:51 pm
Forum: Hardware
Topic: SPI does not work
Replies: 1
Views: 584

SPI does not work

Hello, I have got XIAO ESP32S3 and ESP32-WROOM32 units. I have got exactly the same problem on both. SPI works on Arduino but it does not on ESP-IDF. I use ESP-IDF 5.1.2. I setup SPI by using code below. Later I send 4 bytes //On XIAO I tried //gpio_iomux_in(GPIO_NUM_9, SPI3_D_IN_IDX); //gpio_iomux...
by Energiya
Sat Jan 27, 2024 3:49 pm
Forum: IDEs for ESP-IDF
Topic: SPI does not work
Replies: 1
Views: 2220

SPI does not work

Hello, I have got XIAO ESP32S3 and ESP32-WROOM32 units. I have got exactly the same problem on both. SPI works on Arduino but it does not on ESP-IDF. I use ESP-IDF 5.1.2. I setup SPI by using code below. Later I send 4 bytes //On XIAO I tried //gpio_iomux_in(GPIO_NUM_9, SPI3_D_IN_IDX); //gpio_iomux...
by Energiya
Sat Jan 27, 2024 3:01 pm
Forum: ESP-IDF
Topic: SPI does not work
Replies: 1
Views: 532

SPI does not work

Hello, I have got XIAO ESP32S3 and ESP32-WROOM32 units. I have got exactly the same problem on both. SPI works on Arduino but it does not on ESP-IDF. I use ESP-IDF 5.1.2. I setup SPI by using code below. Later I send 4 bytes //On XIAO I tried //gpio_iomux_in(GPIO_NUM_9, SPI3_D_IN_IDX); //gpio_iomux...