What is ADC lock and why it takes so long to read from multiple ADC1 pins?
Posted: Wed May 02, 2018 5:05 pm
Why it takes so long to read from multiple ADC pins? It there a way to make it faster?
uint32_t a1 = adc1_get_raw_custom(ADC1_CHANNEL_4);
uint32_t a2 = adc1_get_raw_custom(ADC1_CHANNEL_5);
uint32_t a3 = adc1_get_raw_custom(ADC1_CHANNEL_6);
uint32_t a4 = adc1_get_raw_custom(ADC1_CHANNEL_7);
I got this serial LOG, when using intrnal ADC1
Using BLE, but not WiFi.
uint32_t a1 = adc1_get_raw_custom(ADC1_CHANNEL_4);
uint32_t a2 = adc1_get_raw_custom(ADC1_CHANNEL_5);
uint32_t a3 = adc1_get_raw_custom(ADC1_CHANNEL_6);
uint32_t a4 = adc1_get_raw_custom(ADC1_CHANNEL_7);
I got this serial LOG, when using intrnal ADC1
Using BLE, but not WiFi.
D (587967) RTC_MODULE: adc mode takes adc1 lock.
D (587970) RTC_MODULE: returns adc1 lock.
D (587974) RTC_MODULE: adc mode takes adc1 lock.
D (587979) RTC_MODULE: returns adc1 lock.
D (587983) RTC_MODULE: adc mode takes adc1 lock.
D (587988) RTC_MODULE: returns adc1 lock.
D (587992) RTC_MODULE: adc mode takes adc1 lock.
D (587996) RTC_MODULE: returns adc1 lock.
D (588000) RTC_MODULE: adc mode takes adc1 lock.
D (588005) RTC_MODULE: returns adc1 lock.
D (588009) RTC_MODULE: adc mode takes adc1 lock.
D (588014) RTC_MODULE: returns adc1 lock.
D (588018) RTC_MODULE: adc mode takes adc1 lock.
D (588023) RTC_MODULE: returns adc1 lock.
D (588027) RTC_MODULE: adc mode takes adc1 lock.
D (588031) RTC_MODULE: returns adc1 lock.