1907703_en-US

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

1907703_en-US

1907703_en-US

RT1170-EVK TFLM KWS CM7 SDK Example Not Working

I recently bought a MIMXRT1170-EVK, not the EVKB, and have been having a lot of little issues. The latest is the SDK example Keyword Spotting project.

As shown in the YouTube video below, it nearly always gives a 99% confidence but is nearly always wrong. I've literally never seen if label a word correctly.

Has anyone else experienced issues with this sample project?

https://youtu.be/HtMRdyJu_jA

Re: RT1170-EVK TFLM KWS CM7 SDK Example Not Working
Update for this issue when using RT1170 EVK board, the root cause is from microphone driver setting, 
please see the patch as below.
 
--- a/source/audio/eiq_speaker.c
+++ b/source/audio/eiq_speaker.c
@@ -142,7 +142,7 @@ static void init(void)
     SAI_GetClassicI2SConfig(&saiConfig, DEMO_AUDIO_BIT_WIDTH, kSAI_MonoRight, kSAI_Channel0Mask);
     saiConfig.syncMode = kSAI_ModeAsync;
     saiConfig.bitClock.bclkPolarity = kSAI_PolarityActiveLow;
-    saiConfig.masterSlave = kSAI_Master;
+    saiConfig.masterSlave = kSAI_Slave;
     SAI_TransferTxSetConfigEDMA(DEMO_SAI, &s_speakerHandle, &saiConfig);
 
#else
static wm8960_config_t wm8960Config = {
--- a/source/audio/eiq_micro.c
+++ b/source/audio/eiq_micro.c 
@@ -82,7 +82,7 @@ static wm8960_config_t wm8960Config = {
         .sampleRate   = kWM8960_AudioSampleRate16KHz,
         .bitWidth     = kWM8960_AudioBitWidth16bit,
     },
-     .master_slave = false,
+    .master_slave = true,
};
#endif
 
You will receive the logs when you speak specific keywords into the EVK board's microphone, there is known issue about the 99% wrong detected data, please ignore.
Sam_Gao_0-1723199579461.png
Re: RT1170-EVK TFLM KWS CM7 SDK Example Not Working

Hi @daniel_fudge 

Thanks for your questions, I doube checked with issue, evk board didn't support "evkmimxrt1170_tflm_kws_cm7" well. Would you please try EVKB board https://www.nxp.com/design/design-center/development-boards-and-designs/i-mx-evaluation-and-developm...

I am checking the root case based on EVK board.


B.R, Sam

Tags (1)
No ratings
Version history
Last update:
‎11-21-2025 11:03 PM
Updated by: