Re:Show HN: Open-Source 8-Ch BCI Board (ESP32 and ADS1299 an...
by MrBuddyCasino on Wednesday January 07, 2026 @06:33AM
(#46525192)
Interesting! I expected something along the lines of wifi / LWIP tuning since you said streaming. I knew that I2C barely works, but I wasn't aware SPI is underspecified as well.
Because the ESP32 is so fast, I was driving the SPI lines without adequate delay between bytes during configuration. The ADS1299 would technically "communicate" but then behave crazily during data acquisition. I had to go back to the datasheet's SPI timing diagrams and strictly enforce the timing constraints in firmware to get it stable. I wish SPI was a more strictly defined standard