Skip to main content
vlr
Associate II
September 2, 2015
Question

Using USB OTG library STM32F207

  • September 2, 2015
  • 2 replies
  • 839 views
Posted on September 02, 2015 at 17:19

Hi, i'm using USB-OTG periphery of STM32F207ZE microcontollers.

I'm a beginner in the program this micro.

I'm using the library stm32_f105-07_f2_f4_usb-host-device_lib but don't know how to fit my case.

I would like to use the USB-OTG to connect my EVAL OLIMEX STM32-P207 with the PC (dual-role USB).

I want to know if there is a good tutorial to learn how to set up libraries to properly use the USB-OTG on STM32F207.

Can you help me?

Do you have any suggestion or some firmware that I can study?

thank you all.

#otg #stm32f207 #library #usb
This topic has been closed for replies.

2 replies

Tesla DeLorean
Guru
September 2, 2015
Posted on September 02, 2015 at 19:23

Do you have any suggestion or some firmware that I can study?

I might recommend the F4-DISCO's firmware update example, it supports an OTG MSC, and would port to an F2 platform.

STM32F4-Discovery_FW_V1.1.0\Project\FW_upgrade

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
vlr
vlrAuthor
Associate II
September 7, 2015
Posted on September 07, 2015 at 18:32

Thanks

for

the answer

,

but

i seek

a way

to use

my

OLIMEX

STM32-P207

both as

host

and as a

device

,

checking

the

ID

pin

of the

USB cable

.

Also

i don't know what

and

how to use libraries of  ''stm32_f105-07_f2_f4_usb-host-device_lib''.