2016-06-28 11:52 AM
I have looked around on ST website and the forums for getting playback and record working on STM32F4-Discovery board. I only found the playback and record example that uses the FatFs and the USB storage device.
However, I want to get the USB Audio class working where I want to use the Discovery board for both uplink and downlink, i.e., the board should like a speaker and mic to a Windows Host PC via USB. Does anyone have this working and wouldn't mind sharing some pointers? I saw a post from maggie.roxas who got the speaker portion working but I don't see anyone with Microphone working over USB.Any pointers greatly appreciated. Thanks much.2016-06-29 04:24 AM
Hi gaurav_stm,
I recommend you check the ''Audio_Speaker'' example in '' '' at this path STM32_USB-FS-Device_Lib_V4.0.0\Projects\Audio_Speaker. The USB-FS-Device Audio Speaker demo gives examples of how to use the USB-FS-Device peripheral to communicate with the PC host in the isochronous transfer mode. It provides a demonstration of the correct method for configuring an isochronous endpoint, receiving or transmitting data from/to the host. Otherwise, you can search for code example from forum users like this , or in github community like this which would be helful for you. -Hannibal-