Is STMF411RE proper for the task?
I posted something the other day; that thread is still open, and I'll close it once I have a solution. I think this information must be out there somewhere because right now it's very limited.
Here is the thread: CDC HOST
As I said, I have no problem with the development boards, but your reasoning means that I might still end up with the same problem in the end. Let me explain.
We have 3 chips of the same model but in different packages. This means that the 3 chips have the same functions but a different number of ports.
STM32F411CEU6 (UFQFPN48) / Dev Board: Weact Blackpill. (unofficial) (BlackPill Schematic)
STM32F411RET6 (LQFP 64) / Dev Board: Nucleo-F411RE (Nucleo F411 Schematic)
STM32F411VET6 (LQFP 100) / Dev Board: F411-Disco (Disco F411 Schematic)
First, I should start by saying that tutorials for HOST/CDC mode are very rare. Usually, the code generated by CubeMX is reliable, and in this case, I was able to test the DEVICE/CDC part without any issues.
In my opinion, I should have no trouble at all with the F411-DISCO, because it’s well documented. With the Nucleo, I might run into some issues since the schematic for the USB connector is different. And for the BlackPill, it’ll probably be a whole different story.
Now, in the end, I’ll be back with the same problem. When I try to make another custom board, I’ll still need to figure out where my problem is coming from, because the final board will be based on an STM32F411CEU6.
The fun thing about a breadboard is that you build it as you go along and can test it at every step. And in the end, all you have to do is transcribe everything into a PCB editor. With a development board, you’ll be forced to scavenge things without necessarily being able to test everything. So in both cases, you need to know about that little magic box that makes all the difference.
Now, before I buy a Nucleo-F411RE, is it capable of handling HOST/CDC? I tried a Bluepill (DEVICE) and a Blackpill (HOST), but nothing happened... The DEVICE mode works great. I even tried using the Blackpill in device mode, and that worked fine. The UART part works too... It’s just the HOST.
I don’t want to waste money if I’m just going to end up back at square one. Plus, I might as well switch to the ESP32... but yuck, their suite is Python-based. I’d rather stick with STM32CubeIDE.

