Remora icon indicating copy to clipboard operation
Remora copied to clipboard

Test Remora in ESP32S2

Open martinberlin opened this issue 4 years ago • 1 comments

S2 arrived Try to compile this in the S2 and make some benchmarks.

Issues found: https://docs.espressif.com/projects/esp-idf/en/latest/esp32s2/api-reference/peripherals/i2s.html

  1. Neopixes uses I2s and in the file Esp32_i2s.c includes:

    #include "rom/ets_sys.h" // This header file is not existing in IDF 4.0.

  2. It uses 8 NeoEsp32RmtChannel4 if I see this correctly I see constants only up to RMT_CHANNEL3 (Has 4 then? Not entirely sure about this)

Should be solved by this fork from atanisoft https://github.com/atanisoft/NeoPixelBus/commit/001d25f09e8b957ddf03fddbf30a4acdff662018

martinberlin avatar May 30 '20 10:05 martinberlin

With Atanisoft update and adding this defines:

#define I2S1O_WS_OUT_IDX -1 #define I2S1O_BCK_OUT_IDX -1 #define I2S1O_DATA_OUT23_IDX -1

Plus a small update suggested by the compiler works: esp32S2/NeoPixelBus/src/internal/Esp32_i2s.c:168:20: error: 'volatile union ' has no member named 'clka_en'; did you mean 'clk_en'?

martinberlin avatar May 31 '20 07:05 martinberlin

For the moment is not important to run this in S2 and in the next reviews I would be interested to compare speed with S3. Other than that a solution has been proposed in this ticket.

martinberlin avatar Sep 22 '23 08:09 martinberlin