Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

is I2S_Codec_PDMA.axf source available for downloading? #4

Open
jie-ss opened this issue Nov 21, 2024 · 8 comments
Open

is I2S_Codec_PDMA.axf source available for downloading? #4

jie-ss opened this issue Nov 21, 2024 · 8 comments

Comments

@jie-ss
Copy link

jie-ss commented Nov 21, 2024

I just want to add more keywords to RTP KWS like left/right/up/down/接通/挂断? is that feasible to implemented?

@ychuang3
Copy link
Contributor

Where did you see the file I2S_Codec_PDMA.axf?
Please provide detailed information about your issue. Thank you.

@jie-ss
Copy link
Author

jie-ss commented Nov 21, 2024

there is such function in MainWindow::init() -> QProcess::execute("/opt/ma35d1_demo.sh 9"), and which leading to "echo -n I2S_Codec_PDMA.axf > /sys/class/remoteproc/remoteproc0/firmware".

in RTP-KWS linux driver: rtp_kws.c, it reports the inputs as Key0Key9, Key_F1KeyF6, however, I guess the voice recognition is handled in RTP, that means, the I2S_Codec_PDMA.axf.

In a word, what I want is to add custom voices but not only english "one, two, three, ..."

@ychuang3
Copy link
Contributor

You have to download MA35D1 RTP BSP:
https://github.com/OpenNuvoton/MA35D1_RTP_BSP

The sample code source path:
https://github.com/OpenNuvoton/MA35D1_RTP_BSP/tree/master/SampleCode/StdDriver/I2S_Codec_PDMA

Please use ARM Keil IDE to build the project, and find I2S_Codec_PDMA.axf in "obj" folder.

@jie-ss
Copy link
Author

jie-ss commented Nov 21, 2024

Thanks for your instant reply

@jie-ss
Copy link
Author

jie-ss commented Nov 21, 2024

Checked out the I2S_Codec_PDMA, but to my knowledge, it looks there is no KWS handling in it.
Compared the I2S_Codec_PDMA.axf on reference board and what I built from SampleCode/StdDriver/I2S_Codec_PDMA, they are 769912 bytes and 304744 bytes respectively

@ychuang3
Copy link
Contributor

I'm not quite sure about your question.
Which application are you running on Linux?
Please provide complete information.

@jie-ss
Copy link
Author

jie-ss commented Nov 21, 2024

/opt/MA35D1_DEMO, the default application on HMI-MA35D1-S1 that is auto running after power on
the 5th item: key word spotting:
image

@jie-ss
Copy link
Author

jie-ss commented Nov 21, 2024

but KWP in MA35D1_DEMO almost do nothing but start/stop RTP only ,and RTP's FW should be I2S_Codec_PDMA

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants