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
 
9 REPLIES 9

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

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

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.
Evangelist III

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