Setting serial baud rate on ESP-IDF does nothing
18 days ago
- #ESP32
- #Serial Communication
- #Arduino
- The article discusses the common use of `Serial.begin(115200);` in Arduino projects and questions its actual impact on data transfer rates.
- Experiments reveal that on an ESP32-S3 with native USB support, the baud rate setting is irrelevant as data transfer occurs over USB, not UART.
- Testing shows data transfer speeds can reach up to 7MB/s on Arduino firmware and 5MB/s on ESP32-S3 firmware, despite theoretical USB Full Speed limits of 12Mbps.
- The article highlights discrepancies in performance between different firmware implementations and mentions an ongoing issue with ESP32 TinyUSB that may affect speeds.
- Real-world performance may vary, and boards with UART hardware will have different limitations, with ESP32 UART maxing out at around 5Mb/s.