Search found 4 matches

by mnentwig
Mon Jul 01, 2024 7:56 pm
Forum: General Discussion
Topic: esp32-camera/examples missing "PRIV_REQUIRES esp_psram"
Replies: 0
Views: 860

esp32-camera/examples missing "PRIV_REQUIRES esp_psram"

Greetings, I believe the example camera code needs to include "esp_psram" in its top level CMakeLists.txt. Otherwise (on ESP32) it fails to allocate its frame buffer, as the code tries to place it in PSRAM due to CAMERA_FB_IN_PSRAM. Without esp_psram, the PSRAM component does not show for "idf.py me...
by mnentwig
Wed Jun 05, 2024 8:57 pm
Forum: ESP-IDF
Topic: Unable to achieve 10k samples using ADC continuous mode example code for ESP32.
Replies: 2
Views: 637

Re: Unable to achieve 10k samples using ADC continuous mode example code for ESP32.

Hi,

you could have a look at this code sample, below. It doesn't actually use the buffer contents but that part is straightforward (use bits 11..0 of the returned 16 bit data)
https://github.com/mnentwig/ESP32_ADCrate_dbg
by mnentwig
Tue Jun 04, 2024 11:28 am
Forum: General Discussion
Topic: ESP32 continuous ADC sample rate incorrect?
Replies: 4
Views: 1210

Re: ESP32 continuous ADC sample rate incorrect?

... and here is a stripped-down test program (idf.py build flash monitor)
https://github.com/mnentwig/ESP32_ADCrate_dbg
by mnentwig
Tue Jun 04, 2024 9:26 am
Forum: General Discussion
Topic: ESP32 continuous ADC sample rate incorrect?
Replies: 4
Views: 1210

ESP32 continuous ADC sample rate incorrect?

Greetings, this question relates to the ADC on ESP32, observed on two different WROOM-modules. I'm using ESP-IDF 5.2.1, and code is based on "examples\peripherals\adc\continuous_read". It appears to me that the actual ADC sample rate - that is, the amount of generated data in a given time interval -...