| ▲ | MrBuddyCasino 3 days ago | |||||||
> I’m happy to geek out about getting the ESP32 to stream reliably at high sample rates Please do. | ||||||||
| ▲ | simontheHWguy 3 days ago | parent [-] | |||||||
The biggest challenge was the SPI communication during the initialization phase. I had a timing violation in the register set sequence that caused the IC to enter unpredictable states. 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 | ||||||||
| ||||||||