2026-01-13 12:04 PM
I just bought a NUCLEO-H7S3L8 board and discovered that STLINK-V3EC on it refuses to connect using some USB-A to USB-C cables. It works fine with other similar cables from different vendors.
The problem appears to be with cables which provide the default 80uA current on both CC lines. These cables do not work. The ones which have only one CC line connected work fine.
The cables which do not work, never gave me any problems with any other USB-C device (e.g. with STLINK-V3MINIE).
I am not sure if having both CC lines powered is against the USB-C spec - it seem a bit of a grey area to me. But there seems to be quite a few cables doing it out there. For instance, I am quite sure that the CC lines were the reason for this user's problem with the same board:
Could ST consider removing the error condition in this case from the STLINK-V3EC firmware?
2026-01-13 2:38 PM
A cable is not allowed to connect both CC lines as this is what allows the host to determine orientation.
What's the role of CC pin in Type-C solution
2026-01-13 2:47 PM
That is correct for a USB-C to USB-C cable. But for a USB-A to USB-C cable (or adapter), the CC lines are terminated inside the cable itself, as they do not come out on the USB-A side. If it is a USB 2.0 cable (no SuperSpeed pairs) the orientation of the USB-C end is irrelevant as both sets of the FS/HS pins are shorted on the device side anyway.
2026-01-15 2:16 AM
I have shared your inquiry with our expert @S C. Maybe he can help on this.
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2026-01-15 2:42 AM
@Lukasz Nowak wrote:it refuses to connect using some USB-A to USB-C cables.
So don't use those cables, then!
Seriously, it is well-known that the quality of USB cables varies, and they can also become faulty/damaged.
Also remember that some cables are for charging only - they give no data connection.
2026-01-15 4:42 AM
Hello Lukasz Nowak,
As stated in previous answers, USB "cables which provide the default 80uA current on both CC lines" don't follow USB Type-C Specification (having both CC line >0.2V is not expected).
The STLINK-V3EC monitors the CC lines at startup to detect the USB power budget, allowing it to power the target and program board overcurrent protection accordingly.
The STLINK-V3MINIE has no power feature, so it does not monitor these lines and may accept non-standard cables.
Please use only standard Type-C cables when using the STLINK-V3EC.
Best regards