Re: What would you like to see in The Next Chip?
Posted: Tue Sep 09, 2025 6:40 pm
The ESP-S3 is based on Xtensa cores which, as opposed to the ESP8266's version, have a register window. In many cases no access to the stack is required, only the register window start pointer is moved.
I do not know if the RISC-V cores also have this feature, but most modern processors have this, so I'd expect so.
Finishing with my well-known rant: if you're doing things that are so heavily dependent on timing, I think you're doing something wrong:
- use one of the many hardware modules that will take of timing perfectly, in hardware; this is a requirement in a multithreading multicore environment like we have on ESP32
- if you really just use bit banging workarounds, I'd suggest using a microcontroller that's more suitable for that, one that has predictable instruction timings, no mandatory interrupts (so no wifi or bluetooth...). There are plenty to choose from.
I do not know if the RISC-V cores also have this feature, but most modern processors have this, so I'd expect so.
Finishing with my well-known rant: if you're doing things that are so heavily dependent on timing, I think you're doing something wrong:
- use one of the many hardware modules that will take of timing perfectly, in hardware; this is a requirement in a multithreading multicore environment like we have on ESP32
- if you really just use bit banging workarounds, I'd suggest using a microcontroller that's more suitable for that, one that has predictable instruction timings, no mandatory interrupts (so no wifi or bluetooth...). There are plenty to choose from.