From 50e4b0466e93cda5fba84e4e08675afc7e324030 Mon Sep 17 00:00:00 2001 From: limengdu <37475446+limengdu@users.noreply.github.com> Date: Fri, 20 Oct 2023 11:10:07 +0800 Subject: [PATCH 1/2] Add: About XIAO ESP32C3 and XIAO ESP32S3 Strapping pins clarification --- .../XIAO_ESP32C3_Getting_Started.md | 9 +++++- .../XIAO_ESP32S3_Getting_Started.md | 32 +++++++++++++++++++ 2 files changed, 40 insertions(+), 1 deletion(-) diff --git a/docs/Sensor/SeeedStudio_XIAO/SeeedStudio_XIAO_ESP32C3/XIAO_ESP32C3_Getting_Started.md b/docs/Sensor/SeeedStudio_XIAO/SeeedStudio_XIAO_ESP32C3/XIAO_ESP32C3_Getting_Started.md index 0780b58e787a..ce17af33383a 100644 --- a/docs/Sensor/SeeedStudio_XIAO/SeeedStudio_XIAO_ESP32C3/XIAO_ESP32C3_Getting_Started.md +++ b/docs/Sensor/SeeedStudio_XIAO/SeeedStudio_XIAO_ESP32C3/XIAO_ESP32C3_Getting_Started.md @@ -65,7 +65,7 @@ This wiki will show you how you can quickly get started with XIAO ESP32C3!
-## Power Pins +### Power Pins - 5V - This is 5v out from the USB port. You can also use this as a voltage input but you must have some sort of diode (schottky, signal, power) between your external power source and this pin with anode to battery, cathode to 5V pin. @@ -73,6 +73,13 @@ This wiki will show you how you can quickly get started with XIAO ESP32C3! - GND - Power/data/signal ground +### Strapping Pins + +According to the chip manual of ESP32C3, **GPIO2**, **GPIO8** and **GPIO9** in the chip are Strapping Pins, the high and low level configurations of these pins may allow the chip to enter into different Boot modes, please pay attention to this point when you use these pins, otherwise it may prevent your XIAO from uploading or executing the program all the time. + +
+ + ## Getting started First, we are going to connect XIAO ESP32C3 to the computer, connect an LED to the board and upload a simple code from Arduino IDE to check whether the board is functioning well by blinking the connected LED. diff --git a/docs/Sensor/SeeedStudio_XIAO/SeeedStudio_XIAO_ESP32S3/XIAO_ESP32S3_Getting_Started.md b/docs/Sensor/SeeedStudio_XIAO/SeeedStudio_XIAO_ESP32S3/XIAO_ESP32S3_Getting_Started.md index 0189b5a430d6..6fdd84403d25 100644 --- a/docs/Sensor/SeeedStudio_XIAO/SeeedStudio_XIAO_ESP32S3/XIAO_ESP32S3_Getting_Started.md +++ b/docs/Sensor/SeeedStudio_XIAO/SeeedStudio_XIAO_ESP32S3/XIAO_ESP32S3_Getting_Started.md @@ -162,6 +162,38 @@ Before everything starts, it is quite essential to have some basic parameters of - GND - Power/data/signal ground +### Strapping Pins + +At each startup or reset, a chip requires some initial configuration parameters, such as in which boot mode to load the chip, voltage of flash memory, etc. These parameters are passed over via the strapping pins. After reset, the strapping pins operate as regular IO pins. + +The parameters controlled by the given strapping pins at chip reset are as follows: + +• **Chip boot mode** – GPIO0 and GPIO46 + +• **VDD_SPI voltage** – GPIO45 + +• **ROM messages printing** – GPIO46 + +• **JTAG signal source** – GPIO3 + +GPIO0, GPIO45, and GPIO46 are connected to the chip’s internal weak pull-up/pull-down resistors at chip reset. +These resistors determine the default bit values of the strapping pins. Also, these resistors determine the bit +values if the strapping pins are connected to an external high-impedance circuit. + +
+ +To change the bit values, the strapping pins should be connected to external pull-down/pull-up resistances. If the ESP32-S3 is used as a device by a host MCU, the strapping pin voltage levels can also be controlled by the host +MCU. + +All strapping pins have latches. At system reset, the latches sample the bit values of their respective strapping pins and store them until the chip is powered down or shut down. The states of latches cannot be changed in any other way. It makes the strapping pin values available during the entire chip operation, and the pins are freed up to be used as regular IO pins after reset. + +Regarding the timing requirements for the strapping pins, there are such parameters as setup time and hold time. + +
+ +
+ + ## Getting Started To enable you to get started with the XIAO ESP32S3 faster, please read the hardware and software preparation below to prepare the XIAO. From 7ce285a8067357d20182cc0d9acf22689c0f5530 Mon Sep 17 00:00:00 2001 From: limengdu <37475446+limengdu@users.noreply.github.com> Date: Fri, 20 Oct 2023 11:16:26 +0800 Subject: [PATCH 2/2] Fix: xiao rp2040 LED clarification --- .../SeeedStudio_XIAO/SeeedStudio_XIAO_RP2040/XIAO-RP2040.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Sensor/SeeedStudio_XIAO/SeeedStudio_XIAO_RP2040/XIAO-RP2040.md b/docs/Sensor/SeeedStudio_XIAO/SeeedStudio_XIAO_RP2040/XIAO-RP2040.md index 29096269fca5..7858ef05bc4e 100644 --- a/docs/Sensor/SeeedStudio_XIAO/SeeedStudio_XIAO_RP2040/XIAO-RP2040.md +++ b/docs/Sensor/SeeedStudio_XIAO/SeeedStudio_XIAO_RP2040/XIAO-RP2040.md @@ -90,7 +90,7 @@ If you want to reset the Seeed Studio XIAO RP2040, perform the following steps: - Connect the Seeed Studio XIAO RP2040 to your computer. - Press the "R" pins **once**. -Please note: The behavior of the built-in programmable Single-colour LEDs(two are blue, one is green) are reversed to the one on an Arduino. On the Seeed Studio XIAO RP2040, the pin has to be pulled low to enable. +Please note: The behavior of the built-in programmable Single-colour LEDs (They are red, blue and green) are reversed to the one on an Arduino. On the Seeed Studio XIAO RP2040, the pin has to be pulled low to enable.

pir