SAMA5D3x-EK: Always use UPLL for USB clocking
This commit is contained in:
parent
5bc436283d
commit
1782cfa61d
@ -1115,7 +1115,7 @@ Configurations
|
|||||||
volume when it is removed. But those callbacks are not used in
|
volume when it is removed. But those callbacks are not used in
|
||||||
this configuration.
|
this configuration.
|
||||||
|
|
||||||
7. Support the USB high-speed EHCI device (UDPHS) driver is enabled.
|
7. Support the USB high-speed device (UDPHS) driver is enabled.
|
||||||
These are the relevant NuttX configuration settings:
|
These are the relevant NuttX configuration settings:
|
||||||
|
|
||||||
Device Drivers -> USB Device Driver Support
|
Device Drivers -> USB Device Driver Support
|
||||||
@ -1294,11 +1294,9 @@ Configurations
|
|||||||
it runs out of NAND.
|
it runs out of NAND.
|
||||||
|
|
||||||
OHCI WITH EHCI
|
OHCI WITH EHCI
|
||||||
2013-9-11: OHCI does not work with EHCI. At present, EHCI receives the
|
2013-9-19: OHCI works correctly with EHCI. EHCI will handle high-speed
|
||||||
full- or low-speed devices and correctly hands them off to OHCI. But, for
|
device connections; full- and low-speed device connections will be
|
||||||
some unknown reason, the connection is lost and the port reverts to EHCI which
|
handed-off to the OHCI HCD.
|
||||||
returns the port to OHCI. This sequence of connection events occurs
|
|
||||||
indefinitiely. OHCI does work without EHCI enabled, however.
|
|
||||||
|
|
||||||
hello:
|
hello:
|
||||||
This configuration directory, performs the (almost) simplest of all
|
This configuration directory, performs the (almost) simplest of all
|
||||||
@ -1633,7 +1631,7 @@ Configurations
|
|||||||
11. Support the USB high-speed EHCI host driver can be enabled by changing
|
11. Support the USB high-speed EHCI host driver can be enabled by changing
|
||||||
the NuttX configuration file as follows. If EHCI is enabled by itself,
|
the NuttX configuration file as follows. If EHCI is enabled by itself,
|
||||||
then only high-speed devices can be supported. If OHCI is also enabled,
|
then only high-speed devices can be supported. If OHCI is also enabled,
|
||||||
then all low-, full-, and high speed devices should work.
|
then all low-, full-, and high speed devices will work.
|
||||||
|
|
||||||
System Type -> ATSAMA5 Peripheral Support
|
System Type -> ATSAMA5 Peripheral Support
|
||||||
CONFIG_SAMA5_UHPHS=y : USB Host High Speed
|
CONFIG_SAMA5_UHPHS=y : USB Host High Speed
|
||||||
@ -1986,21 +1984,19 @@ Configurations
|
|||||||
2013-9-11: Basic HSCMI0/1 functionality (with DMA) has been verified.
|
2013-9-11: Basic HSCMI0/1 functionality (with DMA) has been verified.
|
||||||
|
|
||||||
OHCI
|
OHCI
|
||||||
2013-8-16: The OCHI configuration is now basically functional.
|
2013-8-16: The OCHI configuration is functional.
|
||||||
Testing is not yet extensive, however:
|
Testing is not yet extensive, however:
|
||||||
a) I have tested only control and bulk endpoints. I still need
|
a) I have tested only control and bulk endpoints. I still need
|
||||||
to test interrupt endpoints.
|
to test interrupt endpoints.
|
||||||
|
|
||||||
EHCI
|
EHCI
|
||||||
2013-8-26:
|
2013-8-28: EHCI is functional.
|
||||||
The hand-off of full speed devices to OHCI does not work. In this
|
2013-9-19: OHCI works correctly with EHCI. EHCI will handle high-speed
|
||||||
case, OHCI gets the port, but the port is reset, lost by OHCI and
|
device connections; full- and low-speed device connections will be
|
||||||
returned to EHCI. EHCI sees the full-speed port and hands it off to
|
handed-off to the OHCI HCD.
|
||||||
OHCI and this sequence continues forever.
|
|
||||||
2013-8-28: EHCI is partially functional.
|
|
||||||
|
|
||||||
UDPHS
|
UDPHS
|
||||||
2013-9-5: The UDPHS driver is basically functional.
|
2013-9-5: The UDPHS driver is functional.
|
||||||
|
|
||||||
I2C
|
I2C
|
||||||
2013-9-12: I have been unusuccessful getting the external serial
|
2013-9-12: I have been unusuccessful getting the external serial
|
||||||
|
@ -51,7 +51,7 @@
|
|||||||
* definitions will configure operational clocking.
|
* definitions will configure operational clocking.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if !defined(CONFIG_SAMA5_OHCI) || defined(CONFIG_SAMA5_EHCI)
|
#if 1 /* #if !defined(CONFIG_SAMA5_OHCI) || defined(CONFIG_SAMA5_EHCI) */
|
||||||
/* This is the configuration provided in the Atmel example code. This setup results
|
/* This is the configuration provided in the Atmel example code. This setup results
|
||||||
* in a CPU clock of 396MHz.
|
* in a CPU clock of 396MHz.
|
||||||
*
|
*
|
||||||
|
@ -348,7 +348,7 @@ int sam_usbhost_initialize(void)
|
|||||||
|
|
||||||
/* Start a thread to handle device connection. */
|
/* Start a thread to handle device connection. */
|
||||||
|
|
||||||
pid = TASK_CREATE("OHCI monitor", CONFIG_USBHOST_DEFPRIO, CONFIG_USBHOST_STACKSIZE,
|
pid = TASK_CREATE("OHCI Monitor", CONFIG_USBHOST_DEFPRIO, CONFIG_USBHOST_STACKSIZE,
|
||||||
(main_t)ohci_waiter, (FAR char * const *)NULL);
|
(main_t)ohci_waiter, (FAR char * const *)NULL);
|
||||||
if (pid < 0)
|
if (pid < 0)
|
||||||
{
|
{
|
||||||
@ -369,7 +369,7 @@ int sam_usbhost_initialize(void)
|
|||||||
|
|
||||||
/* Start a thread to handle device connection. */
|
/* Start a thread to handle device connection. */
|
||||||
|
|
||||||
pid = TASK_CREATE("EHCI monitor", CONFIG_USBHOST_DEFPRIO, CONFIG_USBHOST_STACKSIZE,
|
pid = TASK_CREATE("EHCI Monitor", CONFIG_USBHOST_DEFPRIO, CONFIG_USBHOST_STACKSIZE,
|
||||||
(main_t)ehci_waiter, (FAR char * const *)NULL);
|
(main_t)ehci_waiter, (FAR char * const *)NULL);
|
||||||
if (pid < 0)
|
if (pid < 0)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user