/var/www/restricted/ssh/stm32/www/stm32circle/ STM CircleOS forum / USB programming

Username:     
Password:     
             

Forum

# 1   2009-11-07 17:55:19 USB programming

groblak
New member
Registered: 2008-06-18
Posts: 2

USB programming

Hello,

Can anybody tell where i could find some information about addressing USB or a tutorial maybe. I would like to start using ARMs and USB in my applications but i dont know how to go about it. I looked at the files in Circle OS folder, the USB libraries but to be honest i could not make much sense out of them. I have some experience with 8 bit micros(pics and motorolas) and i know some C but apparently not enough. I appreciate any help.

Thanks in advance

Offline

 

# 2   2009-11-08 07:39:39 USB programming

themanix
Member
Registered: 2009-10-17
Posts: 17

Re: USB programming

Not sure what you need but here you have USB specs, is this what you are after ?

http://www.usb.org/developers/docs/usb_20_052709.zip

Offline

 

# 3   2009-11-09 09:17:29 USB programming

Francis
Administrator
From: France-Grenoble
Registered: 2007-07-09
Posts: 890

Re: USB programming

There are several examples (mass-storage, mouse, etc..) provided by ST (available on their web site - and documented -). The files managing USB in CircleOS and application are mostly taken from the ST examples.

Offline

 

# 4   2009-11-09 15:35:23 USB programming

themanix
Member
Registered: 2009-10-17
Posts: 17

Re: USB programming

Francis :

There are several examples (mass-storage, mouse, etc..) provided by ST (available on their web site - and documented -). The files managing USB in CircleOS and application are mostly taken from the ST examples.

Link?

Offline

 

# 5   2009-11-09 18:22:53 USB programming

groblak
New member
Registered: 2008-06-18
Posts: 2

Re: USB programming

Thanks for the responses.

I have been reading stuff that themanix pointed me to. Wow, there sure is lots of it. And i was thinking that RS232 was difficult:)

@Francis
I looked at those examples, as well as at the files in Circle OS but i 've trouble understanding them,why there is so many USB files in there. But i found some stuff about USB on ST site. Maybe after reading them i'll be able understand it more easily.

http://www.st.com/stonline/products/lit … n/7775.pdf
http://www.st.com/stonline/products/lit … /13917.pdf
Thats what i found on ST site.

Just a little sugestion, maybe if you Francis or somebody could compile a little tutorial about using USB in C, i think lots of people would kiss your feet:)

Thanks again for response.

Offline

 

# 6   2009-11-13 09:20:07 USB programming

Francis
Administrator
From: France-Grenoble
Registered: 2007-07-09
Posts: 890

Re: USB programming

To be honest, we are not expert for using the USB controller of the STM32. But adapting the programs from ST is quite easy. You will find the download area from: http://www.st.com/mcu/contentid-104.html.

As example to use them in the Primers, you can take a look at the following projects:
http://www.stm32circle.com/projects/project.php?id=17: for a HID example (mouse),
http://www.stm32circle.com/projects/project.php?id=57: for a mass-storage example, but it has been now integrated into CircleOS !
http://www.stm32circle.com/projects/project.php?id=21 for a virtual COMM port using USB.

Offline

 

Board footer