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?
Solved! Go to Solution.
--- 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
--- 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
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