USB Audio Device - Stm32f4Discovery
Moderators: RoccoMarco, lbednarz, tfAteba
-
jbrandmeyer
- Posts: 5
- Joined: Thu Oct 09, 2014 3:34 pm
Re: USB Audio Device - Stm32f4Discovery
Any change re: isochronous endpoint support, or USB Audio Device class support? I'll note that the STM32F4Discovery and other boards have both digital PDM microphones and headphone jacks for testing purposes. I can contribute Apache-licensed PDM->PCM decimation code for the digital microphone if it'll help move this along.
- Giovanni
- Site Admin
- Posts: 14893
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 996 times
Re: USB Audio Device - Stm32f4Discovery
Hi,
The driver still does not support isochronous endpoints, I am not sure about the amount of work required in order to introduce support.
There is an attached example application in this thread, it could be worth trying to understand where it fails after porting the descriptors in the newest ChibiOS.
Giovanni
The driver still does not support isochronous endpoints, I am not sure about the amount of work required in order to introduce support.
There is an attached example application in this thread, it could be worth trying to understand where it fails after porting the descriptors in the newest ChibiOS.
Giovanni
- Giovanni
- Site Admin
- Posts: 14893
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 996 times
Re: USB Audio Device - Stm32f4Discovery
I studied the documentation a bit, what is missing in the driver is the even/odd frames handling for OUT endpoints, the driver must set a flag manually depending on the frame number, this mean that the information about the last frame must be stored somewhere in the endpoint context.
Giovanni
Giovanni
Re: USB Audio Device - Stm32f4Discovery
Hello, Giovanni!
Any change re: isochronous endpoint support, or USB Audio Device class support?
I'm trying to make USB Microphone on STM32F103, but my device don't Configured my USB bus. Seem like usbInitEndpointI(usbp, AUDIO_STREAM_EPNUM, &epAudioconfig); have no effect.
Any change re: isochronous endpoint support, or USB Audio Device class support?
I'm trying to make USB Microphone on STM32F103, but my device don't Configured my USB bus. Seem like usbInitEndpointI(usbp, AUDIO_STREAM_EPNUM, &epAudioconfig); have no effect.
- Giovanni
- Site Admin
- Posts: 14893
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 996 times
Re: USB Audio Device - Stm32f4Discovery
I merged the proposed patch with no testing, please look at the demo posted at beginning
Giovanni
Giovanni