Enable onboard MIC

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

Enable onboard MIC

Jump to solution
2,876 Views
u_h
Contributor II

Hi, 

I hope everything is safe and sound

Currently I'm working with MIMXRT685-EVK I'm new bee so I started performing demo example for build a understanding towards board. Now I want to enable onboard MIC and perform a sound test on board here I' following MCUXpresso IDE demo example dmic_i2s code for that but can't able to build understanding in right manner. 

Can anyone help me with this?

It would be really appreciate. 

 

Thanks & Regards 

0 Kudos
Reply
1 Solution
2,836 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @u_h ,

  Sorry for my later reply because of the Chinese dragon boat festival !

  JP7-1 <--> JP8-2, please double check your board, do you connect it right?

 Why you connect JP7-1 to JP7-2, and JP8-1 to JP8-2?

This is my board connection:

kerryzhou_1-1623743850057.png

kerryzhou_2-1623743879048.png

Your connection is totally wrong, please double read the readme.txt, and check your connection, thanks.

Then try it again, you will can hear the sound through j4, please note the code:

if (CODEC_SetVolume(&codecHandle, kCODEC_PlayChannelHeadphoneLeft | kCODEC_PlayChannelHeadphoneRight, 90U) !=
kStatus_Success)
{
assert(false);
}

then build the code and download it.

If you still not work, let me know.

Best Regards,

Kerry

 

 

 

 

 

View solution in original post

0 Kudos
Reply
4 Replies
2,870 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @u_h 

  Thank you for your interest in the NXP MIMXRT product, I would like to provide service for you.

   Now, do you testing this SDK code on the MIMXRT685-EVK, right?

SDK_2.9.0_EVK-MIMXRT685\boards\evkmimxrt685\driver_examples\dmic\dmic_i2s_codec

  Can you hear the sound if you put sound in U40, U41?

I have tested it on my side, it works OK.

If you can't hear it clearly, please modify the codec volume:

kerryzhou_0-1623408631920.png

Please also note, readme.txt in the doc folder:

To make example work, connections needed to be as follows:
JP7-1 <--> JP8-2

I already make it works.

If you still have questions about it, please kindly let me know.

Best Regards,

kerry

 

2,860 Views
u_h
Contributor II

Hi kerry, 

Thank you for your prompt reply. 

Could you please let me know how to check U40, U41 are working properly ?  (how to put a sound - By tapping or by something else !)

I already tried as you suggested to me and input sound is already giving through DMIC but the thing is Can't able to here voice from Line out port. 

Here I'm attaching photo of setting  JP7-1 <--> JP8-2

pls re-verify it once. 

 

Thanks & Regards 

0 Kudos
Reply
2,837 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @u_h ,

  Sorry for my later reply because of the Chinese dragon boat festival !

  JP7-1 <--> JP8-2, please double check your board, do you connect it right?

 Why you connect JP7-1 to JP7-2, and JP8-1 to JP8-2?

This is my board connection:

kerryzhou_1-1623743850057.png

kerryzhou_2-1623743879048.png

Your connection is totally wrong, please double read the readme.txt, and check your connection, thanks.

Then try it again, you will can hear the sound through j4, please note the code:

if (CODEC_SetVolume(&codecHandle, kCODEC_PlayChannelHeadphoneLeft | kCODEC_PlayChannelHeadphoneRight, 90U) !=
kStatus_Success)
{
assert(false);
}

then build the code and download it.

If you still not work, let me know.

Best Regards,

Kerry

 

 

 

 

 

0 Kudos
Reply
2,827 Views
u_h
Contributor II

Hi, 

Thank you kerry 

Yes, I made a wrong connection, I would have thought middle pin is for I/P that's why I connect as JP7-1 to JP7-2, and JP8-1 to JP8-2. 

 

 

Thanks & Regards 

0 Kudos
Reply