esp-box在线语音的使用
esp-box在线语音的使用
宣传在线语音支持对接多语音平台,如DuerOS,有相关的开源工程吗
-
- Posts: 96
- Joined: Wed Nov 10, 2021 9:28 am
Re: esp-box在线语音的使用
对于esp32s3,能否同时支持离线跟在线语音,同时额外再增加一个spi屏;这样的组合系统能否支持?有相关的实例吗?
-
- Posts: 96
- Joined: Wed Nov 10, 2021 9:28 am
Re: esp-box在线语音的使用
1 ADF 分别支持在线和离线功能,离在线需要自己整合。
https://github.com/espressif/esp-adf/tr ... nition/wwe
https://github.com/espressif/esp-adf/tr ... les/dueros
2 再增加一个spi屏这样的组合暂时没有相关示例。
https://github.com/espressif/esp-adf/tr ... nition/wwe
https://github.com/espressif/esp-adf/tr ... les/dueros
2 再增加一个spi屏这样的组合暂时没有相关示例。
Re: esp-box在线语音的使用
现在准备先再esp-s3-box上面测试esp-adf上面的离线语音功能,(box上面的例程本身已经编译下载并测试ok)
https://github.com/espressif/esp-adf/tr ... nition/wwe
1、目前下载了最新版的esp-adf,搭的esp-idf4.4,首先将`sdkconfg.defaults.esp32s3`复制 为 `sdkconfig.defaults`,
然后cd $IDF_PATH
2、git apply $ADF_PATH/idf_patches/idf_v4.4_freertos.patch
3、menuconfig > Audio HAL > ESP32-s3-box;并修改flash为16M
https://github.com/espressif/esp-adf/tr ... nition/wwe
1、目前下载了最新版的esp-adf,搭的esp-idf4.4,首先将`sdkconfg.defaults.esp32s3`复制 为 `sdkconfig.defaults`,
然后cd $IDF_PATH
2、git apply $ADF_PATH/idf_patches/idf_v4.4_freertos.patch
3、menuconfig > Audio HAL > ESP32-s3-box;并修改flash为16M
Last edited by user_esp on Thu Mar 03, 2022 12:17 pm, edited 1 time in total.
Re: esp-box在线语音的使用
配置里面又修改了下flash大小为16M和clean后,重新编译可以下载了,不过一直在重启。。。
I (36) boot.esp32s3: Boot SPI Speed : 80MHz
I (41) boot.esp32s3: SPI Mode : QIO
I (46) boot.esp32s3: SPI Flash Size : 16MB
I (51) boot: Enabling RNG early entropy source...
W (56) bootloader_random: RNG for ESP32-S3 not currently supported
I (63) boot: Partition Table:
I (67) boot: ## Label Usage Type ST Offset Length
I (74) boot: 0 nvs WiFi data 01 02 00009000 00004000
I (81) boot: 1 otadata OTA data 01 00 0000d000 00002000
I (89) boot: 2 phy_init RF data 01 01 0000f000 00001000
I (96) boot: 3 ota_0 OTA app 00 10 00010000 00290000
I (104) boot: 4 model Unknown data 01 82 002a0000 0040e000
I (111) boot: 5 flash_tone Unknown data 01 27 006ae000 00032000
I (119) boot: End of partition table
I (123) esp_image: segment 0: paddr=00010020 vaddr=3c090020 size=45e4ch (286284) map
I (175) esp_image: segment 1: paddr=00055e74 vaddr=3fc9d9a0 size=02d18h ( 11544) load
I (178) esp_image: segment 2: paddr=00058b94 vaddr=40378000 size=07484h ( 29828) load
I (187) esp_image: segment 3: paddr=00060020 vaddr=42000020 size=8153ch (529724) map
I (270) esp_image: segment 4: paddr=000e1564 vaddr=4037f484 size=0e510h ( 58640) load
I (281) esp_image: segment 5: paddr=000efa7c vaddr=50000000 size=00010h ( 16) load
I (290) boot: Loaded app from partition at offset 0x10000
I (290) boot: Disabling RNG early entropy source...
W (290) bootloader_random: RNG for ESP32-S3 not currently supported
I (308) opi psram: vendor id : 0x0d (AP)
I (309) opi psram: dev id : 0x02 (generation 3)
I (309) opi psram: density : 0x03 (64 Mbit)
I (312) opi psram: good-die : 0x01 (Pass)
I (317) opi psram: Latency : 0x01 (Fixed)
I (322) opi psram: VCC : 0x01 (3V)
I (326) opi psram: SRF : 0x01 (Fast Refresh)
I (332) opi psram: BurstType : 0x01 (Hybrid Wrap)
I (337) opi psram: BurstLen : 0x01 (32 Byte)
I (342) opi psram: Readlatency : 0x02 (10 cycles@Fixed)
I (348) opi psram: DriveStrength: 0x00 (1/1)
W (353) PSRAM: DO NOT USE FOR MASS PRODUCTION! Timing parameters will be updated in future IDF version.
I (364) spiram: Found 64MBit SPI RAM device
I (368) spiram: SPI RAM mode: sram 80m
I (373) spiram: PSRAM initialized, cache is in normal (1-core) mode.
I (380) cpu_start: Pro cpu up.
I (383) cpu_start: Starting app cpu, entry point is 0x40379550
0x40379550: call_start_cpu1 at /home/hu/workspace/esp/esp-idf/components/esp_system/port/cpu_start.c:156
I (370) cpu_start: App cpu up.
I (675) spiram: SPI SRAM memory test OK
I (684) cpu_start: Pro cpu start user code
I (684) cpu_start: cpu freq: 240000000
I (684) cpu_start: Application information:
I (687) cpu_start: Project name: example_wwe
I (692) cpu_start: App version: 1
I (697) cpu_start: Compile time: Mar 3 2022 20:07:44
I (703) cpu_start: ELF file SHA256: 2b4a00c10fc1f4e6...
I (709) cpu_start: ESP-IDF: v4.4-beta1-20-g35b20cadce-dirty
I (716) heap_init: Initializing. RAM available for dynamic allocation:
I (723) heap_init: At 3FCA2850 len 0003D7B0 (245 KiB): D/IRAM
I (729) heap_init: At 3FCE0000 len 0000EE34 (59 KiB): STACK/DRAM
I (736) heap_init: At 600FE000 len 00002000 (8 KiB): RTCRAM
I (742) spiram: Adding pool of 8192K of external SPI memory to heap allocator
I (750) spi_flash: detected chip: gd
I (754) spi_flash: flash io: qio
I (759) sleep: Configure to isolate all GPIO pins in sleep state
I (765) sleep: Enable automatic switching of GPIO sleep configuration
I (773) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
I (783) spiram: Reserving pool of 32K of internal memory for DMA/internal allocations
W (793) eFuse: calibration efuse version does not match, set default version: 0
E (803) ADC_CALI: esp_adc_cal_characterize(137): No calibration efuse burnt
E (813) ADC: adc2_get_raw(624): WIDTH ERR: see `adc_bits_width_t` for supported bit width
ESP-ROM:esp32s3-20210327
[0;32mI (31) qio_mode: Enabling default flash chip QIO
是没有支持好吗,还是说需要其他的什么配置?
I (36) boot.esp32s3: Boot SPI Speed : 80MHz
I (41) boot.esp32s3: SPI Mode : QIO
I (46) boot.esp32s3: SPI Flash Size : 16MB
I (51) boot: Enabling RNG early entropy source...
W (56) bootloader_random: RNG for ESP32-S3 not currently supported
I (63) boot: Partition Table:
I (67) boot: ## Label Usage Type ST Offset Length
I (74) boot: 0 nvs WiFi data 01 02 00009000 00004000
I (81) boot: 1 otadata OTA data 01 00 0000d000 00002000
I (89) boot: 2 phy_init RF data 01 01 0000f000 00001000
I (96) boot: 3 ota_0 OTA app 00 10 00010000 00290000
I (104) boot: 4 model Unknown data 01 82 002a0000 0040e000
I (111) boot: 5 flash_tone Unknown data 01 27 006ae000 00032000
I (119) boot: End of partition table
I (123) esp_image: segment 0: paddr=00010020 vaddr=3c090020 size=45e4ch (286284) map
I (175) esp_image: segment 1: paddr=00055e74 vaddr=3fc9d9a0 size=02d18h ( 11544) load
I (178) esp_image: segment 2: paddr=00058b94 vaddr=40378000 size=07484h ( 29828) load
I (187) esp_image: segment 3: paddr=00060020 vaddr=42000020 size=8153ch (529724) map
I (270) esp_image: segment 4: paddr=000e1564 vaddr=4037f484 size=0e510h ( 58640) load
I (281) esp_image: segment 5: paddr=000efa7c vaddr=50000000 size=00010h ( 16) load
I (290) boot: Loaded app from partition at offset 0x10000
I (290) boot: Disabling RNG early entropy source...
W (290) bootloader_random: RNG for ESP32-S3 not currently supported
I (308) opi psram: vendor id : 0x0d (AP)
I (309) opi psram: dev id : 0x02 (generation 3)
I (309) opi psram: density : 0x03 (64 Mbit)
I (312) opi psram: good-die : 0x01 (Pass)
I (317) opi psram: Latency : 0x01 (Fixed)
I (322) opi psram: VCC : 0x01 (3V)
I (326) opi psram: SRF : 0x01 (Fast Refresh)
I (332) opi psram: BurstType : 0x01 (Hybrid Wrap)
I (337) opi psram: BurstLen : 0x01 (32 Byte)
I (342) opi psram: Readlatency : 0x02 (10 cycles@Fixed)
I (348) opi psram: DriveStrength: 0x00 (1/1)
W (353) PSRAM: DO NOT USE FOR MASS PRODUCTION! Timing parameters will be updated in future IDF version.
I (364) spiram: Found 64MBit SPI RAM device
I (368) spiram: SPI RAM mode: sram 80m
I (373) spiram: PSRAM initialized, cache is in normal (1-core) mode.
I (380) cpu_start: Pro cpu up.
I (383) cpu_start: Starting app cpu, entry point is 0x40379550
0x40379550: call_start_cpu1 at /home/hu/workspace/esp/esp-idf/components/esp_system/port/cpu_start.c:156
I (370) cpu_start: App cpu up.
I (675) spiram: SPI SRAM memory test OK
I (684) cpu_start: Pro cpu start user code
I (684) cpu_start: cpu freq: 240000000
I (684) cpu_start: Application information:
I (687) cpu_start: Project name: example_wwe
I (692) cpu_start: App version: 1
I (697) cpu_start: Compile time: Mar 3 2022 20:07:44
I (703) cpu_start: ELF file SHA256: 2b4a00c10fc1f4e6...
I (709) cpu_start: ESP-IDF: v4.4-beta1-20-g35b20cadce-dirty
I (716) heap_init: Initializing. RAM available for dynamic allocation:
I (723) heap_init: At 3FCA2850 len 0003D7B0 (245 KiB): D/IRAM
I (729) heap_init: At 3FCE0000 len 0000EE34 (59 KiB): STACK/DRAM
I (736) heap_init: At 600FE000 len 00002000 (8 KiB): RTCRAM
I (742) spiram: Adding pool of 8192K of external SPI memory to heap allocator
I (750) spi_flash: detected chip: gd
I (754) spi_flash: flash io: qio
I (759) sleep: Configure to isolate all GPIO pins in sleep state
I (765) sleep: Enable automatic switching of GPIO sleep configuration
I (773) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
I (783) spiram: Reserving pool of 32K of internal memory for DMA/internal allocations
W (793) eFuse: calibration efuse version does not match, set default version: 0
E (803) ADC_CALI: esp_adc_cal_characterize(137): No calibration efuse burnt
E (813) ADC: adc2_get_raw(624): WIDTH ERR: see `adc_bits_width_t` for supported bit width
ESP-ROM:esp32s3-20210327
[0;32mI (31) qio_mode: Enabling default flash chip QIO
是没有支持好吗,还是说需要其他的什么配置?
Re: esp-box在线语音的使用
这个错误是你使用的芯片 ADC 参数没有校准,建议用最新的IDF v4.4 在测试。
E (803) ADC_CALI: esp_adc_cal_characterize(137): No calibration efuse burnt
E (813) ADC: adc2_get_raw(624): WIDTH ERR: see `adc_bits_width_t` for supported bit width
ESP-ROM:esp32s3-20210327
[0;32mI (31) qio_mode: Enabling default flash chip QIO
Who is online
Users browsing this forum: No registered users and 6 guests