Skip to main content
Visitor II
March 22, 2020
Solved

USB-OTG suspend on connect

  • March 22, 2020
  • 3 replies
  • 1597 views

Hi,

We're using a STM32MP157C on a custom board and trying to get ethernet over USB to work. We have a type B USB connector on the board and when a cable is connected, the USB peripheral seems to get suspended as the logs from dwc2 shows. We've seen that there are patches for forcing sessions to be valid and added "force-b-session-valid" to the DT node. Yet the only thing we see when we connect is the suspend interrupts firing. Any ideas what's going wrong here?

Thanks

    This topic has been closed for replies.
    Best answer by MLars.10

    Somehow this issue got resolved without any software changes, which makes me believe this was due to some weird hardware/board issue.

    Either way, the logs were taken on a build using the ST Linux git repository on branch v4.19-stm32mp and commit 1cb30cb5ffc29a53ec2031b6a29878ddd266516c which is the same build we finally got it working on. Thanks anyway!

    3 replies

    Technical Moderator
    March 23, 2020

    Which ST release version are you using on your side ?

    MLars.10AuthorAnswer
    Visitor II
    March 23, 2020

    Somehow this issue got resolved without any software changes, which makes me believe this was due to some weird hardware/board issue.

    Either way, the logs were taken on a build using the ST Linux git repository on branch v4.19-stm32mp and commit 1cb30cb5ffc29a53ec2031b6a29878ddd266516c which is the same build we finally got it working on. Thanks anyway!

    Technical Moderator
    March 23, 2020

    Great !