USB communication

ChibiOS public support forum for topics related to the STMicroelectronics STM32 family of micro-controllers.

Moderator: RoccoMarco

Post Reply
Pask
Posts: 47
Joined: Thu Jun 19, 2014 3:51 pm

USB communication

Post by Pask »

i need to send adn receive data over usb. how i can do it?
User avatar
Giovanni
Site Admin
Posts: 14892
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: USB communication

Post by Giovanni »

A good starting point would be looking at the provided demos.

Giovanni
Pask
Posts: 47
Joined: Thu Jun 19, 2014 3:51 pm

Re: USB communication

Post by Pask »

What demos? I need a simple example with usb communication.
skute
Posts: 64
Joined: Wed Aug 29, 2012 10:17 pm

Re: USB communication

Post by skute »

Pask wrote:What demos? I need a simple example with usb communication.


Not to be rude, but Giovanni's advice was fairly straightforward. Have you downloaded the latest stable release from sourceforge or svn? Have you browsed the contents the release? Perhaps the demo's are kept in the 'demos' directory?
User avatar
Giovanni
Site Admin
Posts: 14892
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: USB communication

Post by Giovanni »

USB is not simple, demos are as close to a minimal example as possible. Like skute suggested, you should give a look among the demos or the test applications under ./testhal.

The distribution includes pretty much all the examples available.

Giovanni
Post Reply