Search found 36 matches

by MattiaBerton
Thu Nov 21, 2024 5:05 pm
Forum: ESP-IDF
Topic: ADC1 readings
Replies: 0
Views: 175

ADC1 readings

Hello, I'm developing an application in which I need to constantly sample data from three different channels, both on ADC1 and ADC2. The three channels are read at a final speed of 7 KHz. What I see is that, while ADC2 is very accurate (around +- 1.5 LSB), ADC1 is less accurate, switch around +-5 LS...
by MattiaBerton
Wed Oct 23, 2024 2:43 pm
Forum: ESP-IDF
Topic: ADC reading issue
Replies: 3
Views: 608

Re: ADC reading issue

Increasing the delay to 35 us I got no error in ADC reading.
However, a strange behaviour appears: I need to write in flash every 20 seconds. While ADC1 in RTC mode works without any problem, ADC2 reads 0 every time I try to write in flash.
Why such a different behaviour?
by MattiaBerton
Wed Oct 23, 2024 9:06 am
Forum: ESP-IDF
Topic: ADC reading issue
Replies: 3
Views: 608

Re: ADC reading issue

I don't check it. I wait more time than needed: I have RTCADC_SARCLK of 5 MHz, so acquisition time should be 5 uS. I wait 20 uS from start of conversion to reading result. But you are right: each time ADC2 fails, it is because of SENS_MEAS2_DONE_SAR is not 1. But I can't understand why 20 uS are not...
by MattiaBerton
Tue Oct 22, 2024 3:41 pm
Forum: ESP-IDF
Topic: ADC reading issue
Replies: 3
Views: 608

ADC reading issue

Hello, I'm having some issue on ADC reading. I have a custom board, where I use both ADC1 and ADC2 with 3 channels each. On a timer interrupt, for each ADC I set the channel and start the ADC: // Select ADC1 channel CLEAR_PERI_REG_MASK(SENS_SAR_MEAS1_CTRL2_REG, SENS_SAR1_EN_PAD_M); // Clear all ADC2...
by MattiaBerton
Wed Jul 31, 2024 2:21 pm
Forum: ESP-IDF
Topic: FPU in Interrupt
Replies: 3
Views: 1246

Re: FPU in Interrupt

I applied your changes, and now it works even with ESP32-S3.
by MattiaBerton
Tue Jul 30, 2024 8:45 am
Forum: ESP-IDF
Topic: FPU in Interrupt
Replies: 3
Views: 1246

FPU in Interrupt

Hello,
I'm using an ESP32-S3. I found that there is not the option "CONFIG_FREERTOS_FPU_IN_ISR", while it is present if I set IDF-TARGET=ESP32. Is there any reason for which there is not such an option? Is there any way to enable?
Thanks!
by MattiaBerton
Wed Jul 17, 2024 2:11 pm
Forum: General Discussion
Topic: ADC2 on ESP32-S3 and digital controller
Replies: 0
Views: 731

ADC2 on ESP32-S3 and digital controller

Hello, I'm using an ESP32-S3, both ADC1 and ADC2 used. I would like to use the digital controller for both of them. I know that ADC2 has some problem, because the digital controller (ADC-DMA) can't be used with ADC2. However, I would not use the DMA, I would work in Interrupt. With Interrupt, is it ...
by MattiaBerton
Thu Jun 13, 2024 8:11 am
Forum: Hardware
Topic: Temperature, Touch and ADC
Replies: 0
Views: 631

Temperature, Touch and ADC

Hello,
I'm using an ESP32-S3 with ADC1 and 2, Touch and Internal temperature. I would like to know if Touch controller and Internal temperature share with ADCs 1 and 2 some sources, i.e. can I drive ADCs to the max speed without being influenced by Touch and Internal temp?
Thanks,
Mattia Berton
by MattiaBerton
Tue Jun 04, 2024 1:56 pm
Forum: ESP-IDF
Topic: Temperature, Touch and ADC
Replies: 0
Views: 499

Temperature, Touch and ADC

Hello,
I'm using an ESP32-S3 with ADC1 and 2, Touch and Internal temperature. I would like to know if Touch controller and Internal temperature share with ADCs 1 and 2 some sources, i.e. can I drive ADCs to the max speed without being influenced by Touch and Internal temp?
Thanks,
Mattia Berton
by MattiaBerton
Fri Jul 28, 2023 1:07 pm
Forum: General Discussion
Topic: ESP32-P4 RISC-V dual core 400 MHz in the news
Replies: 15
Views: 126822

Re: ESP32-P4 RISC-V dual core 400 MHz in the news

Hello,
any news about this new chip? Release date?