From f1c0481d89cff163e4c0e04ca80ab009afa445ea Mon Sep 17 00:00:00 2001 From: PaulStoffregen Date: Fri, 10 Feb 2017 18:52:12 -0800 Subject: [PATCH] Turn on PHY support for low speed --- k66_usbhost.ino | 1 + 1 file changed, 1 insertion(+) diff --git a/k66_usbhost.ino b/k66_usbhost.ino index e7fd928..f18fdba 100644 --- a/k66_usbhost.ino +++ b/k66_usbhost.ino @@ -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;