cancel
Showing results for 
Search instead for 
Did you mean: 

bug with USB_CHEP_RXTXBD count on stm32H5

Nnabb.1
Associate II

Hi, 

I made an asm soft for the H5 (works well with H7,G4,G0,F7,F4,F0). That software configure the stm32H5 into an USB CDC device. When my frequency of my main clock, apb1 and apb2 is below 220 MHz, my software works well but when i put my main clock upper 220MHz sometimes the count in the USB_CHEP_RXTXBD didnt update immediately after we receive the receive event on it. I have to wait 30 cycles to get the count with the right value.

Best Regards 

1 REPLY 1
MWB_CHa
ST Employee

Hi, @Nnabb.1 

Could you please share the clock configuration function code that you used on STM32H5 ? (including the USB clock configuration of course).