2024-06-02 07:41 AM
I need a MCU with a USB host controller. It seems to be hit or miss as to which STM32 chips have this feature. I've tried the product selector on both this site and Digikey, but "host" is only ever listed in the datasheet, so this has proven fruitless. This feature is key to he project I'm working on. I need to be able to connect a keyboard to the chip and be able to read the key presses. The rest of what I need is mostly IO and SPI/I2C, so I'm otherwise not to picky. Still, I'd like to avoid wading through the muck that is the ST MCU lineup, chip by chip, if at all possible.
Solved! Go to Solution.
2024-06-02 07:58 AM
MCUFinder should help you to look for those parts. In general, you will find USB host capability not at the low price end of the available devices.
2024-06-02 07:58 AM
MCUFinder should help you to look for those parts. In general, you will find USB host capability not at the low price end of the available devices.
2024-06-02 07:59 AM
While waiting for better answers, why not to ask Copilot or Gemini?
2024-06-02 04:26 PM
I did not know that was a thing! Thank you!
2024-06-03 12:37 AM - edited 2024-06-03 02:14 AM
In STM32, two types of USB modules are used: a simpler device-only, in the lower-end models; and a host+device type (licenced from Synopsys) marked as OTG in the higher end models. The latter is in the 'F105/'F107, 'F2xx, 'F4xx, 'F7xx, 'H7xx, and higher-end 'L4yx and 'U5yx, where y>=7 (including letters).
There's also one exception, the USB in 'G0Bx is a derivative of the device-only model but it does implement also host.
JW