蓝猫淘气

Qi Ying Tai Lun blade [verified]

 
Overview

1. Configuration of language model

1. Open the official website of Chipintelli: https://platform.chipintelli.com/web#action=235&menu_id=198Chipintelli

2. Click on the speech model and click Create

SHN68qewQPoRUofBou78tAj8vELTMiNPlBICnCWZ.png

First download the acoustic model and command word list

gX8IwlZE8JAXgvTLMazVojMkxus0HAqXMDOBb24c.png

7BV1zavFxR0MADlZ9qEB3Vwt9UwNu1NSWz8UFHs1.pnglYLdskHUVEedfnqY5pxNAwjAH7XW6xfvtNzaCkwQ.png

3. Click to play the announcement in the same way.

n44lcwESJ1YTd3CzNwyhHRkaetLNty4p8IEv0rNh.png

Download announcement word template

rex3Kxglq8mRDbW2Ypoy7AzRPPDelxB1dC7bblVf.png

cKzm9073RqVE3HO1r7CYJhJAKmmLP28asxI5s2SH.png

4. Open the broadcast word list and command word list table files

Fill in the command words and announcement words according to your needs

JUnUJLlsQgpDxGY6awnnLwWxgxnhROPX23zFVDB2.png

BljPnf8SfBfOMCvmodiD46hUxZ8H3S2dkTs1i4Da.png

5. Download CI1122SDk

jbw32pXMmdBcc1eOhuJNfxCdnrHwtw69I3HnoIVe.png

Ueb0n9K9MfbjEaB7pi8OS5oFZg1JmAMFhNdM3WcT.png

6. Upload the edited command word file

1cCqjjvxxQ1PXPcoNXdrRIAruaWSuTp4Ilipknsk.png

Generate language model

apPMBTrx5u8fP5LsosbA8Ils5cl9b5PqGApt5mXb.png

0fWpHiFejR5vZ2OPgNJ8xTTmgrWKsPJXwcHy8nb9.png

7. Download the announcement model

Same as 6, you can choose the tone yourself

MDpK0ogx6N5iG7Y9jkHULjsRMdaM8kUQHEusCok1.png

Click save to download

95yMVAPWday09L3TlTEEE3xYBHDyqEh7yoBpiCb4.png

This is the zip file downloaded in steps 6 and 7

8.Configure location

Open the CI112X_SDK_V1.2.9sampleinternalsample_1122firmware path under the SDK file

Prepare the downloaded files

 

v7md6mbp7bkEJrGvkpr7ffOA0t5Rg7PkxKzbwoQA.png

 

Delete the asr files in the sdk file

 

Put the files from these two into the asr file

Eq3AuKpT74Emfp7tBOeFb8g2oRxHEEVLZuwFlDvl.png

As shown in the picture

 

DEjw44nZp5EWDGlEEST2j0BYPkXCrjYz9J5OoqXD.png

 

Delete files in dnn file

Copy the downloaded acoustic model and put it into it

LU8Z9AqI4yZupTOuFJSxTxKHh9SPyl7SpsFdKERA.png

 

Place Eyn07xXJvAFvAm37oeGHSI0ZSYz0xkeBSZtf9C2O.pngthe file in the picture into the user_filecmd_info file in the SDK directory

 

In addition, we also need to modify this Excel file

open a file

T2PmfSBgcKm2ClEGGBdjfqKDCTV7r0O7fybGZrqD.png

The announcement sound ID must correspond to the announcement word. If not used, other values ​​can be set.

B1tuI6mLda5m674fANwmnX4uOkzEbYptXFQN9suf.png

 

Then select all the WAV files in the above picture and copy them to the SDK path voice[0]voice_zhinengguanjia_chn

 

Then run the cmd_info batch commandYWrdhpZhzzMBLE8wK46Cs9ZEs0GnfBLSguD7Ntt4.png

 

 

Click to merge partition bin files

h8VUJqEbIEhXufGoYdb7B896vxMuGlGoIyYUhLDu.png

Enter 1

TaDrTM5Jui00JMoDC6D6Lc2GMRzvaBdI3w3YgWME.png

End the first big step

 

2. We need to download a corresponding compiler to compile our SDK

Link: https://pan.baidu.com/s/1E9qOtgGWVxJfn33SlF05RA 
Extraction code: 2iy2

Z22bV9c66Xd6ticWQBz34gdT6axHAgrln1dmks7Y.png

 

 

dQeSfixMAUux2JmXPkwfZpb3KfvdarQroKPObyyX.png

I installed the Chinese language package

qAhZlygbTiReGZihLMhWLnBNC2JZawVxzyBHN1zA.png

rBf9kujWZ1QtZjCjNxPRVbhMqplyBlb7nz3ywt8R.png

lTrQRHKQXl4tmFEssjC5PfQrTGU09FXebb5wzH0l.png

 

wHOabyI1KtnYP2CMiVrOfqGsRzwZhArIDyAnXkjf.png

deal_asr_msg_by_cmd_id is the function we want to debug

//**********************//

A problem I had before was the problem prompt of importing the project.

Some projects cannot be imported because they already exist in the workspace

Revise3eRAcRoYTrXoN8xCiKQez4fCbbgoAfX0zEuiPdrF.png

The name defined in the .project file: <name>Project name</name> tag content is the same as the project to be imported.

a6kZNChVfWKFddaaAwrhHE4mLyg2hlvuTd0i8jS0.png

Output instructions through the serial port

Note that the case selection corresponds to the command word id:

HjJWhUqPFjr8Bd71ahw1eAz6IZutq7M9M1Z1OnZl.png

Click compile

aHDVyLKZoOy15VCKFxY3D0AYWtKiRhY08d3QmYq8.png

After success, there will be a user.bin

AUHmp0NpfljvZAm33OxR8XHY4LzIS2pEPFAmm375.png

Let’s merge the partitions again

FLwV2ygWu1EOAZ2eHr551MjhezYxc0WY98vF9Jth.png

Then click Package Upgrade

qtsHBYjw4WsdOH6umCotWPt42zvrYBfDAucMgkpV.png

X74wU82j3QZ3YkD6Oj79ZU5DXY72UkEpcT4ZGqMW.png

Then click Upgrade Firmware

rc0LszXMezybBrwqS26RbaT9UlofPbLvnEfANBVq.png

 

Use a jumper cap to short the upgrade interface

Re-insert and unplug the GND of the serial port tool

KHT6dOzekcEX2Jes1hy2GPH2V1AxWINPCU1lWLbP.png

 

Just wait patiently for the download to complete.

 

For more functions, please refer to the Beginner’s Guide https://document.chipintelli.com/%E8%BD%AF%E4%BB%B6%E5%BC%80%E5%8F%91/SDK/CI112X%E8%8A% AF%E7%89%87SDK/start/CI112X_SDK_Quick_Start/

 

existE9DGhqaXcpVy182bjcx5DJJ2OlOV1dVXHwmhxNWe.png

Add string output function in uart. and called in the .h file.

 

Sartit0xRIFwD1ksfUi1IJHCGWjt2S6vO95PU5zM.png

In user_config..h, set up as shown in the figure to turn off uart1 redundant output.

 

And initialize uart1 in the user function

7xX9BemWoopVWfrzg4qcOEBBexcVrETV69qdERDH.png

 

Then we can set the serial port reception interrupt in the microcontroller to implement the corresponding function.

 

We can also develop SDK to complete our functions.

 

Because the SDK file is too large, only the main sample file is uploaded! -

 

参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-06-22 19:21:18

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
community

Robot
development
community

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号