adc2_vref_to_gpio with BLE on

badaboum
Posts: 4
Joined: Thu Oct 26, 2017 11:18 am
Location: Singapore

adc2_vref_to_gpio with BLE on

Postby badaboum » Thu Oct 26, 2017 11:52 am

Hello,

I'm trying to measure the reference voltage for ADC calibration using adc2_vref_to_gpio(27).

However, this only seems to work until I call esp_bt_controller_enable(ESP_BT_MODE_BTDM). Afterwards, the pin just seems to be floating.

adc2_vref_to_gpio(27) still returns ESP_OK in any case, no matter if it is called before or after esp_bt_controller_enable(ESP_BT_MODE_BTDM).

Is this expected behaviour? Is there a workaround? I'd like for the user to enter the measured reference voltage directly via a BLE app after measuring, so I was hoping to just keep the Vref routing permanently.

Thank you and kind regards.

Who is online

Users browsing this forum: Bing [Bot] and 278 guests