Page 1 of 1

WeAct H562RG USB problem

Posted: Wed Aug 28, 2024 8:48 am
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 ??

Re: WeAct H562RG USB problem

Posted: Mon Sep 02, 2024 6:51 pm
by GonzoG
Dumb mistake ;( Forgot to add USB peripheral clock config. Now USB works.