Search found 13 matches

by x_arrange
Sat Oct 05, 2024 3:41 pm
Forum: ESP-IDF
Topic: BT API support for C++
Replies: 3
Views: 1483

Re: BT API support for C++

Generally you may be right. But using C++ code adds so much to readability and clearness fo code. I want to wrap all BT function into a class where callback will be static member with class pointer passed to it as user parameter as it can be easily done to all other APIs of ESP32. Sadly, many years ...
by x_arrange
Mon Aug 26, 2024 6:36 pm
Forum: ESP-IDF
Topic: BT API support for C++
Replies: 3
Views: 1483

BT API support for C++

Hi, Dear IDF authors, this problem exists like since forever. I wan't to write simple app on C++ but GAP/GATTS API doesn't support it. :cry: I'm talking about event handlers. Why esp_event_handler_register has custom arg parameter while neither esp_ble_gap_register_callback nor esp_ble_gatts_registe...
by x_arrange
Fri Feb 09, 2024 12:19 pm
Forum: ESP-IDF
Topic: xTaskNotifyFromISR / xTaskNotifyWait pair causes error
Replies: 4
Views: 1272

Re: xTaskNotifyFromISR / xTaskNotifyWait pair causes error

Aparently as suggested by Sudeep (https://github.com/espressif/esp-idf/is ... 1935791232) just need to remove ESP_INTR_FLAG_EDGE flag
by x_arrange
Fri Feb 09, 2024 7:15 am
Forum: ESP-IDF
Topic: xTaskNotifyFromISR / xTaskNotifyWait pair causes error
Replies: 4
Views: 1272

Re: xTaskNotifyFromISR / xTaskNotifyWait pair causes error

ESP_Sprite wrote:
Fri Feb 09, 2024 2:19 am
You install the ISR before starting the task. This means that the ISR can trigger before TaskBTNReset is initalized.
1. No it cann't untill I press the button - I have pulldown.
2. Same error if I start task before interrupt init.
by x_arrange
Thu Feb 08, 2024 8:48 pm
Forum: ESP-IDF
Topic: xTaskNotifyFromISR / xTaskNotifyWait pair causes error
Replies: 4
Views: 1272

xTaskNotifyFromISR / xTaskNotifyWait pair causes error

Hi all, I want to make my ESP32-C3 to restart when I press button connected to GPIO4. Here is my code static TaskHandle_t taskBTNReset; static void IRAM_ATTR reset_button_isr_handler(void* arg) { xTaskNotifyFromISR( taskBTNReset, 0, eNoAction, NULL); } static void task_btn_reset(void* param) { print...
by x_arrange
Wed Feb 02, 2022 8:54 am
Forum: Hardware
Topic: ESP32-PICO-D4 and 1.8V
Replies: 4
Views: 4231

Re: ESP32-PICO-D4 and 1.8V

Yes, that's what I thought. Thanks for confirming.
Since I'll be the first who's trying will update here about results :)

The GPIOs that you mentioned are 5, 18, 21, 22 and 23. Right?
by x_arrange
Tue Feb 01, 2022 6:07 pm
Forum: Hardware
Topic: ESP32-PICO-D4 and 1.8V
Replies: 4
Views: 4231

Re: ESP32-PICO-D4 and 1.8V

anybody? ;)
by x_arrange
Fri Jan 28, 2022 10:49 pm
Forum: Hardware
Topic: ESP32-PICO-D4 and 1.8V
Replies: 4
Views: 4231

ESP32-PICO-D4 and 1.8V

Hi all,

I'm want to connect ESP32-PICO-D4 to 1.8V peripheral but I'm a bit confused.

Is it possible to provide 3.3V only for VDDA and VDDA3P3 and 1.8V to VDD3P3_CPU so that GPIO's be 1.8V ?
by x_arrange
Fri Mar 12, 2021 9:51 am
Forum: Hardware
Topic: ESP32-WROOM(U): connecting external PSRAM
Replies: 1
Views: 3234

ESP32-WROOM(U): connecting external PSRAM

Hi, Acctording to menuconfig ESP32 supports two ttypes of PSRAM: IS25WP032 and LY68L6400. I didn't find where to by the second one so I decided to use the first one but obviously in 3.3V version (IS25 L P032) since i'm connecting to to 3.3V ESP32 module. Particularly IS25LP032D-JKLE ( PDF ) So far I...
by x_arrange
Wed Feb 13, 2019 8:34 am
Forum: Hardware
Topic: What is the purpose of VDD3P3_RTC pin in ESP32-PICO-D4 ?
Replies: 3
Views: 7029

What is the purpose of VDD3P3_RTC pin in ESP32-PICO-D4 ?

I want to understand how to keep RTC clock working while chip logic is off(if possible)

if I connect VDD3P3_RTC to 3.3V supercapacitor/battery would it be enough? Do I need also to provide 3.3V to CHIP_PU?