cancel
Showing results for 
Search instead for 
Did you mean: 

I wish I could use MSC and HID on the same MCU, is there any document on that?

Not applicable

Hello,

I am developing a datalogger that uses a USB keyboard for parameter input and Pendrive to extract the collected data, NTC sensors are used for temperature recording, 10 channels under 12 bits, and display ILI9341.

I am using the STM32F103C8T6. MAX3421E (UHS30 lib) for keyboard interface and CH376S for flash drive interface.

I would like to avoid using too many chips, so I would like to know which MCU model has capacity for two USB Host ports, or that can operate with USB HUB, to access the keyboard (which has mouse, touchpad function) and at the same time access the flash drive.

I have seen that there are some documents, such as UM1720 (STM32Cube USB host library), which deal with the separate parts, MSC and HID.

But I wish I could use MSC and HID on the same MCU (2x USB), is there any document on that?

Thank you.

2 REPLIES 2
Not applicable

Note, the USB keyboard looks like this:

0690X00000AsNmkQAF.jpg

The data obtained from this mini keyboard is the same as the standard wired keyboard.