Search found 2 matches

by isluca
Thu Apr 16, 2020 6:53 pm
Forum: General Discussion
Topic: Hall sensor readout during ULP and normal power mode
Replies: 3
Views: 4561

Re: Hall sensor readout during ULP and normal power mode

Hi Thanks for the tip. I tried to add the adc1_ulp_enable(); adc1_config_width(ADC_WIDTH_BIT_12); printf("Hall Sens: %d\n", hall_sensor_read()); adc1_ulp_enable(); esp_deep_sleep_start(); works fine. The ulp wake up will reliably work for >20 sleep-wake cycles However if I use the following code the...
by isluca
Wed Apr 15, 2020 9:59 pm
Forum: General Discussion
Topic: Hall sensor readout during ULP and normal power mode
Replies: 3
Views: 4561

Hall sensor readout during ULP and normal power mode

Hi I'm trying to use the hallsensor to wake up my esp32 from deepsleep. For this I use this example https://github.com/espressif/esp-iot-solution/tree/master/examples/ulp_examples/ulp_hall_sensor On it's own this works fine. However, as soon as I've read out the hall sensor when the esp32 is awake u...