cancel
Showing results for 
Search instead for 
Did you mean: 

Can I have a usage example of usbd_audio_data_transfert function ?

YMENE.1
Associate

Hi,

I would like to program my STM32L4R9ZIJ MCU as audio device. I already filled a buffer with audio samples by using SAI. Now I want to know how to use function like usbd_audio_data_transfert for example to send my audio datas to a PC. The goal is to use Audacity to record audio from my microphone implemented on my MCU. 

I already try to use example from en.x-cube-usb-audio with the STM32F769I-Discovery, but I don't uderstand which function is used to send samples generates by the MEMs microphone and where is this function in the program ? I would have expected to see the function usbd_audio_data_transfert used...

Can somebody explain me how does it works ? And how can I find an other example of audio device use ?

0 REPLIES 0