Search found 2 matches

by akira.matsuda
Sun Aug 19, 2018 5:21 pm
Forum: General Discussion
Topic: Doesn't work VSPI and I2C at same time.
Replies: 3
Views: 6657

Re: Doesn't work VSPI and I2C at same time.

Thank you for your reply.

I don't use quad mode.
The following code is my setting of spi_bus_config_t.

Code: Select all

bus_config.quadwp_io_num = -1; // Not used
bus_config.quadhd_io_num = -1; // Not used
bus_config.flags = (SPI_DEVICE_TXBIT_LSBFIRST | SPI_DEVICE_RXBIT_LSBFIRST | SPI_DEVICE_NO_DUMMY)
by akira.matsuda
Sat Jul 28, 2018 8:55 pm
Forum: General Discussion
Topic: Doesn't work VSPI and I2C at same time.
Replies: 3
Views: 6657

Doesn't work VSPI and I2C at same time.

Hi, I got a problem and want to know the reason of this weird behavior of esp-idf or esp32. The problem occurs when I connect sensors with SPI and I2C, VSPI and I2C both at same time. When I assign these pins for SPI and I2C, esp32 could not read datas from I2C sensor because of I2C command time out...