Search found 4 matches

by strangeman
Sat Aug 31, 2024 1:10 am
Forum: ESP-IDF
Topic: How to use software to trigger system reset
Replies: 1
Views: 1255

How to use software to trigger system reset

After my esp32 wakes up from deep-sleep mode in some cases, some RTC-io can't work normally. I hope I can use software to reset this system. esp_restart can only trigger cpu-reset, but can't reset RTC domain.
by strangeman
Sat Oct 22, 2022 8:38 am
Forum: ESP-IDF
Topic: How to dynamically load a function into IRAM
Replies: 0
Views: 786

How to dynamically load a function into IRAM

for example:there are 3 functions,i want call them fast in interrupt,but i don't have enough IRAM, void func1(void){printf("func1");} void func2(void){printf("func2");} void func3(void){printf("func3");} uint8_t IRAM_ATTR share_mem[1024]; typedef void (*func_t)(void) bool IRAM_ATTR interrupt_func(vo...
by strangeman
Mon Mar 28, 2022 9:22 am
Forum: ESP-IDF 中文讨论版
Topic: 使用espnow时怎么获取rssi
Replies: 1
Views: 1691

使用espnow时怎么获取rssi

现在用espnow做项目,要显示信号强度,但我没有找到相应的api,目前发现开启wifi的混杂模式可以接收到数据并获取rssi,但这种方法太占用cpu了
by strangeman
Thu Sep 16, 2021 11:51 am
Forum: ESP-IDF 中文讨论版
Topic: espnow工作时wifi模式的问题
Replies: 1
Views: 2343

espnow工作时wifi模式的问题

我使用两块esp32进行espnow通信,当他们都工作在ap模式或都工作在sta模式时可以正常通信,但是!!!当期中一块工作在ap+sta模式时,另一块工作在sta模式,都使用sta接口进行espnow通信,结果发送出去后另一边收不到,发送的回调函数没有报错,这是为什么?