how to change microphone ports in usb-audio-mic-array-software?
Posted: Thu Jan 03, 2019 12:33 pm
I have a xcore-array-microphone-board which is running the app_usb_aud_mic_array software. It is working so far. But I want to expand it with more PDM-Microphones via the expansion header.
As my first step I tried to change the pins of the already implementet 8 PDM-microphones to the pins of external PDM microphones. So I could see if that works. But I canĀ“t find out how to do that.
In the module_usb_audio is a file called pcm_pdm_mic.xc in which I found the following code:
Can anybody tell me where PORT_PDM_DATA is defined? I guess it would be the right point to implement my changes...
Thanks for any help!!
As my first step I tried to change the pins of the already implementet 8 PDM-microphones to the pins of external PDM microphones. So I could see if that works. But I canĀ“t find out how to do that.
In the module_usb_audio is a file called pcm_pdm_mic.xc in which I found the following code:
Code: Select all
/* Hardware resources */
in port p_pdm_clk = PORT_PDM_CLK;
in buffered port:32 p_pdm_mics = PORT_PDM_DATA;
in port p_mclk = PORT_PDM_MCLK;
clock pdmclk = on tile[PDM_TILE]: XS1_CLKBLK_3;
Thanks for any help!!