Search found 16 matches
- Wed Nov 16, 2022 5:56 am
- Forum: ESP-IDF
- Topic: esp32 s2 riscv ulp stuck
- Replies: 3
- Views: 2888
esp32 s2 riscv ulp stuck
Hi, I was testing the existing ulp riscv interrupt sample for the esp32s2, i just added to it a led blink code to see a blink from ulp riscv before going to halt mode. it works 1 or 3 times ,then freezes.; here is the code (Board is esp32 s2 Mini ) ESP IDF rel 5.0 https://www.wemos.cc/en/latest/_sta...
- Sat Oct 13, 2018 4:08 pm
- Forum: General Discussion
- Topic: ADC speed?
- Replies: 30
- Views: 91487
Re: ADC speed?
No: - The sample depth is the I2S sample depth you specify when initializing the driver, most likely you use 16bit/sample. - You need to divide, so 6000 samples/s and 16 bit means 6000/16=375. here is a small test code , i think i2s driver is not reliable. Whit this code i can read 5.977 (less than...
- Sat Oct 13, 2018 11:20 am
- Forum: ESP32 Arduino
- Topic: 0dB attenuaton (ADC_ATTEN_DB_0)
- Replies: 3
- Views: 10968
Re: 0dB attenuaton (ADC_ATTEN_DB_0)
Attenuation refers to the amount an voltage signal is scaled down before being input into the ADC. The ADC's can ideally only measure voltages between 0 to 1100mV. Therefore to measure voltages larger than 1100mV, an input voltage can be scaled down such that it is within the 0 to 1100mV range henc...
- Thu Oct 04, 2018 11:06 am
- Forum: General Discussion
- Topic: ADC speed?
- Replies: 30
- Views: 91487
Re: ADC speed?
So you mean to read 6ksps from adc 12bit per sample, should i set i2c sampling frequency to the 12x6 = 72khz ?ESP_Sprite wrote:From my notes, the sample rate you have to set for ADC acquisition on the current esp-idf is (actual_sample_rate)/(bits_per_sample).
- Wed Oct 03, 2018 2:58 pm
- Forum: General Discussion
- Topic: What would you like to see in The Next Chip?
- Replies: 443
- Views: 938313
Re: What would you like to see in The Next Chip?
i think first off all you need better documentation as like stm32 , Documents are really hard to understand even you dont have some basic specs like adc max sampling rate etc etc... My dream features ; - Good and reliable documentation,datasheet,reference etc.. - Boot from sdcard by hardware. - Adc ...
- Wed Oct 03, 2018 2:46 pm
- Forum: General Discussion
- Topic: ADC speed?
- Replies: 30
- Views: 91487
Re: ADC speed?
How to set adc sampling rate when we get data via I2S ? As we can see I2S uses WS signal to sample adc , so what is the relation with
i2s_config.sample_rate = 120KHz; and ws signal ? is I2S sampling rate frequency of WS signal or frequency of i2s clock signal ?
i2s_config.sample_rate = 120KHz; and ws signal ? is I2S sampling rate frequency of WS signal or frequency of i2s clock signal ?
- Tue Oct 02, 2018 2:57 pm
- Forum: ESP32 Arduino
- Topic: 0dB attenuaton (ADC_ATTEN_DB_0)
- Replies: 3
- Views: 10968
0dB attenuaton (ADC_ATTEN_DB_0)
Hello, In adc.h file there is such notes ; The default ADC full-scale voltage is 1.1V. To read higher voltages (up to the pin maximum voltage, * usually 3.3V) requires setting >0dB signal attenuation for that ADC channel. * * When VDD_A is 3.3V: * * - 0dB attenuaton (ADC_ATTEN_DB_0) gives full-scale...
- Tue Oct 02, 2018 2:47 pm
- Forum: ESP32 Arduino
- Topic: ??? I2S data from GPIO matrix signal ???
- Replies: 0
- Views: 3066
??? I2S data from GPIO matrix signal ???
Hello ,
enum adc_i2s_source_t
What is the meaning of I2S data from GPIO matrix signal ? in adc.h file ?
What is it for ? Which register's which bit is it?
enum adc_i2s_source_t
Code: Select all
Values:
ADC_I2S_DATA_SRC_IO_SIG = 0
I2S data from GPIO matrix signal
What is it for ? Which register's which bit is it?
- Sat Sep 29, 2018 4:31 pm
- Forum: Report Bugs
- Topic: Unexpectedly low floating-point performance in C
- Replies: 28
- Views: 160222
Re: Unexpectedly low floating-point performance in C
So what is the result ? Did you tried suggestion ?
- Sun Sep 02, 2018 8:40 am
- Forum: ESP32 Arduino
- Topic: when is going to be implemented for I2S ADC DMA ?
- Replies: 4
- Views: 7540
Re: when is going to be implemented for I2S ADC DMA ?
But this version does not allow to use i2s for adc ,doesnt it?ESP_igrr wrote:To install Arduino for ESP32, follow these instructions: https://github.com/espressif/arduino-es ... manager.md