Search found 65 matches

by mm_1993
Tue Mar 14, 2023 7:13 am
Forum: ESP-IDF
Topic: DMA example for UART communication for ESP32
Replies: 20
Views: 38388

Re: DMA example for UART communication for ESP32

Hi does Anyone Run DMA UART? I want to read data from UART0 and transfer it using UART1 and vice versa, I'm using ESP32-C3 Module. I run the uart_events example and uart_async_rxtxtasks example But in the output, I have data loss and missing data. so I need UART DMA. can somebody help? or is there a...
by mm_1993
Mon Feb 27, 2023 12:08 pm
Forum: 《ESP32-C3 物联网工程开发实战》书籍讨论版
Topic: ESP32-C3 - BLE Mesh Fast Prov - BT_OSI: osi_alarm_new alarm_cbs exhausted
Replies: 1
Views: 30775

ESP32-C3 - BLE Mesh Fast Prov - BT_OSI: osi_alarm_new alarm_cbs exhausted

你好 我正在使用 ESP32-C3、ESP-IDF 和 esp32-c3-devkitm-1。 我运行了一个项目示例快速证明服务器示例,并添加了“Store BLE Mesh configuration persistently”以将加入的网络数据存储在 NVS 闪存中到项目中。 我的问题是在将节点加入网络后(我的客户端是 nRF Mesh 移动应用程序),一切正常,但是当我重置 ESP32 并想再次连接到它时,ESP32 重置。 而且我无法再次使用 nRF Mesh Mobile App 加入 ESP32。 所以我必须用一个按钮和这个函数清除 NVS 闪存:esp_ble_mesh_node...
by mm_1993
Mon Feb 27, 2023 12:05 pm
Forum: ESP-IDF 中文讨论版
Topic: BLE Mesh Fast Prov - BT_OSI: osi_alarm_new alarm_cbs exhausted
Replies: 0
Views: 1138

BLE Mesh Fast Prov - BT_OSI: osi_alarm_new alarm_cbs exhausted

你好 我正在使用 ESP32-C3、ESP-IDF 和 esp32-c3-devkitm-1。 我运行了一个项目示例快速证明服务器示例,并添加了“Store BLE Mesh configuration persistently”以将加入的网络数据存储在 NVS 闪存中到项目中。 我的问题是在将节点加入网络后(我的客户端是 nRF Mesh 移动应用程序),一切正常,但是当我重置 ESP32 并想再次连接到它时,ESP32 重置。 而且我无法再次使用 nRF Mesh Mobile App 加入 ESP32。 所以我必须用一个按钮和这个函数清除 NVS 闪存:esp_ble_mesh_node...
by mm_1993
Mon Feb 27, 2023 11:54 am
Forum: ESP-IDF
Topic: BLE Mesh Fast Prov - BT_OSI: osi_alarm_new alarm_cbs exhausted
Replies: 0
Views: 1155

BLE Mesh Fast Prov - BT_OSI: osi_alarm_new alarm_cbs exhausted

Hi I’m using ESP32-C3, ESP-IDF, and esp32-c3-devkitm-1. I run a project example fast prove server example and added the “Store BLE Mesh configuration persistently” to store the joining network data in NVS flash to the project. my problem is after joining the node to the network (my client is nRF Mes...
by mm_1993
Tue Feb 14, 2023 12:15 pm
Forum: ESP-IDF
Topic: NVS Flash - Name of the NVS partition for BLE Mesh
Replies: 1
Views: 1786

NVS Flash - Name of the NVS partition for BLE Mesh

Hi I use ESP32-C3 and IDF when I enable this: in menu config -> component config -> ESP BLE Mesh Support -> "Use a specific NVS partition for BLE Mesh" and "Name of the NVS partition for BLE Mesh" I changed the partitions.csv to: nvs, data, nvs, 0x9000, 0x006000 phy_init, data, phy, 0xf000, 0x001000...
by mm_1993
Sun Feb 12, 2023 12:38 pm
Forum: ESP-IDF
Topic: Store BLE Mesh configuration persistently
Replies: 0
Views: 1350

Store BLE Mesh configuration persistently

Hi we know for save parameters and network configuration we can check the Store BLE Mesh configuration persistently in the menuConfig, and after resetting the ESP32 it's restored automatically. my question is How can I delete the saved configuration and again save this configuration for a node? Is t...
by mm_1993
Wed Feb 08, 2023 7:37 am
Forum: ESP-IDF
Topic: BLE Mesh Node Enable/Disable Joining to network with one Button manually
Replies: 0
Views: 1251

BLE Mesh Node Enable/Disable Joining to network with one Button manually

Hi All Engineer and Programmers I use ESP-IDF4.4 and ESP32-C3 in BLE Mesh Example Node ONOFF Server : https://github.com/espressif/esp-idf/blob/master/examples/bluetooth/esp_ble_mesh/ble_mesh_node/onoff_server/main/main.c in this example, you can find the Node automatically with any BLE-Mesh Apps af...
by mm_1993
Sun Feb 27, 2022 11:14 am
Forum: ESP-IDF
Topic: ESP-IDF VSCode installing error
Replies: 1
Views: 2621

ESP-IDF VSCode installing error

Hi before it I had idf ver 4.3 then I delete All file and clone master repo from github so installing is ok I test it in offline and online mode and I Can build and compile sample in terminal but when I want to config VSCode idf extension it's impossible !!!!! I try different way from youtube or oth...
by mm_1993
Wed Feb 23, 2022 11:42 am
Forum: ESP-IDF
Topic: Timer/Counter with ZeroCross for dimmer
Replies: 3
Views: 4042

Re: Timer/Counter with ZeroCross for dimmer

You don't need create your own timers to dim an LED. The ESP chips have dedicated hardware to dim LEDs. See the LED Control driver for more details. thank you I will check it but I want to use Triac for dimm and triac need a sync pulse signal with zerocross so this is my idea that when any zerocros...
by mm_1993
Wed Feb 23, 2022 8:10 am
Forum: ESP-IDF
Topic: Timer/Counter with ZeroCross for dimmer
Replies: 3
Views: 4042

Re: Timer/Counter with external pulse

this is my code : Edited !! #include <stdio.h> #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "freertos/queue.h" #include "driver/timer.h" #include "esp_log.h" #include <string.h> #include <unistd.h> #include "esp_timer.h" #include "esp_sleep.h" #include "sdkconfig.h" #include "d...