Search found 12 matches

by Eltrion
Mon Jul 01, 2024 4:44 pm
Forum: ESP-IDF
Topic: Can we obtain the number of pulses that have already been emitted when using the RMT transmission pulse sequence of EPS3
Replies: 4
Views: 998

Re: Can we obtain the number of pulses that have already been emitted when using the RMT transmission pulse sequence of

I am hoping to use the RMT module of the ESP32-S2 to send a fixed number of PWM waves and use the cyclic transmission mode of the RMT module. When the cyclic transmission mode is activated and the transmission starts, is it possible to get the number of cycles sent in real time from the program? No...
by Eltrion
Mon Jul 01, 2024 10:24 am
Forum: ESP-IDF
Topic: Can we obtain the number of pulses that have already been emitted when using the RMT transmission pulse sequence of EPS3
Replies: 4
Views: 998

Re: Can we obtain the number of pulses that have already been emitted when using the RMT transmission pulse sequence of

You can check all these docs: https://docs.espressif.com/projects/esp-idf/en/v4.3/esp32/api-reference/peripherals/rmt.html https://github.com/husarnet/esp-idf/blob/master/components/driver/include/driver/rmt.h https://github.com/ExploreEmbedded/ESP32_RMT/blob/master/rmt.h Hello,I have reviewed thes...
by Eltrion
Sat Jun 29, 2024 4:44 pm
Forum: ESP-IDF
Topic: Can we obtain the number of pulses that have already been emitted when using the RMT transmission pulse sequence of EPS3
Replies: 4
Views: 998

Can we obtain the number of pulses that have already been emitted when using the RMT transmission pulse sequence of EPS3

I hope to use the RMT module of ESP32-S2 to send a fixed number of PWM waves, and use the cyclic transmission mode of the RMT module. When the cyclic transmission mode is enabled and transmission begins, can the number of cycles that have been sent be obtained in real-time in the program?
by Eltrion
Sun May 05, 2024 2:40 pm
Forum: ESP-IDF 中文讨论版
Topic: 请问ESP32-S2在efuse中将boot信息打印通道切换到UART1之后如何烧录程序
Replies: 0
Views: 831

请问ESP32-S2在efuse中将boot信息打印通道切换到UART1之后如何烧录程序

我将ESP32-S2的efuse位EFUSE_UART_PRINT_CHANNEL置1后,将boot信息打印切换到UART1,现在无法使用UART0烧录程序,连接UART1有boot信息打印,但是也无法烧录程序
by Eltrion
Tue Feb 20, 2024 11:53 am
Forum: ESP-IDF 中文讨论版
Topic: ESP32-S2启用UART安全下载模式后是否还能通过UART烧录程序
Replies: 0
Views: 857

ESP32-S2启用UART安全下载模式后是否还能通过UART烧录程序

在ESP32-S2的技术参考手册的116页中说 使能 UART 安全下载模式(仅支持读写 flash) 但是在ESP-IDF编程指南中的安全指南部分介绍说 该模式将限制部分涉及更新 SPI 配置的命令,如更改波特率、基本的 flash 写入以及通过 get_security_info 返回当前启用的安全功能摘要。 实际测试后是无法将固件写入flash D:\Espressif\frameworks>esptool.py --no-stub --chip esp32s2 -p com3 write_flash 0x1000 key_boot.bin --force esptool.py v4.7...
by Eltrion
Thu Jan 25, 2024 2:36 pm
Forum: ESP-IDF 中文讨论版
Topic: 在使用ESP32-S2的flash加密功能时,预先烧录了主机上的秘钥,然后在主机上使用秘钥预先加密固件后再烧录进ESP32-S2无法运行
Replies: 3
Views: 2043

在使用ESP32-S2的flash加密功能时,预先烧录了主机上的秘钥,然后在主机上使用秘钥预先加密固件后再烧录进ESP32-S2无法运行

我先在主机上自己编写了一个秘钥key.bin,然后将它烧录到ESP32-S2上 PS D:\ESP-IDF\test\hello_world> D:\ESP-IDF\.espressif\python_env\idf5.1_py3.8_env\Scripts\python.exe D:\ESP-IDF\esp-idf\components\esptool_py\esptool\espefuse.py --port COM22 burn_key BLOCK_KEY0 key.bin XTS_AES_128_KEY espefuse.py v4.6.2 Connecting.... Detecti...
by Eltrion
Wed Dec 06, 2023 1:01 am
Forum: ESP-IDF 中文讨论版
Topic: ESP32-S3使用tcp_server例程,并将网络数据和串口数据透传延迟过高
Replies: 2
Views: 17721

Re: ESP32-S3使用tcp_server例程,并将网络数据和串口数据透传延迟过高

ralfak wrote:
Tue Dec 05, 2023 4:00 pm
应该是无线网的问题,你ping一下试试,一来一回都是上百ms,而且wifi这个东西是半双工的
你好,我同时也试了不使用wifi,使用esp32s2+w5500通过有线以太网建立tcp服务器,延迟也基本是在60-100ms,连续发送数据的话延迟会更高,ping的延迟是2ms以内。
by Eltrion
Mon Nov 20, 2023 3:37 pm
Forum: ESP-IDF 中文讨论版
Topic: ESP32-S3使用tcp_server例程,并将网络数据和串口数据透传延迟过高
Replies: 2
Views: 17721

ESP32-S3使用tcp_server例程,并将网络数据和串口数据透传延迟过高

使用tcp_server例程修改,将tcp数据与串口数据进行透传,串口→tcp的数据延迟很低,基本都在10ms以内,但是tcp→串口的数据延迟就很高,会达到100ms以上,回环测试的延迟也在60ms以上,通过逻辑分析仪抓取到大部分时间耗费在recv函数上,请问下这种问题是在idf里普遍存在的还是我的工程设置有问题或者环境原因?但是在使用modbus TCP例程的时候,返回数据的延迟却特别低,基本都在5ms以内。 以下是代码,工程由v5.1创建 /* BSD Socket API Example This example code is in the Public Domain (or CC0 ...