2012-04-03 10:57 AM
Hi all,
I don't see this mentioned anywhere on the forum, but a new version of the STM32 USB library was released recently and it adds the long-awaited support for the STM32F4 family. I've tried it with the STM32F4-Discovery kit and it works fine after I modified the crystal and clock settings (and removing much of the LCD code for the non-existent display). So far I've got the virtual com and HID examples working reasonably well, considering the hardware differences between the discovery kit and the EVM.Has anyone else tried the library yet?Tony2012-04-11 07:38 PM
No, I haven't tried it yet - though I plan to soon. I previously got the virtual serial port to work using code from mcu.cz. The authors adapted it from the pre-F4 release of the library. I would like to get the USB Audio class examples working with the F4Discovery's codec and microphone.
Jon2012-04-16 12:31 AM
Hi Tony,
I just made a short search for the usb 2.1 library, but I couldn´t find anything, could you give me a link for the library. I just modiefied the''Audio playback and recording using the STM32F4DISCOVER'' example so I could write a file on an USB stick. But if there is a new version I would have a look.
Greetings Bjoern2012-04-20 02:32 AM
Hey Tony !
Great to see somebody else trying the Usb Device Library on the Stm32f4Discovery Board. I have limited success too. I can get a Virtual Com working on the USB on the F4Disc Brd. But, I am stuck on the Usb MSC with the SDCard on the F4Disc Brd. See:
[DEAD LINK /public/STe2ecommunities/mcu/Lists/STM32Discovery/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/STM32Discovery/New Project Download - Virtual Com with Cmd Shell and ADC Reading&FolderCTID=0x01200200770978C69A1141439FE559EB459D75800084C20D8867EAD444A5987D47BE638E0F]New Project Download - Virtual Com with Cmd Shell and ADC Reading
[DEAD LINK /public/STe2ecommunities/mcu/Lists/STM32Discovery/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/STM32Discovery/New Project Download - Virtual Com with Cmd Shell and ADC Reading&FolderCTID=0x01200200770978C69A1141439FE559EB459D75800084C20D8867EAD444A5987D47BE638E0F]https://my.st.com/public/STe2ecommunities/mcu/Lists/STM32Discovery/Flat.aspx?RootFolder=%2fpublic%2fSTe2ecommunities%2fmcu%2fLists%2fSTM32Discovery%2fNew%20Project%20Download%20%2d%20Virtual%20Com%20with%20Cmd%20Shell%20and%20ADC%20Reading&FolderCTID=0x01200200770978C69A1141439FE559EB459D75800084C20D8867EAD444A5987D47BE638E0F -and-[DEAD LINK /public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Using Stm3240g firmware on the Stm32f4Discovery Board&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B]Using Stm3240g firmware on the Stm32f4Discovery Board[DEAD LINK /public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Using Stm3240g firmware on the Stm32f4Discovery Board&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B]https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=%2fpublic%2fSTe2ecommunities%2fmcu%2fLists%2fcortex%5fmx%5fstm32%2fUsing%20Stm3240g%20firmware%20on%20the%20Stm32f4Discovery%20Board&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B2012-04-20 02:56 AM
Tony - can you post a Zip of your Project -so others can try to test/expand it ?
2012-04-26 06:12 AM
Yeah if you could post your working examples, that would be great, I can't quite get my examples to work.
2012-05-14 09:35 PM
2012-05-24 12:40 PM
Yes, do you have some code to show ?
What did you compile with ? How did you set up the project ?2012-06-07 12:49 PM