MIC function on RT1060 MCU without audio codec

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

MIC function on RT1060 MCU without audio codec

710 Views
JarvisC
Contributor II

Hi NXP,

 

We plan to connect MIC via I2S or ADC pin of RT1060 MCU, but we did not know how to get the MIC volume in the RTOS.

Is there any design or example code that could get the MIC via I2S or ADC of RT1060?

 

Thanks.

Labels (1)
Tags (1)
0 Kudos
5 Replies

692 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @JarvisC ,

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

  What's the MIC you are using? Digital or just the I2S wave control?

   If just the I2S wave control, as I know, no directly volume control, normally, the customer can add the driver board, change the driver ability to change the volume.

  You can consider, external driver circuit control the volume.

 

Wish it helps you!

Best Regards,

Kerry

0 Kudos

663 Views
JarvisC
Contributor II

Hi Kerry,

There are two design to add the MIC to get the dB of volume from MIC.

1. Use MIC to connect to the ADC pin of RT1060

2. Use MIC to connect to I2S pin of RT1060

Which solution is the workable design and could implement the function to get the dB of volume in the RTOS source code?

 

Thanks.

0 Kudos

658 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @JarvisC ,

  It is determined by your MIC, whether it can output the volume data? And the volume data is from ADC or the I2S interface.

  Eg, if your MIC can use I2S output the volume data, then you can use I2S.

So, you still need to check your MIC, if it is just the normal MIC, just the audio data, not the volume, then maybe you still need to use the hardware to control it.

 

Wish it helps you!

Best Regards,

Kerry

0 Kudos

578 Views
JarvisC
Contributor II

Hi Karry,

We use digital microphone that was connect to BCLK: GPIO_AD_B1_14 / SYNC:GPIO_B1_03 / DATA:GPIO_B1_00 on RT1061 MCU.

What example is that I could use to implement the micphone function to receive volume?

Thanks.

0 Kudos

561 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @JarvisC ,

  About the volume, I think you need to check your used digital Mic datasheet.

  Take an example, it has the register which include the volume, then you can use the interface to read it.

 

Wish it helps you!

Best Regards,

Kerry

0 Kudos