STM32 MCUs Embedded software

Ask questions and find answers on STM32Cube packages, including HAL, LL and middleware, and expansion software.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! TIM5 CH4 PWM Output

Hi all,i initialized the TIM5 CH4 PWM with the cube mx interface and then i used :HAL_TIM_PWM_Start(&htim5, TIM_CHANNEL_4);The output is supposed to be observed on PI0 - D5 on the CN4 on the back. There is nothing on the oscilloscope though. Do you k...

AGaru by Associate III
  • 952 Views
  • 2 replies
  • 0 kudos

USB CDC+MSC Composite Device VID/PID

Posted on February 02, 2015 at 13:03I'm trying to create a USB CDC+MSC composite device using STM32F4 so that it gets automatically recognized by both STM32 CDC driver and as a standard MSC device. Does ST provide a VID/PID pair for such a device? I...

Resolved! How to check vbus is on or off in stm32g4 usb pd?

From the document, the sink will check:A SINK must present an Rd resistor and detection is done in two steps:1. detect the presence of Rp resistor2. detect a VBUS ON.I tested in stm32g431rb, connect ucpd_cc to a power adapter(source), Source send the...

Gbang by Associate III
  • 1180 Views
  • 1 replies
  • 0 kudos

How to properly use the CDC library without UART, how to properly receive data with USBD_CDC_ReceivePacket()

I am using the CDC library as a quick way to get USB communication with a linux machine. I understand that to use the USBD_CDC_TransmitPacket() function you first check the TxState variable in the CDC handle struct then set the buffer with USBD_CDC_...

RAnde.2 by Associate
  • 498 Views
  • 0 replies
  • 0 kudos