![communication - In a USB cable, is it OK to swap the D+ and D- wires? - Electrical Engineering Stack Exchange communication - In a USB cable, is it OK to swap the D+ and D- wires? - Electrical Engineering Stack Exchange](https://i.stack.imgur.com/aD6YA.png)
communication - In a USB cable, is it OK to swap the D+ and D- wires? - Electrical Engineering Stack Exchange
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.
![Protection of USB 2.0 Applications Series: ESD Device Tests and Layout Recommendations for USB Ports | Würth Elektronik: Composants Électroniques & Électromécaniques > Actualités > Blog: World of Electronics Protection of USB 2.0 Applications Series: ESD Device Tests and Layout Recommendations for USB Ports | Würth Elektronik: Composants Électroniques & Électromécaniques > Actualités > Blog: World of Electronics](https://www.we-online.com/web/media/07_electronic_components/news_1/blog/midcom_blog_photos/ANP002_Table_VDD_and_I_O_Pins_res23.png)