WeAct H562RG USB problem

Post Reply
GonzoG
Posts: 459
Joined: Wed Jan 15, 2020 11:30 am
Answers: 32
Location: Prudnik, Poland

WeAct H562RG USB problem

Post by GonzoG »

There's not H5 boards subforum so I'm asking here.

I have WeAct H562RGT6 board board
https://github.com/WeActStudio/WeActStu ... _CoreBoard
I've added new variant for the H562R(G-I)T (.ld script and generic clock), added a variant for WeAct board with HSE.
I've tested digital I/O, analog I/O, UART, SPI, I2C. Everything works without issues.

But USB does not work. I've tried different clock configs. Using HSI48, different clock setups with 48MHz PLLQ. Nothing. I always get "descriptor unknown" in Windows.

MCU also does not go into program after uploading using DFU. It needs to be manually reset.

What else can I try to make it work ??
by GonzoG » Mon Sep 02, 2024 6:51 pm
Dumb mistake ;( Forgot to add USB peripheral clock config. Now USB works.
Go to full post
GonzoG
Posts: 459
Joined: Wed Jan 15, 2020 11:30 am
Answers: 32
Location: Prudnik, Poland

Re: WeAct H562RG USB problem

Post by GonzoG »

Dumb mistake ;( Forgot to add USB peripheral clock config. Now USB works.
Post Reply

Return to “STM32H7 based boards”