2024-09-01 07:10 AM - edited 2024-09-01 07:21 AM
Hello everyone!
I'm close to validating all my schematics for a PCB project, and I wanted to be sure at 100% that a section is correct.
I'm talink about the USB-C section, that connects directly to the STM32H7 microcontroller.
It will be used to access a NAND Flash Memory that is connected via SDMMC 4 Bits Wide Bus directly to the STM32 :
Can you please tell me if there's an error?
I also saw that in some designs they connect the CC1 and CC2 pins to a 5.1k resistor each, do I have to do the same for this design?
I'm also confused about the 22 Ohms termination resistors. I saw countless forums and discussions where some people say they're necessary and other people say they're not. What's the recommendation for an STM32H7A3VIT6 microcontroller (Full Speed 12.2Mbps)?
Solved! Go to Solution.
2024-09-01 08:00 AM - edited 2024-09-01 04:16 PM
The spec tells you to either connect the CC lines to a USB-PD controller, or put the 5.1Kohm pulldowns on them.
If you don't, you're a bad person and your device will only get power if connected to an old style type-A USB port via a type-A to type-C cable.
Beware that if the user connects your device to an unpowered USB 2.0 hub, it may only be allowed to draw 100mA of current max. Since the H7 is a power-hungry series, you should make sure you're not drawing more power than allowed. Powered ports will give you at least 500mA (and up to 1.5A), but you can't control what your user will connect to so you should plan ahead for that.
2024-09-01 07:38 AM
> I'm also confused about the 22 Ohms termination resistors. I saw countless forums and discussions where some people say they're necessary and other people say they're not. What's the recommendation for an STM32H7A3VIT6 microcontroller (Full Speed 12.2Mbps)?
For this question I have my answer :) :
2024-09-01 08:00 AM - edited 2024-09-01 04:16 PM
The spec tells you to either connect the CC lines to a USB-PD controller, or put the 5.1Kohm pulldowns on them.
If you don't, you're a bad person and your device will only get power if connected to an old style type-A USB port via a type-A to type-C cable.
Beware that if the user connects your device to an unpowered USB 2.0 hub, it may only be allowed to draw 100mA of current max. Since the H7 is a power-hungry series, you should make sure you're not drawing more power than allowed. Powered ports will give you at least 500mA (and up to 1.5A), but you can't control what your user will connect to so you should plan ahead for that.