i.MX8MM EVK MICFIL<==> PDM MiC issues

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

i.MX8MM EVK MICFIL<==> PDM MiC issues

Jump to solution
1,195 Views
sreedhar_appala
Contributor IV

Hi,

We are working with i.MX8MM EVK + i.MX 8MIC-RPI-MX8 Board.

i.MX 8MIC-RPI-MX8 Board is interfaced to i.MX8MM EVK through MICFIL (PDM) interface.

when we try do recording for samplerate 48kHz. we are observing overruns.

But when we do recording for samplerate 16kHz , no overruns observed.

Could you please clarify me below questions:

1. SAI and MICFIL are different interfaces in i.MX8MM or MICFIL (PDM) interface is part of SAI

2. MICFIL (PDM Microphone interface) Can support upto what sample rates?

Thank you, Sreedhar

@Igor 

0 Kudos
1 Solution
1,184 Views
igorpadykov
NXP Employee
NXP Employee

Hi Sreedhar

 

1. they are different

2.  sample rate is programmable and described in Reference Manual, as for

hardware capability per sect.3.9.8 PDM timing parameters

i.MX 8M Mini Applications Processor Datasheet for Consumer Products

"PDM clock operative range is from 500 kHz to 6 MHz."

Linux PDM driver is described in sect.7.6.4 Software Overview  i.MX Linux Reference Manual​

"The captured audio format is 8-channels 32-bit wide linear PCM audio data @ 48kHz or 44.1kHz rate."

It can be tested with unit test:

https://source.codeaurora.org/external/imx/imx-test/tree/test/mxc_pdm_test?h=imx_5.4.47_2.2.0

 

Best regards
igor

View solution in original post

0 Kudos
4 Replies
1,185 Views
igorpadykov
NXP Employee
NXP Employee

Hi Sreedhar

 

1. they are different

2.  sample rate is programmable and described in Reference Manual, as for

hardware capability per sect.3.9.8 PDM timing parameters

i.MX 8M Mini Applications Processor Datasheet for Consumer Products

"PDM clock operative range is from 500 kHz to 6 MHz."

Linux PDM driver is described in sect.7.6.4 Software Overview  i.MX Linux Reference Manual​

"The captured audio format is 8-channels 32-bit wide linear PCM audio data @ 48kHz or 44.1kHz rate."

It can be tested with unit test:

https://source.codeaurora.org/external/imx/imx-test/tree/test/mxc_pdm_test?h=imx_5.4.47_2.2.0

 

Best regards
igor

0 Kudos
1,173 Views
sreedhar_appala
Contributor IV

Thank you Igor!!

From :

https://source.codeaurora.org/external/imx/imx-test/tree/test/mxc_pdm_test/README?h=imx_5.4.47_2.2.0

From the README document: 

"Alsa tool to capture raw PDM data from input mic over SAI interface"

MICFIL uses SAI interface?

Could you please clarify, this is confusing to me.

Thank you, Sreedhar

0 Kudos
1,170 Views
igorpadykov
NXP Employee
NXP Employee

Hi Sreedhar

 

>"Alsa tool to capture raw PDM data from input mic over SAI interface"

>MICFIL uses SAI interface?

 

MICFIL captures audio data and sends to SAI module, they are different modules.

 

Best regards
igor

0 Kudos
1,164 Views
sreedhar_appala
Contributor IV
 
0 Kudos