You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ESP32 SPI clockless engine: reused SPI channel loses its pin after another driver used it #4907
Found while fixing #4905 (the same bug class in the RMT5 TX engine).
ChannelEngineSpi::acquireChannel() reuses a cached SPI host for the same pin (src/platforms/esp/32/drivers/spi/channel_driver_spi.cpp.hpp:671, "SPI hardware still allocated - reuse directly"). If another peripheral (RMT, PARLIO) or pinMode() routed that pin elsewhere in between, the cached host keeps transmitting into a pin that no longer carries its signal. The #4905 fix reclaims the pin in the RMT5 TX engine; SPI does not do this yet.
Activity
fix(esp32,spi): rebuild an idle SPI bus whose pin another driver took (…
zackees commentedon Oct 23, 2026
The host-test half of the acceptance moves to #4910: the SPI engine has no peripheral seam yet. The behaviour is verified on hardware in #4909.
Merge pull request #4909 from FastLED/fix/spi-reclaim-pin-4907
refactor(esp32,spi): route ChannelEngineSpi through ISpiPeripheral (F…