Hi,
I've developed a custom board which integrate an ESP32-WROVER-IE. During the PCB testing I noticed a noise in the I2C bus. The noise seems to be correlated to ADC acquisitions. I would like to find out what's the cause of this phenomenon and possibly solve it.
For simplicity, I replicated the same behavior by using an ESP32-DevKitC-32UE and activating only I2C and ADC peripherals.
For this purpose I've used the following pins:
- IO25 --> SDA
- IO26 --> SCL
- IO34 --> ANALOG INPUT
Here below I'm adding some code screenshots.
The noise on the I2C bus seems to be synchronous to the periodic task.
Hardware-side, the only things I've added to the ESP32-DevKitC-32UE were two 10k pullup resistor between SDA/SCL and +3V3 supply.
The following images are some oscilloscope captures that highlight the noise present in the I2C bus. Specifically, the oscilloscope probe was placed between the SDA and GND lines:
Have any of you encountered the phenomenon I described?
Noise in I2C bus during ADC acquisition
-
- Posts: 2
- Joined: Fri Sep 22, 2023 7:59 pm
Noise in I2C bus during ADC acquisition
Last edited by Nicola Bizzotto on Mon Sep 25, 2023 7:19 am, edited 1 time in total.
-
- Posts: 1735
- Joined: Mon Oct 17, 2022 7:38 pm
- Location: Europe, Germany
Re: Noise in I2C bus during ADC acquisition
Seriously?I'm adding some code screenshots
Also, I can't see/access any of the images in your post.
-
- Posts: 2
- Joined: Fri Sep 22, 2023 7:59 pm
Re: Noise in I2C bus during ADC acquisition
Sorry. I've now edited my original post to make the images accessible.MicroController wrote: ↑Sun Sep 24, 2023 10:19 pmSeriously?I'm adding some code screenshots
Also, I can't see/access any of the images in your post.
Thank you for the feedback.
Last bumped by Nicola Bizzotto on Mon Oct 09, 2023 8:42 am.
Who is online
Users browsing this forum: No registered users and 102 guests