mirror of
https://github.com/gdsports/USBHost_t36
synced 2024-11-16 06:05:02 -05:00
Turn on PHY support for low speed
This commit is contained in:
parent
03fb64e1ab
commit
f1c0481d89
@ -74,6 +74,7 @@ void setup()
|
||||
print("init USBHS PHY & PLL");
|
||||
// init process: page 1681-1682
|
||||
USBPHY_CTRL_CLR = (USBPHY_CTRL_SFTRST | USBPHY_CTRL_CLKGATE); // // CTRL pg 1698
|
||||
USBPHY_CTRL_SET = USBPHY_CTRL_ENUTMILEVEL2 | USBPHY_CTRL_ENUTMILEVEL3;
|
||||
USBPHY_TRIM_OVERRIDE_EN_SET = 1;
|
||||
USBPHY_PLL_SIC = USBPHY_PLL_SIC_PLL_POWER | USBPHY_PLL_SIC_PLL_ENABLE |
|
||||
USBPHY_PLL_SIC_PLL_DIV_SEL(1) | USBPHY_PLL_SIC_PLL_EN_USB_CLKS;
|
||||
|
Loading…
Reference in New Issue
Block a user