Skip to content

second I2C not working when WiFi is in use #4760

Closed
@riccalisci

Description

@riccalisci

Hardware:

Board: ESP32 Dev Module
Core Installation version: 1.0.3
IDE name: Arduino IDE
Flash Frequency: 40Mhz
PSRAM enabled: no
Upload Speed: 115200
Computer OS: Windows 10

Description:

I trying to use two I2C at the same time. the first on pins 21 and 22 (hardware I2C pins), the second one on 27 and 13.
Everithigs works perfectly if i don't use wifi connection. The problem seems in declaration "WiFi.mode(WIFI_STA);" (the same ADC2 problem right?).

When power on Wifi, the second i2c (27,13) not working. I tryed to change pin, but nothing change. I use ADS1115 on the first I2C and BH1750 on second.
If i connected both sensor on first I2C (standard 21,22) works also when wifi is on.

It's not possible use two different i2c and wifi connection at the same time?
thanks a lot.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: StaleIssue is stale stage (outdated/stuck)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions