Hi, I have a ESP32-CAM I am using for taking pictures. I am also using a PCF8574 for GPIO expansion connected via I2C.
Both the camera and the expansion chip work when ran independently but not at the same time.
I've configured the camera to use I2C Port1 and PCF8574 to use Port0. The code starts with the PCF8574 doing some stuff with LEDs but as soon as it starts the camera init process it fails. It fails when running the SCCB_Probe() function where it detects the model of the connected camera sensor via I2C.
I find this puzzling since they are suppsed to be using separate I2C ports. Hopefuly someone has already been through this
For driving the PCF8574 I am using code from this repo: https://github.com/UncleRus/esp-idf-lib
Camera code: https://github.com/espressif/esp32-camera
ESP32-CAM I2C conflict
Re: ESP32-CAM I2C conflict
Hi!
What do you mean by "fails"? How exactly? Do the pcf8574_...() functions return error codes? Which?
I suggest you write a simple program that uses a camera and pcf8574 and reproduce the error.
Then create an issue in my repository ( https://github.com/UncleRus/esp-idf-lib ), post the source of this program there and we will figure it out.
What do you mean by "fails"? How exactly? Do the pcf8574_...() functions return error codes? Which?
I suggest you write a simple program that uses a camera and pcf8574 and reproduce the error.
Then create an issue in my repository ( https://github.com/UncleRus/esp-idf-lib ), post the source of this program there and we will figure it out.
Who is online
Users browsing this forum: Bing [Bot] and 189 guests