Search found 2 matches
- Sun Jan 31, 2021 5:33 pm
- Forum: ESP-IDF
- Topic: ESP32S2 ADC with DMA(Adc Digital Controller)
- Replies: 6
- Views: 11190
Re: ESP32S2 ADC with DMA(Adc Digital Controller)
Maybe some early observation: 1) The LSB of the sampled data is never toggeling. It seems like 11bit and 12 bit conversion mode are essentially the same, while the 12 bit mode only adds a 0 at the end. Could someone from espressif maybe comment on that? 2) In a quick trial it seems like even 40 MHz ...
- Sun Jan 31, 2021 11:27 am
- Forum: ESP-IDF
- Topic: ESP32S2 ADC with DMA(Adc Digital Controller)
- Replies: 6
- Views: 11190
Re: ESP32S2 ADC with DMA(Adc Digital Controller)
Hi, with help of the technical manual, the driver source code, and some guess work I was able to get it running. See function below (I use it together with Arduino framework). I was not able to use funtion "spi_slave_hd_get_trans_res" to wait for the sampling to finish (always got a timeout), instea...