2016-02-15 09:05 PM
Hi
I would like to use the discovery board as a USB audio card which can use usb play music from PC and record sound to PC. When I initialize the USB, I think I need to configure both EP_out and EP_in. SO in usbd_audio_Init() function, I need to use DCD_EP_OPEN function twice? One is for out and the other is for in.Thanks. #stm32f4 #usb-audio2016-02-16 01:27 AM
Hi Heavenfang,
I'd highly recommend you to have a look to Audio_playback_and_record application under the STM32F4 cube firmware package: STM32Cube_FW_F4_V1.11.0\Projects\STM32F4Discovery\Applications\Audio\Audio_playback_and_recordThis application provides a description of an audio play and record with differentMEMS used on STM32F4-Discovery so It will be very useful as starting project to develop your own.-Syrine-2016-02-16 11:49 AM
Thanks, Syrine. I read that code before. But my main problem is about USB data transfer....