2025-12-01 12:50 PM
Hi all,
I am on the lookout for an STM32 microcontroller where the order of USB D+ and D- pins can be "reversed". What I mean by this is that in most ST MCUs I have reviewed the USB pins are arranged so that D+ is above, and D- below it, as exemplified by the following screenshot from CubeMX and a random MCU:
This arrangement makes perfect sense e.g. for SMT USB Micro-B Female connectors as the pin arrangement of such components often nicely aligns with this order.
However, what I want to do is use an SMT USB-A Male connector on a PCB board, such as in this run-the-mill USB Flash Memory example form Kingston:
When a male connector is used, the pins of the connector are often aligned so that I would have to "cross" the wires in order to match the arrangement that ST MCUs expect.
I am aware that I could place the MCU on the bottom side of the PCB and the USB connector to the top side but I specifically do not want to do this, mainly due to the PCB-A supplier I am working with. They charge an arm, leg and your both daughters when you attempt to use two-sided placement.
Thus, I would like to know if there are any ST MCU choices where the pin order is in reverse, like exemplified by the following hand-crafted example:
Has anyone ever wrestled with a similar problem? If yes, which MCU did you end up using? My preference would be something small like 32 pins or less.
2025-12-01 1:19 PM
Hi,
>When a male connector is used, the pins of the connector are often aligned so that I would have to "cross"
I never got this "problem" .
If the send or receive part is connected right, d+ and d- , no matter if you change from host to device :
"cross" is never needed.
So give real example ,with pics : a device, that needs to "cross" usb data line to work.
+
afaik no cpu has the feature: cross d+/- , for correcting wrong design .