打印

该选择哪个USB library(急急如律令)

[复制链接]
3186|10
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
本人打算用STM320F107VC 开发USB HID设备,该使用哪款usb library?
目前手头有STM32_F105-07_F2xx_USB-Host-Device_Lib_V2.0.0 和STM32_USB-FS-Device_Lib_V3.3.0, 这两个库有何不同? 稳定性如何?
沙发
香水城| | 2012-2-28 12:06 | 只看该作者
哦,这个问题可以看看库自带的手册。

使用特权

评论回复
板凳
yifanfeng|  楼主 | 2012-2-28 13:26 | 只看该作者
Actually, these two libraries  both can be downloaded at ST320F107VC's "Design support" which is located at  http://www.st.com/internet/mcu/product/221020.jsp and both support OTG device, the otg files can be found in both library. So I am a little bit lost, which I should choose?

使用特权

评论回复
地板
香水城| | 2012-2-28 13:36 | 只看该作者
My understanding is that both fit your request. The different is that the first library supports both device and host but the second library supports device only. Since you are asking for USB device, you may take either one.

使用特权

评论回复
5
yifanfeng|  楼主 | 2012-2-28 14:00 | 只看该作者
Got it and thanks a lot.

使用特权

评论回复
6
yifanfeng|  楼主 | 2012-2-28 14:48 | 只看该作者
Another question about the USB libary: I downloaded the STM32_USB-FS-Device_Lib_V3.3.0 and open the project STM32_USB-FS-Device_Lib_V3.3.0\Project\Custom_HID\EWARM\Custom_HID using IAR6.30, then build it without any modification, but tons of compiling error occured as showed in the picture attached. Please help me to figure this out. Thanks a lot.

untitled.JPG (40.05 KB )

untitled.JPG

使用特权

评论回复
7
香水城| | 2012-2-28 15:02 | 只看该作者
Sorry that I have no clue cause I never do it.

使用特权

评论回复
8
wangc111| | 2012-2-28 15:53 | 只看该作者
:L

使用特权

评论回复
9
grissiom| | 2012-2-28 18:05 | 只看该作者
IAR 6.20 is incompatible with CMSIS. Ref:

http://supp.iar.com/Support/?note=75890

使用特权

评论回复
10
zjlahtc| | 2012-12-7 14:07 | 只看该作者
yifanfeng 发表于 2012-2-28 14:48:24 |只看该作者 |返回版面
Another question about the USB libary: I downloaded the STM32_USB-FS-Device_Lib_V3.3.0 and open the project STM32_USB-FS-Device_Lib_V3.3.0\Project\Custom_HID\EWARM\Custom_HID using IAR6.30, then build it without any modification, but tons of compiling error occured as showed in the picture attached. Please help me to figure this out. Thanks a lot.


冲突了把  core_cm3.h 下的冲突声明 全部屏蔽就好了。

使用特权

评论回复
11
1427634123| | 2015-10-14 16:45 | 只看该作者
请问能给我发一份STM32F10X USB 2.0.0固件库吗,万分感谢。我的邮箱:1427634123@qq.com

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

4

主题

16

帖子

0

粉丝