Skip to content

Commit

Permalink
Merge pull request Seeed-Studio#1801 from Jessie219-web/main
Browse files Browse the repository at this point in the history
update: meshtastic flash steps
  • Loading branch information
limengdu authored Oct 25, 2024
2 parents 6514084 + 332fcc5 commit 2ff446d
Show file tree
Hide file tree
Showing 7 changed files with 197 additions and 97 deletions.
4 changes: 2 additions & 2 deletions docs/Network/Meshtastic_Network/T1000-E/sensecap_t1000_e.md
Original file line number Diff line number Diff line change
Expand Up @@ -445,12 +445,12 @@ Enable the DFU mode of your device and connect it to your PC, run the following

* **For Windows**:
```
adafruit-nrfutil --verbose dfu serial --package t1000_e_bootloader-0.9.1-5-g488711a_s140_7.3.0.zip -p COMxx -b 115200
adafruit-nrfutil --verbose dfu serial --package t1000_e_bootloader-0.9.1-5-g488711a_s140_7.3.0.zip -p COMxx -b 115200 --singlebank --touch 1200
```

* **For others**:
```
adafruit-nrfutil --verbose dfu serial --package t1000_e_bootloader-0.9.1-5-g488711a_s140_7.3.0.zip -p /dev/tty.SLAB_USBtoUART -b 115200
adafruit-nrfutil --verbose dfu serial --package t1000_e_bootloader-0.9.1-5-g488711a_s140_7.3.0.zip -p /dev/tty.SLAB_USBtoUART -b 115200 --singlebank --touch 1200
```

Replace the serial port with your device port. Example:
Expand Down
64 changes: 31 additions & 33 deletions docs/Sensor/ReSpeaker_Lite/XIAO_ESP32_S3/xiao_respeaker.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Powered by XMOS XU316 AI Sound and Audio chipset, it is a high-performance open

* **Pre-Soldered ESP32 Controller**: A powerful XIAO ESP32S3 is pre-soldered via the I2S pins, offering a solderless experience for further development and integration.
* **Dual Microphone Array for Far-Field Voice Capture**: The 2 high performance digital microphones capture and extract far-field speech and voice (up to 3 meters) even in noisy environments as it cancells point noise using two microphone input.
* **Onboard AI NLU Algorithms**: Powered by XMOS XU-316 AI sound and audio chip, the kit includes Natural Language Understanding algorithms for Interference Cancellation (IC)​, Acoustic Echo Cancellation, Noise Suppression, and Automatic Gain Control (AGC), enabling high quality voice capture.
* **Onboard AI ASR Algorithms**: Powered by XMOS XU-316 AI sound and audio chip, the kit includes Natural Language Understanding algorithms for Interference Cancellation (IC)​, Acoustic Echo Cancellation, Noise Suppression, and Automatic Gain Control (AGC), enabling high quality voice capture.
* **Embracing Open Source**: As an open source hardware, it's compatible with Arduino, PlatformIO, MicroPython, CircuitPython for furthur developement.
* **Compatible with Popular Voice Assistants**: This kit allows you to build your own natural language processor and connect it to Home Assitant via ESPHome, Amazon Alexa Voice Service, Google Assistant, or Cloud Speech-to-Text service, enabling you to ask questions and issue voice commands to your programs.
* **Onboard RGB LED**: The kit features a programmable WS2812 RGB LED, supporting custom effects and offering a visual interface for your applications.
Expand Down Expand Up @@ -66,41 +66,35 @@ Powered by XMOS XU316 AI Sound and Audio chipset, it is a high-performance open

<p style={{textAlign: 'center'}}><img src="https://files.seeedstudio.com/wiki/SenseCAP/respeaker/respeaker_lite_v1.0_sch_1.png" alt="pir" width={800} height="auto" /></p>

### Pin Out


### Flash the I2S firmware


Before we start this chapter, please make sure the ReSpeaker Lite's firmware is the I2S version.
<p style={{textAlign: 'center'}}><img src="https://github.com/respeaker/ReSpeaker_Lite/raw/master/doc/images/pinout.png" alt="pir" width={600} height="auto" /></p>


