Skip to main content
Graduate
December 5, 2023
Solved

USB PHY issue in STM32mp157A

  • December 5, 2023
  • 1 reply
  • 2536 views

Hello,

I am working on a custom board based on STM32MP157A and I am getting all the bits correctly but getting values at reserved bits in USBPHYC version register (Internal) which are supposed to be reserved  as per the reference manual.

Below mentioned screenshots contains :

1.Register from reference manual:

USBPHYC_ReferenceManual.png

2.Below attached image contains values I am getting when reading the register:
 
Screenshot from 2023-12-05 17-24-39.png

And I am confused on how to move forward with usbphy.I hope someone could help me with the problem

Thanks&Regards

Srikanth


 

    This topic has been closed for replies.
    Best answer by PatrickF

    HI @Srikanth1 

    you are right, there is a mistake in the offset of this register in the reference manual. Correct offset is 0x3F4

    Thanks to pointing this issue, will be corrected in a future revision of the document.

    Regards,

    1 reply

    PatrickFAnswer
    Technical Moderator
    December 5, 2023

    HI @Srikanth1 

    you are right, there is a mistake in the offset of this register in the reference manual. Correct offset is 0x3F4

    Thanks to pointing this issue, will be corrected in a future revision of the document.

    Regards,

    Srikanth1Author
    Graduate
    December 6, 2023

    Hi @PatrickF

                Thanks for the reply,now we could read the register correctly.And as of now I am stuck on how to move forward and what can be the next step to be done.

    I hope You could help me with forward with the usb.

    Thanks &Regards,

    srikanth.

    Technical Moderator
    December 6, 2023

    Hi,

    worth to enter a new post describing the issues you encounter with USB.

    meanwhile, some useful links

    https://wiki.st.com/stm32mpu/wiki/USB_overview

    https://wiki.st.com/stm32mpu/wiki/How_to_adjust_USBPHYC_settings_using_USB_Eye_Diagram

     

    Regards.