ESP-Wroom-32D external ADC - SPI or I2C?
Posted: Tue Feb 25, 2020 9:24 pm
Hello everyone,
I am struggling with a huge problem (for my inexperience)!
I am using a ESP-Wroom-32D ad I'm making my own PCB.
I need to acquire at 1000Hz analog signals form external sensors and I noticed that the ESP32's adc is not very usable for high precision measures. So, I decided to use an external ADC.
At the moment I have connected to the module the following devices:
- SD card through HSPI pins (25MHz)
- Gyroscope sensor through I2C (Wire in 400kHz mode)
- Some button and led to the GPIOs
The main question are: Which is the most convenient way in term of performances to connect the ADC?
1) I2C shared bus (at 400kHz) between the ADC and the gyro?
2) I2C with dedicated SDA and SCL for gyro and other two dedicated SDA and SCL pin for the ADC? (Both at 400kHz)
3)VSPI?
Thank you!
Harry
I am struggling with a huge problem (for my inexperience)!
I am using a ESP-Wroom-32D ad I'm making my own PCB.
I need to acquire at 1000Hz analog signals form external sensors and I noticed that the ESP32's adc is not very usable for high precision measures. So, I decided to use an external ADC.
At the moment I have connected to the module the following devices:
- SD card through HSPI pins (25MHz)
- Gyroscope sensor through I2C (Wire in 400kHz mode)
- Some button and led to the GPIOs
The main question are: Which is the most convenient way in term of performances to connect the ADC?
1) I2C shared bus (at 400kHz) between the ADC and the gyro?
2) I2C with dedicated SDA and SCL for gyro and other two dedicated SDA and SCL pin for the ADC? (Both at 400kHz)
3)VSPI?
Thank you!
Harry