* [I2S 1.0.8 Version Firmware Download](https://files.seeedstudio.com/wiki/SenseCAP/respeaker/respeaker_lite_i2s_dfu_firmware_v1.0.8.bin)
|**1**|**Dual Microphone Array**|Provides high-quality audio input.|
| :- | :- | :- |
|**2**|**Power Indicator Light**|Illuminates when powered on.|
|**3**|**RGB Light**|Programmable WS2812, provides visual interface|
|**4**|**Mute Indicator Light**|Lights up red when the mute button is pressed.|
|**5**|**USR Button**|User-defined button.|
|**6**|**Mute Button**|Mutes audio input when pressed.|
|**7**|[XIAO ESP32S3](https://www.seeedstudio.com/XIAO-ESP32S3-p-5627.html) **(optional)**|For further development and integration.|
|**8**|**XU316 Core Processor**|Responsible for audio processing and transmission.|
|**9**|**External Power Supply Solder Pad**|Supports external 5V power supply.|
|**10**|**USB Type-C Port**|Used for power and data transmission.|
|**11**|**Speaker Connector**|For audio output. Supports 5W amplifier speakers.|
|**12**|**3.5mm Headphone jack**|Output audio, We can plug active speakers or Headphones into this port.|
|**13**|**External power pad 1**|Unused IO pins on the XIAO ESP32.|
|**14**|**External power pad 2**|Unused IO pins on the XU316.|
|**15**|**JTAG**|For debugging and programming the XU316.|

:::tip Change log
**v1.0.8**: support new flash ZB25VQ32D<br/>
**v1.0.7**: support i2c control speaker mute and output channels<br/>
**v1.0.6**: change PRODUCT_STR to ReSpeaker Lite, fix ws2812 control bug<br/>
**v1.0.5**: support i2c read vnr value
:::

### Flash the I2S firmware

Check [Get Started](https://wiki.seeedstudio.com/reSpeaker_usb_v3/#update-firmware) to set up the tool, and run the following command:

```
dfu-util -e -a 1 -D respeaker_lite_i2s_dfu_firmware_v1.0.8.bin
```

:::caution
After flashing is completed, please restart the board.
:::

Check the firmware version:

```
dfu-util -l
```
To use the ReSpeaker Lite with XIAO ESP32S3, please make sure the ReSpeaker Lite's firmware is the I2S version.

<p style={{textAlign: 'center'}}><img src="https://files.seeedstudio.com/wiki/SenseCAP/respeaker/i2s108-version.png" alt="pir" width={600} height="auto" /></p>
Check [Firmware Flash](https://wiki.seeedstudio.com/reSpeaker_usb_v3/#update-firmware) to flash the latest I2S firmware.



Expand Down Expand Up @@ -167,12 +161,16 @@ Or download the library as `zip` file and add it to the library in Arduino IDE.

### FAQ

* If you want to use it as a sound device
* **Can't detect ReSpeaker Lite USB sound device on Windows after flashing USB firmware?**


- Open the start menu and type `Device manager`. Press the enter key. Find `ReSpeaker Lite` device, right click it and select `Uninstall device`. Select `Delete the driver software for this device` and click `Uninstall`. After that, restart the device and Windows will re-install the right sound card driver for it.

<p style={{textAlign: 'center'}}><img src="https://github.com/respeaker/ReSpeaker_Lite/raw/master/doc/images/dfu/delete-driver.png" alt="pir" width={600} height="auto" /></p>

Please [flash the USB version firmware](https://wiki.seeedstudio.com/reSpeaker_usb_v3/#flash-firmware).

For Windows users, after flashing the USB firmware, need to uninstall the device, then you can use it as a sound device.

<p style={{textAlign: 'center'}}><img src="https://files.seeedstudio.com/wiki/SenseCAP/respeaker/uninstall.png" alt="pir" width={600} height="auto" /></p>
### Resource

[ReSpeaker Lite XMOS Firmware](https://github.com/respeaker/ReSpeaker_Lite/tree/master/xmos_firmwares)

[ReSpeaker Lite Github](https://github.com/respeaker/ReSpeaker_Lite/)
Loading

0 comments on commit 2ff446d

Please sign in to comment.