AnsweredAssumed Answered

How do you set a registry value of an external USB phy with ULPI?

Question asked by kpnz on Jan 23, 2017

I am using the FUSB2805 HS USB phy with the STM32469. The usb interface seems to be working alright. Sometimes the phy gets into a weird state after restarting the micro but not the phy. I would like to perform a soft reset on the phy by setting bit 5 of the phy control register high.

 

The problem is I can't figure out the best way to send this command. I am using the HAL library which has quite a few different layers of abstraction.

 

Does anyone have any experience doing this or where I should be doing this?

 

Currently, to send data the layers look like this:

CDC_Transmit_HS > USBD_CDC_TransmitPacket > USBD_LL_Transmit > HAL_PCD_EP_Transmit > USB_EP0StartXfer > Registers

Outcomes