cancel
Showing results for 
Search instead for 
Did you mean: 

Enabling RCC clocks to USBH peripheral in stm32mp1

srikanth
Associate III

Hello

We are unable to write into USBH registers in stm32mp157.

Actually, we enabled USBHEN and USBHLPEN bits in AHB6ENSETR and AHB6LPENSETR registers.

Then we are unable to access USB memory.

We tried other peripherals same way means enabling clock in rcc registers and accessing respected peripherals memories.

Now what is the issue to USB and How can I access USBH memory.

we followed RM0436 manual.

Thanks & regards

srikanth

1 REPLY 1
PatrickF
ST Employee

Hi @srikanth​ 

did you progress on this ?

USBH follows EHCI/OHCI standard, I guess there is no accessible memory inside as I think they are using descriptors stored in DDR.

Btw, USBH receive many clocks from USBPHY, did you also enable and configured the USBPHY and started the associated 480MHz PLL ?

0693W00000WIWFvQAP.png 

Regards,

In order to give better visibility on the answered topics, please click on 'Select as Best' on the reply which solved your issue or answered your question. See also 'Best Answers'

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.