Search found 4 matches
- Thu Nov 05, 2020 7:01 am
- Forum: ESP-IDF
- Topic: Reading system time in ULP
- Replies: 6
- Views: 4578
Re: Reading system time in ULP
Thanks so much! That works perfectly and I doubt I would have ever figured this out myself! I decided to use the newer macros instead, and this is what I came up with, in case anyone else runs into this: #include "soc/rtc_cntl_reg.h" #include "soc/soc_ulp.h" /* Define variables to go into the .bss s...
- Thu Nov 05, 2020 3:08 am
- Forum: ESP-IDF
- Topic: Reading system time in ULP
- Replies: 6
- Views: 4578
Reading system time in ULP
Hello, I'm trying to access the system time from the ULP. My idea for later is to have the main SoC get the real world time via NTP and store into the RTC slow memory whatever information required to allow the ULP to compute the real world time from the RTC Timer/RTC_SLOW_CLK. But I'm already having...
- Thu Oct 26, 2017 12:48 pm
- Forum: ESP-IDF
- Topic: Addition of multiple characteristics to a BLE service
- Replies: 7
- Views: 15802
Re: Addition of multiple characteristics to a BLE service
Hi, I struggled quite a lot with this as well, but more or less figured it out by trial and error: I suspect you can't add characteristics immediately after each other, but have to wait for the ESP_GATTS_ADD_CHAR_EVT and add the next characteristic or descriptor from the gatts event handler. I can't...
- Thu Oct 26, 2017 11:52 am
- Forum: ESP-IDF
- Topic: adc2_vref_to_gpio with BLE on
- Replies: 0
- Views: 2858
adc2_vref_to_gpio with BLE on
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 matt...