Search found 13 matches

by Charles_Wen
Wed Jun 07, 2023 3:58 am
Forum: ESP-IDF
Topic: ESP32S3: When GPIO9 configured to ADC1_CH8, GPIO21 can't work
Replies: 0
Views: 544

ESP32S3: When GPIO9 configured to ADC1_CH8, GPIO21 can't work

On ESP32S3, IDF version is ESP-IDF v5.0-dev-75-g1561fbd2c5-dirty 2nd stage bootloader. If GPIO9 configured to ADC1_CH8, then GPIO21 configured to OUTPUT, high level, in can't output high level voltage.
by Charles_Wen
Fri Feb 03, 2023 11:31 am
Forum: ESP-IDF
Topic: How do I create new partition when running App code?
Replies: 2
Views: 1513

How do I create new partition when running App code?

I need create new partition when running App code. Because the new version firmware need a "storage" partition used for SPIFFS, the old firmware didn't create this partition. And the products which burned the old firmware could only update the firmware by OTA. So I want to create new partition in Ap...
by Charles_Wen
Tue Oct 11, 2022 12:39 pm
Forum: ESP-IDF 中文讨论版
Topic: 启用外部SPIRAM后,报spi_flash_disable_interrupts_caches_and_other_cpu错误
Replies: 0
Views: 1168

启用外部SPIRAM后,报spi_flash_disable_interrupts_caches_and_other_cpu错误

问题现象:
1. 启用外部 SPIRAM 后执行 OTA 升级时,报 spi_flash_disable_interrupts_caches_and_other_cpu 错误。
2. 启用外部 SPIRAM 后执行蓝牙初始化时,报 spi_flash_disable_interrupts_caches_and_other_cpu 错误,此时可通过降低任务的堆栈空间可规避此问题。
3. 禁用外部 SPIRAM 后,执行 OTA 或初始化蓝牙时,不会报上述错误,增加任务堆栈空间也不会出错。
by Charles_Wen
Thu Sep 01, 2022 8:43 am
Forum: ESP IoT Solution 中文讨论版
Topic: 开启蓝牙后 LED 灯带上某些灯珠出现不受控的闪烁现象
Replies: 1
Views: 3093

Re: 开启蓝牙后 LED 灯带上某些灯珠出现不受控的闪烁现象

1. 执行rmt_write_sample前调用vTaskSuspendAll()将调度器挂起; 执行完毕后调用xTaskResumeAll()恢复调度器,未能解决问题。 2. 执行rmt_write_sample前调用portENTER_CRITICAL(&my_mutex)进入临界段; 执行完毕后调用portEXIT_CRITICAL(&my_mutex)退出临界段,未能解决问题。 3. 将 led strip 线程优先级设置为最高,可缓解闪烁现象,但是只要蓝牙和WIFI打开,就无法根除。 4. 将 Bluetooth : The cpu core which bluetooth cont...
by Charles_Wen
Wed Aug 31, 2022 10:57 am
Forum: General Discussion
Topic: ESP32-S3 WS2812B Flickering when use the BLE
Replies: 0
Views: 831

ESP32-S3 WS2812B Flickering when use the BLE

IDF Version: ESP-IDF v5.0-dev-75-g1561fbd2c5-dirty LED strip driver: led_strip_rmt_ws2812 Bluetooth: BLE GATT server Module: ESP32-S3-WROOM-1-N8R8 When turn on the BLE, some of the RGBLED flicker when the strip flowing, when not use the BLE, strip works OK. Try to improve the power of the adaptor, c...
by Charles_Wen
Wed Aug 31, 2022 10:43 am
Forum: ESP IoT Solution 中文讨论版
Topic: 开启蓝牙后 LED 灯带上某些灯珠出现不受控的闪烁现象
Replies: 1
Views: 3093

开启蓝牙后 LED 灯带上某些灯珠出现不受控的闪烁现象

IDF 版本:ESP-IDF v5.0-dev-75-g1561fbd2c5-dirty
LED strip 驱动:led_strip_rmt_ws2812
蓝牙:BLE GATT server
模组型号:ESP32-S3-WROOM-1-N8R8
异常现象:
开启蓝牙后,在 LED 灯带灯光流动过程中,某些灯珠出现不受控的短暂闪烁现象。不开启蓝牙的情况下,灯带工作正常。尝试提高供电电源功率,未能解决问题。
by Charles_Wen
Wed Aug 31, 2022 10:32 am
Forum: ESP32 Arduino
Topic: ESP-32 WS2812b flickering when lost Wifi connection
Replies: 1
Views: 1442

Re: ESP-32 WS2812b flickering when lost Wifi connection

The power supply may be insufficient, when WIFI disconnect, the board need more power, then the strip flicker.
by Charles_Wen
Fri Aug 05, 2022 10:27 am
Forum: ESP-IDF 中文讨论版
Topic: wifi报错 wifi:m f probe req l=0
Replies: 23
Views: 24755

Re: wifi报错 wifi:m f probe req l=0

我在 ESP32-S3 上也碰到了同样的问题,也是 BLE 和 WIFI 同时使用,IDF 版本:v4.4.1
by Charles_Wen
Mon Jun 06, 2022 3:04 am
Forum: General Discussion
Topic: ESP32S2 can't read data in duplex mode
Replies: 3
Views: 2208

Re: ESP32S2 can't read data in duplex mode

In full-duplex mode, the ESP starts reading in bytes while it is sending data: if you want to abuse this, you would need to make your rx_data buffer large enough to receive both the dummy bytes that are received while sending the address etc as well as the actual data you need to receive. It's like...
by Charles_Wen
Thu Jun 02, 2022 12:19 pm
Forum: General Discussion
Topic: ESP32S2 can't read data in duplex mode
Replies: 3
Views: 2208

ESP32S2 can't read data in duplex mode

When use ESP32 conmmunicate with RC522 (NFC Controller), the SPI bus work ok, it can read and write RC522's register. But when set the target to ESP32S3, the code complie fail. The error is: SPI half duplex mode is not supported when both MOSI and MISO phases are enabled Then find this in ESP32S3's ...