cancel
Showing results for 
Search instead for 
Did you mean: 

Using USB 2.0 in Type C connector

PY.1
Associate II

Hi,

We are designing a USB 2.0 interface between STM32H750IB and PC.

PC will be acting as Host and STM32H750IB will be acting as Device.

But for some reasons like future upgradability, we are using USB Type-C Connector.

Note that we are going to use USB 2.0 pins for Data transfer alone.

Our concern here is, what all pins/signals we need to use in Type-C connector, may be for configuration process for determining port’s role or for any other reasons also.

Also we are not using power delivery option (neither source nor sink). Can I leave VBUS pin of MCU floating? If not, can we feed from 5V Regulator, instead of Bus power ? Because if we have to feed Bus power in Type-C, then, you might be knowing, that one has to use different chipsets like PD (power delivery) Manager etc.

Appreciate your quick response. 

Best Regards,

Preetham

10 REPLIES 10
Paul1
Lead

Your questions are getting off topic, best post separately to get max responses.

FYI: Just found out you can also program STM32 ICs through their USB port using STM32CubeProgrammer.

Just need D+, D-, and Gnd pins.

Chip must be blank, or make a call from your code into the on chip USB Bootloader.

This is great for us as we can program blank production boards through our robust USB-C diagnostics connector.

Reference AN2606.

Extract from our internal Wiki:

  • STM32 Tutorials/Examples

* ST

** "ST Getting Started":https://wiki.st.com/stm32mcu/wiki/STM32StepByStep:STM32_step_by_step_overview

** "ST Development Zone":https://wiki.st.com/stm32mcu/wiki/Development_zone

** "STM32 Education":https://www.st.com/content/st_com/en/support/learning/stm32-education.html Many Sections & Styles

*** i.e. "STM32L4 with UART by DMA in section 5.2":https://www.youtube.com/playlist?list=PLnMKNibPkDnEEvQWrDqVuu1w_iQ214GXi

* Misc Tutorials:

** "WaveShare":https://www.waveshare.com/

*** "STM32CubeMX_Tutorial_Series:_USART":https://www.waveshare.com/wiki/STM32CubeMX_Tutorial_Series:_USART

  • Useful Links

* "Official STM32 MCU Wiki":https://wiki.st.com/stm32mcu (Includes Tutorials and examples)

* "STM32 Main Page":https://www.st.com/en/microcontrollers-microprocessors/stm32-32-bit-arm-cortex-mcus.html

* "STM32F4xx HAL User Manual":http://www.disca.upv.es/aperles/arm_cortex_m3/llibre/st/STM32F439xx_User_Manual/index.html

* "STM32CubeMX User Manual = UM1718":https://www.st.com/resource/en/user_manual/dm00104712-stm32cubemx-for-stm32-configuration-and-initialization-c-code-generation-stmicroelectronics.pdf

* "STM32CubeIDE User Manual = UM2609":https://www.st.com/resource/en/user_manual/dm00629856-description-of-the-integrated-development-environment-for-stm32-products-stmicroelectronics.pdf

* "@ld@ linker reference guide":https://sourceware.org/binutils/docs/ld/index.html#SEC_Contents

* "OpenSTM32":https://www.openstm32.org/HomePage Examples, Forums... 

* Not very useful: The Examples under this tree are pre-STM32Cube as of 2020Nov: C:\Users\Paul\STM32Cube\Repository

Paul