cancel
Showing results for 
Search instead for 
Did you mean: 

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

kylepennington
Associate III
Posted on January 23, 2017 at 03:53

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

#external-phy #usb #usb-hs #ulpi
0 REPLIES 0