cancel
Showing results for 
Search instead for 
Did you mean: 

Newbie on stm32 (USB HID or CDC on f3 discovery)

idealsim
Associate II
Posted on February 28, 2014 at 23:00

Hi, i'm newbie on stm32 and i have some questions about it ! I have f3discovery and i would like to communicate with my pc by usb ! I want to send to my pc the angles values of the gyroscope. On my pc i use Qt. I have compiled libusb and hidapi (i don't know for the moment witch i need to use) ... I already send data to my pc with USART (with FTDI) but i want to use USB. I know serial com with Qt but not usb for the moment. On the exemple give with this card they don't have an exemple with cdc (vpc) just an exemple with USB Hid ! I just want to send angular data to my pc, do you think it's better for me to use cdc or hid (i think for data transfert isochronous is better ?) Do you have an exemple of cdc transfert with this card ?

2 REPLIES 2
love-peace2001
Associate II
Posted on March 04, 2014 at 22:28

Look at this example, it will help you:

http://www.pezzino.ch/stm32f3-discovery-usb-virtual-com-port/

idealsim
Associate II
Posted on March 08, 2014 at 10:53

Thanks, i already find this link and now i have the com ...