ADC2 support
ADC2 support
Hello,
anyone is able to make an estimation for ADC2 support? I noticed in the programming guide that actually only ADC1 is supported. A simple time estimation would be nice.
Thank you!
frax
anyone is able to make an estimation for ADC2 support? I noticed in the programming guide that actually only ADC1 is supported. A simple time estimation would be nice.
Thank you!
frax
Re: ADC2 support
you can try this in the meantime, read the notes in the comments.frax84 wrote:Hello,
anyone is able to make an estimation for ADC2 support? I noticed in the programming guide that actually only ADC1 is supported. A simple time estimation would be nice.
Thank you!
frax
best wishes
rudi
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪
Re: ADC2 support
Wow, thanks for the quick and useful reply!
I'll give it a shot!
frax
I'll give it a shot!
frax
Re: ADC2 support
Hello again,
i would like to ask an info about the ADC2 support.
From the issue linked by rudi:
ESPrite:
"we're a bit hesitant to make ADC2 available because it is also used for pretty important control loops inside the WiFi (and maybe BT, I don't remember) drivers. We want to make sure there's no chance of these and the user ADC calls to interfere with each other."
For the project i'm working on ADC2 is an important element (i would need a total of 12 ADC channels) and i use BLE to transfer data. I would like to know if ADC2 pins are used for BT control loops or not.
Thanks,
frax
i would like to ask an info about the ADC2 support.
From the issue linked by rudi:
ESPrite:
"we're a bit hesitant to make ADC2 available because it is also used for pretty important control loops inside the WiFi (and maybe BT, I don't remember) drivers. We want to make sure there's no chance of these and the user ADC calls to interfere with each other."
For the project i'm working on ADC2 is an important element (i would need a total of 12 ADC channels) and i use BLE to transfer data. I would like to know if ADC2 pins are used for BT control loops or not.
Thanks,
frax
Re: ADC2 support
We are working on implementing this. This is a bit tricky because the arbitration mechanism needs to handle different scenarios (different WiFi throughput, ADC polling frequency) and we want to make sure that we still get reasonable performance in all cases. Will update the corresponding Github issue when we have it working.
Re: ADC2 support
Yes, the problem is clear...but i don't need the wifi.
I want to know if there is the same problem with bluetooth.
I want to know if there is the same problem with bluetooth.
Re: ADC2 support
This is starting to be frustrating
I'm stuck with this until i get an easy answer: are the pins of ADC2 used for BT control loops? Can i use them for ADC2 if i don't use WiFi?
I'm stuck with this until i get an easy answer: are the pins of ADC2 used for BT control loops? Can i use them for ADC2 if i don't use WiFi?
Re: ADC2 support
No, ADC2 is not used for BT. If you don't use WiFi (i.e. don't call esp_wifi_init), you should be able to use ADC2.
Who is online
Users browsing this forum: No registered users and 92 guests