cancel
Showing results for 
Search instead for 
Did you mean: 

I am using STM32F373VC microcontroller. I want to interface a usb keyboard to toggle led connected on pin by pressing key on keyboard.please help me.

knidh
Associate II
 
This discussion is locked. Please start a new topic to ask your question.
9 REPLIES 9

Do you have a question? Where is your code? Where are you struggling?

waclawek.jan
Super User

USB is asymmetric, you have master (Host) and slaves (Devices). Keyboard is a Device. So you'd need the STM32 to act as Host, but the USB in STM32F3xx is Device only.

So you can't.

JW

waclawek.jan
Super User

USB is asymmetric, you have master (Host) and slaves (Devices). Keyboard is a Device. So you'd need the STM32 to act as Host, but the USB in STM32F3xx is Device only.

So you can't.

JW

Pavel A.
Super User

But you can connect a PS/2 keyboard to gpio pins of STM32. We did this. Works great.

-- pa

knidh
Associate II

thank you sir

thank you sir i got answer i am using wrong micro controller for this purpose.

thank you sir

thank you sir

thank you sir