Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Simple USB (HID) problem

Status
Not open for further replies.

neddie

Full Member level 5
Joined
Feb 23, 2010
Messages
251
Helped
41
Reputation
82
Reaction score
35
Trophy points
1,308
Location
South Africa
Activity points
3,026
Hi to all.
I find USB as confusing as hell , so sorry if this is an ignorant post :0)
I've got an STM32F102 sending some data(only a few bytes) up to a pc. Pretty
much just emulating a keyboard. Is it possible to send some data from the pc
to the micro , using HID protocol?
HID was the simplest for me to get working , and I only need to send a few (MAX 8) bytes
at a time , so I didn't spend much time looking at the other options , mass storage etc.
Oh , and did I mention I find USB as confusing as hell :0)
(Bring back the usart I say!!! )

Cheers
Neddie.
 

Somebody must be able to point me in the right direction!!
 

I have previously used HID with PIC18F and MikroC and it was straight forward. Yes it is possible to send data from PC to the MCU and vice versa. It is also very simple to simulate using Proteus and HID terminal in MikroC. I am still in the process of moving from PIC to ARM so I can't give you much information about your problem with the STM32F102. But I can suggest that if you only need to interface your mcu with the USB and you don't want to get confused with USB then you can use FT232 or some similar chip.
If you want to use PIC18F and MikroC I will be happy to give you my simulation files (MikroC code and Proteus project) for basic HID testing functionality.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top