Search found 4 matches

by Katagia
Sat Sep 28, 2024 8:33 am
Forum: Hardware
Topic: Can't use I2C and SPI at the same time
Replies: 2
Views: 982

Re: Can't use I2C and SPI at the same time

I found the problem, is is related to the w5500 code.
I didn't explicit set the RST pin to no pin.
There seems to be a default pin which colided with my i2c.
After setting the RST pin explicit to "-1" it's working.
by Katagia
Tue Sep 24, 2024 6:02 am
Forum: Hardware
Topic: Can't use I2C and SPI at the same time
Replies: 2
Views: 982

Re: Can't use I2C and SPI at the same time

I used a 100R resistor and current meter to tie SDA to ground. I measured 25mA. That means the pin is active driven. I measured all pins of my ESP32-S3 module against SDA. None is connected to it.
by Katagia
Mon Sep 23, 2024 9:50 pm
Forum: Hardware
Topic: Can't use I2C and SPI at the same time
Replies: 2
Views: 982

Can't use I2C and SPI at the same time

Hi I use an ESP32-S3, I2C and SPi. IO4: I2C_INT IO5: SDA IO6: SCL IO7: SPI_CS IO16: SPI_INT IO11: MOSI IO12: SCK IO13: MISO There is several periphery connected to I2C and a W5500 to SPI. The order in the code is: Initialize SPI master Initialize I2C master Initialize I2C peripheral So far, it's wor...
by Katagia
Fri Aug 16, 2024 10:13 am
Forum: Hardware
Topic: esp_light_sleep_start causes ESP_ERR_INVALID_STATE
Replies: 1
Views: 961

esp_light_sleep_start causes ESP_ERR_INVALID_STATE

Hi I use an ESP32-S3 board with LCD and GT911 touch. I want to use the light sleep function. The touch IRQ should be used for wakeup. I use this shortend core, similar to the GPIO example for light sleep: gpio_config_t config = { .pin_bit_mask = (1ULL<<GPIO_NUM_4), .mode = GPIO_MODE_INPUT, .pull_dow...