Search found 15 matches

by rwj112358
Mon Feb 28, 2022 7:16 am
Forum: ESP-IDF 中文讨论版
Topic: ESP32唤醒源
Replies: 1
Views: 1656

ESP32唤醒源

请问ESP32是否支持GPIO边缘触发唤醒,例如GPIO下降沿触发或者上升沿触发。
by rwj112358
Tue Feb 15, 2022 3:34 am
Forum: ESP-IDF 中文讨论版
Topic: spi flash 读写
Replies: 0
Views: 1324

spi flash 读写

在ESP32中,使用esp_ota_write()来写flash,并将返回值打印出来。却出现了如下结果: [11:21:07.083] [0;31mE (108967) esp_ota_ops: OTA image has invalid magic byte (expected 0xE9, saw 0x00)[0m [11:21:07.083] [11:21:07.083] flash status: 5379 这个5379是啥意思,flash写是出现了什么问题。 使用OTA写函数如下: write_status=esp_ota_write( update_handle, (const vo...
by rwj112358
Mon Feb 14, 2022 7:59 am
Forum: ESP-IDF
Topic: Esp32 serial port online upgrade
Replies: 0
Views: 1469

Esp32 serial port online upgrade

I wonder whether Esp32 could be upgraded by serial port online.I have learnt the esp-serial-flasher-master routine which finished by serial port offline from MCU.Now I need to finish the serial port online from STM32 to esp32 because the connection of STM32 and esp32 has been limit to two IO(rx and ...
by rwj112358
Mon Feb 14, 2022 12:21 am
Forum: ESP-IDF 中文讨论版
Topic: ESP32串口(OTA)升级
Replies: 1
Views: 1861

ESP32串口(OTA)升级

请问ESP32是否支持串口在线升级。对OTA升级例程进行修改,将http传输改为串口传输,是否可行。
by rwj112358
Wed Jan 26, 2022 6:18 am
Forum: ESP-IDF 中文讨论版
Topic: [已解决] ESP32-S蓝牙透传功率设置
Replies: 2
Views: 5018

Re: ESP32-S蓝牙透传功率设置

谢谢,是硬件问题,天线那里的电阻在外接天线那边。
by rwj112358
Wed Jan 26, 2022 6:08 am
Forum: ESP-IDF 中文讨论版
Topic: ESP32串口升级
Replies: 0
Views: 2670

ESP32串口升级

请问ESP32是否支持串口在线升级。ESP32通过串口接收升级程序,然后bootloader从指定flash分区将升级程序读出来再写到app分区。即不同于esp-serial-flasher-master中使用io口映射IO0和reset引脚。因实际接口中ESP32部分和主MCU之间的接口已经定义好,无扩展引脚。请问能否对boot loader进行修改以达到在只有串口引脚rx和tx的情况下实现主MCU对ESP32的升级。
by rwj112358
Mon Dec 20, 2021 8:12 am
Forum: ESP-IDF
Topic: Stm32f205 and esp32 serial port communication failure
Replies: 2
Views: 3703

Stm32f205 and esp32 serial port communication failure

The following problems were found during serial communication between stm32f205 and esp32: 1. The data received by the two are sometimes complete and sometimes combined with several frames of data. 2.The real-time performance of serial communication cannot be guaranteed。 Stm32f205 serial port: Using...
by rwj112358
Thu Dec 16, 2021 1:53 am
Forum: ESP-IDF 中文讨论版
Topic: stm32f205和esp32uart2串口通讯故障
Replies: 2
Views: 4630

Re: stm32f205和esp32uart2串口通讯故障

谢谢解答,请问使用中断接收可以吗,是否有中断接收的例子。
by rwj112358
Wed Dec 15, 2021 12:52 pm
Forum: ESP-IDF 中文讨论版
Topic: stm32f205和esp32uart2串口通讯故障
Replies: 2
Views: 4630

stm32f205和esp32uart2串口通讯故障

在使用stm32f205和esp32之间进行串口通讯时发现以下问题: 1.两者接收的数据有时完整,有时是几帧数据合并的。 2.测量api函数uart_read_bytes的运行时间大于接收超时时间,接收超时时间设置为50ms,测量最小50ms,最大到了96ms。 stm32f205串口: 使用dma进行收据收发,可以保证通讯速度,50ms收发一次,数据长度小于20字节,长度不定,波特率9600。 esp32串口: 在串口同时收发的例程上进行修改,在收到一定字符才会发送。使用uart2,rx_buffer设置为2048,tx_buffer为0。波特率为9600,uart_read_bytes进行...
by rwj112358
Sat Dec 04, 2021 8:06 am
Forum: ESP-IDF 中文讨论版
Topic: ESP32S串口读到的是自己发的
Replies: 1
Views: 4276

ESP32S串口读到的是自己发的

我用esp32的串口和Stm32F407串口通讯,通过TJA转CAN。结果esp32串口读到的一直是自己发的数据,各位大神给我看看哪里有问题么