To what voltage should the D+ line be pulled up when designing USB connection in STM32? +5V or +3.3V? All documentation and dev board scematics says it's 3.3V, but it didn't work.
Hello everyone, I have been learning to work with USB connection in STM32 and while my research I've noticed that some schematics have D+ line pulled up to +5V, when in stm32 dev board schematics and in AN4879 it's pulled up to 3.3V and that's what I did when designing my own board (below schematics from AN4879 and Dicovery VL dev board, I did the same thing). But it didn't work, then I resoldered the D+ line and pulled it up to 5V. After that USB started working and I can write to VCP now. Please could someone clarify this issue and tell me what I've missed?
EDIT: forgot to attach pictures

