← index #16029Issue #17706
Off-topic · high · value 1.163
QUERY · ISSUE

I2S with asyncio doesn't work on ESP32-S3 with OCT SPIRAM

openby shlomozippelopened 2024-10-17updated 2025-03-03
bugport-esp32

Port, board and/or hardware

esp32-s3 SPIRAM_OCT variant

MicroPython version

MicroPython v1.23.0 on 2024-10-16; Chroma.tech S3 SPIRAM with ESP32S3

Reproduction

  1. Run any of the I2S uasyncio examples from https://github.com/miketeachman/micropython-i2s-examples/tree/master/examples
  2. The program freezes when await swriter.drain() doesn't return (after the first few iterations to fill up ibuf)

Expected behaviour

I expect the asyncio version to work. The blocking and non-blocking versions both work

Observed behaviour

await swriter.drain() doesn't return

Additional Information

No, I've provided everything above.

Code of Conduct

Yes, I agree

CANDIDATE · ISSUE

When i use MicroPython v1.22.2 with idf5.04 i can use xTaskCreatePinnedToCore,But when i switch to MicroPythonv1.26 with idf5.41 the api doesn't work,i just can use xTaskCreate

closedby hulifeopened 2025-07-18updated 2025-07-21
bugport-esp32

Port, board and/or hardware

Generic ESP32S3 module with Octal-SPIRAM with ESP32S3

MicroPython version

MicroPython v1.26.0-preview.158.g5cfafb73d.dirty on 2025-07-17;

Reproduction

use this api ->xTaskCreatePinnedToCore with MicroPythonv1.26 with idf5.41

Expected behaviour

No response

Observed behaviour

/home/hu123456/esp/micropython/examples/usercmodule/BSP/ESP-WHO/esp_face_detection.cpp
/home/hu123456/esp/micropython/examples/usercmodule/BSP/ESP-WHO/esp_face_detection.cpp: In function 'void* esp_face_detection_ai_strat()':
/home/hu123456/esp/micropython/examples/usercmodule/BSP/ESP-WHO/esp_face_detection.cpp:109:5: error: 'xTaskCreatePinnedToCore' was not declared in this scope
109 | xTaskCreatePinnedToCore(camera_process_handler, "camera_process_handler", 4 * 1024, NULL, 5, &camera_task_handle, 1);
| ^~~~~~~~~~~~~~~~~~~~~~~
ninja: build stopped: subcommand failed.
ninja failed with exit code 1, output of the command is in the /home/hu123456/esp/micropython/ports/esp32/build-ESP32_GENERIC_S3-SPIRAM_OCT/log/idf_py_stderr_output_454943 and /home/hu123456/esp/micropython/ports/esp32/build-ESP32_GENERIC_S3-SPIRAM_OCT/log/idf_py_stdout_output_454943
-e See https://github.com/micropython/micropython/wiki/Build-Troubleshooting
make: *** [Makefile:77: all] Error 1

Additional Information

No, I've provided everything above.

Code of Conduct

Yes, I agree

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied