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! STM32C0 USB CDC not working

Hi, I am using custom board with STM32C071. I am trying to enable USB port with CDC so that my custom board will be visible as virtual com port on PC. After enabling all options and initializations, I was expecting that my board will appear on PC dev...

PPate1_0-1742920922538.png PPate1_1-1742921070309.png PPate1_2-1742921196299.png PPate1_3-1742921907090.png
PPate.1 by Associate III
  • 904 Views
  • 13 replies
  • 4 kudos

Resolved! USB-PD: CubeMX missing code for SRC PDOs

Hi, I am using the STM32ubeMX v6.14.0 to generate a USB-PD DRP following the link below:https://wiki.stmicroelectronics.cn/stm32mcu/wiki/STM32StepByStep:Getting_started_with_USB-Power_Delivery_Dual_RoleI noticed that when I set the CubeMX to have mor...

DDeba.1 by Associate III
  • 284 Views
  • 3 replies
  • 1 kudos

USBX driver CDC virtual comport

Hi,While configuring STM32U585 controller USBX driver CDC virtual comport device is not showing in device manager. Pl provide sample code for STM32U585VIT6. This is out custom board with a USB port acting as device to the PC.

SKCL-1 by Associate II
  • 181 Views
  • 2 replies
  • 0 kudos

STM32H750 UART latency [Zephyr]

I am using an STM32H750 custom hardware to interface with an external UART device at 38400 baud. (see STM32_block.png). UART 2 is configured to Asynchronous mode.It is used to transfer the following 31 bytes of data to the external deviceff 03 fe f0 ...

High output frequency from DAC

Split from https://community.st.com/t5/stm32cubeide-mcus/problem-with-file-ioc-quot-not-a-valid-ioc-file-quot/td-p/791325 as this is a new questionBut now, I have another question. The file I use is one of the example on stm32G431RB "DAC_SignalGenera...

mala by Associate II
  • 283 Views
  • 4 replies
  • 2 kudos

Resolved! TIM encoder mode with Encoder clock output

I try to combine the enocer mode of TIM1 with a encoder clock period measument using TIM8. The RM0456 (for U5) mentions this in the end of chapter 54.3.25 under the heading "Encoder clock output". TIM1 works fine and counts up and down according to t...

stryga by Associate III
  • 203 Views
  • 1 replies
  • 0 kudos

Resolved! STM32N6 getting stuck in USB_CoreReset( )

I urgently need to get USB High Speed working on USB1 of the STM32N6570-DK. I have attached the .ioc file I am using.I am able to get the GPIO_IOToggle project working on the board. I am able to put breakpoints step through the code.I am using  STM32...