2018-08-22 01:10 AM
Hi ..I want to control movements of a robot arm with mouse cursor and buttons connected to STM32F072B discovery board..I am using CubeMx to initialize the peripherals.While in CubeMx i realized that this board has only Usb-device mode(not a host).So my question is whether i can use this board to read the mouse movements which is connected to mini user usb on the board or should i change it to f4 0r f7 which has also a Usb-host mode options
2018-08-22 02:08 AM
If you want to use an USB mouse, you have to go for 'F4 or 'F7.
Another option would be to use a PS/2 mouse.
JW
2018-08-23 06:14 AM
Hello @asim khan ,
The STM32F072 can not be configured as a host, it embeds only a USB 2.0 FS device interface.
So, you should choose another STM32 MCU which provides host capabilities (such as STM32F4 and F7)
Khouloud.