/var/www/restricted/ssh/stm32/www/stm32circle/ STM CircleOS forum / usb primer 2

Username:     
Password:     
             

Forum

# 1   2009-09-13 16:41:48 usb primer 2

wajdihh
New member
Registered: 2009-09-13
Posts: 5

usb primer 2

i have a project with primer2 but i have a question befor starting " with the USB i can connect a webcam and take a picture ...?"

Offline

 

# 2   2010-01-11 10:25:34 usb primer 2

lpdunwell
Member
From: Switzerland
Registered: 2010-01-07
Posts: 20

Re: usb primer 2

USB on primer 2 is only device, so if you want to connect anything else than a pc to it, you would have to write a complete usb host stack in software, what in theory might be possible, but that's no practicable solution.

Offline

 

# 3   2010-02-11 10:26:27 usb primer 2

wajdihh
New member
Registered: 2009-09-13
Posts: 5

Re: usb primer 2

thx ipDunwell for response ! please i have a other question ...can i connect a GPS receptor (USB) with an STM32 ? i change my Primer2 to a Evolution Bord but i didn't know how impleminting the driver GPS  in the STM32 ! if u have a Idea please help me ! i am new in programing STM because i worked with a PIC that's why i asked u this kind of questions  !!

best regards !

Offline

 

# 4   2010-02-11 12:37:17 usb primer 2

ntrf.zns
Member
From: Belgorod, Russia
Registered: 2009-11-01
Posts: 134

Re: usb primer 2

USB is host contolled bus. This means that there might only one unit with contoll capabilities (Host) and many others responding to it's request (Device). They aren't so different but still incompatible. It's not only a question of stack. There is also difference in power control, addressing and presence of pull-up resistors.

STM32F103 has only Device capabilities and CAN NOT BE USED WITH ANOTHER DEVICE on the SAME BUS. STM32F107 has OTG (On-the-Go USB) wich allows it to act as Host if you use a proper cable.

So far i think conncting primer2 to webcam is impossible.

Last edited by ntrf.zns (2010-02-11 12:38:18)

Offline

 

# 5   2010-02-12 19:15:39 usb primer 2

wajdihh
New member
Registered: 2009-09-13
Posts: 5

Re: usb primer 2

thx for help !

Offline

 

Board footer