Send MEMS-Mic-Audio to PC-Host
Hi,
I try to connect a Nucleo-144-Board to Audacity.
The Project is based on CubeMx5.2/STM32Cube_FW_L4_V1.14.0.
I've read (successfully) in a Mems-Mic via SAI1/DMA2.
The USB-Audio-Device is shown in the Device-Manager and seems to be OK.
I've read the the UM1734 Rev.4
At the Moment I don't understand the Data-Direction of USB-Device (Middleware).
USBD_AUDIO_DataIn means Data-stream STM32L4->PC-USB-Host ??
USBD_AUDIO_DataOut means Data-stream PC-USB-Host->STM32L4 ??
Is DataIn() implemented at all?
I've found the "STM32CubeExpansion_MEMSMIC1_V4.0.0/Microphones_Streaming"-Example.
there is a file:
...\STM32CubeExpansion_MEMSMIC1_V4.0.0\Middlewares\ST\STM32_USB_Device_Library\Class\AUDIO\Src\usbd_audio_in.c with Function "USBD_AUDIO_Data_Transfer()"
Is this the Way to do the job?
Confused a little
Thomas
Vierling Production GmbH
