Search found 6 matches
- Sun Jan 28, 2024 4:38 pm
- Forum: ESP-IDF
- Topic: SPI does not work
- Replies: 1
- Views: 526
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...
- Sun Jan 28, 2024 4:37 pm
- Forum: IDEs for ESP-IDF
- Topic: SPI does not work
- Replies: 1
- Views: 2211
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...
- Sun Jan 28, 2024 4:36 pm
- Forum: Hardware
- Topic: SPI does not work
- Replies: 1
- Views: 581
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...
- Sat Jan 27, 2024 3:51 pm
- Forum: Hardware
- Topic: SPI does not work
- Replies: 1
- Views: 581
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...
- Sat Jan 27, 2024 3:49 pm
- Forum: IDEs for ESP-IDF
- Topic: SPI does not work
- Replies: 1
- Views: 2211
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...
- Sat Jan 27, 2024 3:01 pm
- Forum: ESP-IDF
- Topic: SPI does not work
- Replies: 1
- Views: 526
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...