5 ms·
What's the difference?
by pawelduda 3y ago
What's the difference?
- adolph 3y agoThe OG ESP32 and successors esp32-S2 and ESP32-S3 use an ISA from company Tensilica called Xtensa LX6 (LX7 for the S3). The ESP32 C and H series use RISC-V. Xtensa is pretty well supported by compilers at this point, but RISC-V is on the rise and will have better support going forward. At this point in time, the S3 is the speediest ESP32 and is well supported, so it probably doesn't make a big difference. ISA: https://en.wikipedia.org/wiki/Instruction_set_architecture https://en.wikipedia.org/wiki/Instruction_set_architecture https://en.wikipedia.org/wiki/ESP32 https://en.wikipedia.org/wiki/ESP32
- thomasjb 3y agoWhat are the non-Espressif targets for an Xtensa compiler? Could be there's some other fun embedded chips to use with it
- snvzz 3y agoIt's not just this, but also that Espressif CEO's expressed their desire to focus on RISC-V[0]. Thus, a new Arduino platform is being created out of a deprecated family of MCUs, the Tensilica-based ESP32s. 0. https://www.eenewseurope.com/en/espressif-moves-exclusively-to-risc-v/ https://www.eenewseurope.com/en/espressif-moves-exclusively-...
- solarkraft 3y agoThe move when using the IDF is quite smooth though.
- adolph 3y agoArduino’s decision process doesn’t make sense to me. The Uno R4 Wifi is another instance of selecting an ESP32-S3, but pretty much treating it as a dumb peripheral to a lower seed main MCU.
- jononor 3y agoDeprecated in microcontroller land means you should probably move away sometime within the next 10 years or so. And being on the bleeding edge can be quite painful. So I think Xtensa based ESP32 was a good choice, for a first board. It will have the best support for at least another 3 years. And possibly way longer. Also, arguably the entire Arduino brand started on a deprecated (and much less capable) platform, the Atmel AVR8. It was not an issue either.
- robbywashere_ 3y agorisc-v espressif can run rust now I think?
- adolph 3y agoRust can be compiled to most Espressif MCUs. The critical difference is if there is standard library support. ESP8266 is an older design but can still be a Rust no_std target [0]. Espressif did release a board [1] for use with Rust training designed for the board [2]. 0. https://esp-rs.github.io/book/overview/index.html https://esp-rs.github.io/book/overview/index.html 1. https://github.com/esp-rs/esp-rust-board https://github.com/esp-rs/esp-rust-board 2. https://esp-rs.github.io/std-training/ https://esp-rs.github.io/std-training/ Also: https://github.com/esp-rs/awesome-esp-rust https://github.com/esp-rs/awesome-esp-rust
- robbywashere_ 3y agoHey thanks for the links, you seem very knowledgable ;) I am actively looking for any good information or even good hacker communities using ESP32 for some hobby embedded things. Care to recommend any? Thanks again!
- adolph 3y agoI’m just a beginner myself, learning slowly. There is so much out there that a recommendation would need more information about your goals. Something that I recommend elsewhere in this topic is Dronebot Workshop. That person has well done videos with an excellent companion website. One of the tricks is understanding what information is too old to be helpful. A very accessible starter project that I would suggest is to use an Wemos Mini esp8266 and an 8x8 led panel. Desolder leads from the panel and solder the 5v, ground and d4 pin from the Wemos to it. Attach to computer via usb and open the WLED website below to load the firmware on the ESP. Then open the on-ESP website or use the WLED app to go wild with colors. https://kno.wled.ge/ https://kno.wled.ge/ LED Panel: https://www.amazon.com/gp/aw/d/B01DC0IMRW https://www.amazon.com/gp/aw/d/B01DC0IMRW Wemos mini: https://www.amazon.com/Organizer-ESP8266-Internet-Development-Compatible/dp/B081PX9YFV/ https://www.amazon.com/Organizer-ESP8266-Internet-Developmen... Nearly any Wemos Mini D1 clone will work.