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
First download the acoustic model and command word list
3. Click to play the announcement in the same way.
Download announcement word template
4. Open the broadcast word list and command word list table files
Fill in the command words and announcement words according to your needs
5. Download CI1122SDk
6. Upload the edited command word file
Generate language model
7. Download the announcement model
Same as 6, you can choose the tone yourself
Click save to download
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
Delete the asr files in the sdk file
Put the files from these two into the asr file
As shown in the picture
Delete files in dnn file
Copy the downloaded acoustic model and put it into it
Place the 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
The announcement sound ID must correspond to the announcement word. If not used, other values can be set.
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 command
Click to merge partition bin files
Enter 1
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
I installed the Chinese language package
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.
Revise
The name defined in the .project file: <name>Project name</name> tag content is the same as the project to be imported.
Output instructions through the serial port
Note that the case selection corresponds to the command word id:
Click compile
After success, there will be a user.bin
Let’s merge the partitions again
Then click Package Upgrade
Then click Upgrade Firmware
Use a jumper cap to short the upgrade interface
Re-insert and unplug the GND of the serial port tool
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/
exist
Add string output function in uart. and called in the .h file.
In user_config..h, set up as shown in the figure to turn off uart1 redundant output.
And initialize uart1 in the user function
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! -
All reference designs on this site are sourced from major semiconductor manufacturers or collected online for learning and research. The copyright belongs to the semiconductor manufacturer or the original author. If you believe that the reference design of this site infringes upon your relevant rights and interests, please send us a rights notice. As a neutral platform service provider, we will take measures to delete the relevant content in accordance with relevant laws after receiving the relevant notice from the rights holder. Please send relevant notifications to email: bbs_service@eeworld.com.cn.
It is your responsibility to test the circuit yourself and determine its suitability for you. EEWorld will not be liable for direct, indirect, special, incidental, consequential or punitive damages arising from any cause or anything connected to any reference design used.
Supported by EEWorld Datasheet