ESP32-S2 Processor Datasheet Released, Development Boards Unveiled

Last may Espressif Systems unveiled ESP32-S2 secure WiFi processor  with a single Xtensa LX7 core clocked at 240 MHz, and the first ESP32 processor to come with a built-in USB (OTG) interface, as well as some new features such as WiFi Time-of-Flight (ToF), hardware security, LCD RGB & camera interfaces,  and more. Note that contrary to other ESP32 processors launched so far, ESP32-S2 does not support Bluetooth.

ESP32-S2 Datasheet

The processor is still not available, but there has been some interesting development in recent weeks. First the datasheet (PDF) has been released, so we’ve got to check more technical details including the processor diagram below.

The main specifications have not changed, so I won’t reproduce them here, and you can check out ESP32-S2 announcement for specs.

ESP32-S2 Development Boards

The first ESP32-S2 development boards are also available… in Espressif Systems’ offices that is, but not quite publicly.

Click to Enlarge

The board above is based on ESP32-S2 processor with a 56-pin package, and one oddity is the USB to TTL chip. One commenter in Twitter explains that’s because USB is still being worked on for ESP32-S2, so they have to use an external chip for now, which may not be there in the final hardware, or maybe they want to reserve the USB interface for other purposes. There are two 21-pin I/O headers for expansion, but apart from the power signal and reset pins, the only photo available does not reveal which pins are routed. There also seems to be both SPI flash and SPI RAM on the board.

Click to Enlarge

If you have no time for “tinkering”, and want to do some more serious development, Espressif Systems has a full-featured ESP32-S2 evaluation kit with touch buttons and audio (mic) expansion boards.

There’s still no reference to ESP32-S2 in ESP-IDF source code nor the documentation website, so it may take a while before the boards or a variants become available. The company recently sent ESP32-S2 processor samples to developers as they had 50 engineering samples for this purpose.

Share this:

Support CNX Software! Donate via PayPal or cryptocurrencies, become a Patron on Patreon, or buy review samples

9 Replies to “ESP32-S2 Processor Datasheet Released, Development Boards Unveiled”

  1. Do we know much about the LX7 core they’re using? More generally, does anyone know much about the differences between the LX6 and 7? Since it’s a soft core, there’s not much useful info online that can be trusted–you have to know the settings they used when generating it.

    1. You’ve probably looked at the datasheet already, but if not, here’s what’s inside about the LX7 core:

      ESP32-S2 contains one low-power Xtensa ® 32-bit LX7 microprocessor with the following features:
      • 7-stage pipeline that supports the clock frequency of up to 240 MHz
      • 16/24-bit Instruction Set providing high code-density
      • Support for 32-bit multiplier and 32-bit divider
      • Unbuffered GPIO instructions
      • Support for 32 interrupts at six levels
      • Support for windowed ABI with 64 physical general registers
      • Support for trace function with TRAX compressor, up to 16 KB trace memory
      • JTAG for debugging

      I remember reading something about FPU in LX7, but not sure whether that’s optional or not.

      1. This is an interesting bit: • Unbuffered GPIO instructions
        If memory serves, long latency of buffered-only GPIO was a major headache when developing software-only espusb, and that was also the reason for it to be limited to 1.5mbit/s (i.e. low-speed USB). Having unbuffered GPIO should speed up “turnaround” (i.e. reaction speed from input to output) quite a bit.

        1. If you turn off the WiFi while you’re doing that, then it might show the benefits in real time processing that you expect. But, since this is a single core instead of a dual core processor, you can’t leave the other chip to handle the WiFi, BT, etc. tasks.

  2. I was pessimistic about the “secure” nature but according to the datasheet they have transparent encryption for the external memories including SRAM so you can actually use them without losing the whole point of signed firmware. They also seem to have something in their “digital signature” module that allows it to use a key that can’t be read out by the CPU. That seems to only be for MAC generation though. Would be nice if everything could be done with that key.

    1. There was recent publication of bypasses for the security features on the ESP32, by LiveOverflow (IIRC), and others. Hopefully the new S2 hardware will have protection against glitching before it is released.

Leave a Reply

Your email address will not be published.

Advertisement
Advertisement