3.4.1 USB Host/Device

The USB (Universal Serial Bus) is a hot-pluggable general-purpose high-speed I/O standard for computer peripherals. The standard defines connector types, cabling, and communication protocols for interconnecting a wide variety of electronic devices. The USB 2.0 Specification defines data transfer rates as high as 480 Mbps (also known as High Speed USB). A USB host bus connector uses four pins: a power supply pin (5V), a differential pair (D+ and D- pins) and a ground pin.

The SAM9X75-Curiosity board features three USB communication ports named USB-A to USB-C™.

The USB-A port implementation on SAM9X75-Curiosity can act only as a USB device interface and can be accessed via the USB Micro-B connector (J2).

Two resistors (R1 and R2) are placed on its power rail to form a voltage divider, converting 5V into 3.3V that is then used to signal the presence of a USB host to the MPU.

The USB-A port is used as a power source, as mentioned in Power Supply Topology and Power Distribution. In most cases, this port is limited to 500 mA.

In the case of board bring-up, USB-A is the default port used to connect to the MPU over SAM-BA (SAM Boot Assistance). For more information, refer to the product web page.

The following figure shows the USB-A Port.

Figure 3-22. USB-A Port

The following table shows the USB-A connector signal description.

Table 3-6. USB-A Connector Signal Description
Pin No.Signal NameSignal Description
0GND_USBAConnector chassis connected to ground
15V_VBUSFirst port 5V power
2USBA_NFirst port data minus
3USBA_PFirst port data plus
4ID- (Not used)
5GNDFirst port ground

The following table shows the USB-A PIO signal description.

Table 3-7. USB-A PIO Signal Description
PIOSignal NameSignal Description
PC08USBA_VBUS_DETECT_PC08VBUS detection

The USB-B and USB-C ports are connected to both USB Type-A connectors (J15 and J16) and can act as hosts.

USB Host ports B and C are equipped with 500 mA high-side power switches to enable self-powered and bus-powered applications. The USBB_EN_5V_PC27 and USBC_EN_5V_PB18 signals control the current limiting power switch, MIC2026, which in turn supplies power to a client device. Per the USB specification, bus-powered USB 2.0 devices are limited to a maximum of 500 mA, therefore the MIC2026 limits the current and indicates an overcurrent with the USBB_OVCUR_PC28 and USBC_OVCUR_PC29 signals. For more information about the MIC2026, refer to the product web page.

The following figure shows the USB-B and USB-C ports.

Figure 3-23. USB-B and USB-C Ports

The following table shows the USB-B and USB-C connectors signal description.

Table 3-8. USB-B and USB-C Connectors Signal Description
Pin No.Signal NameSignal Description
(J15) 0EARTH_USB_BConnector chassis connected to ground
(J15) 1USBB_VBUS_5VSecond port 5V power
(J15) 2USBB_NSecond port data minus
(J15) 3USBB_PSecond port data plus
(J15) 5GNDSecond port ground
(J16) 0EARTH_USB_CConnector chassis connected to ground
(J16) 1USBC_VBUS_5VThird port 5V power
(J16) 2USBC_NThird port data minus
(J16) 3USBC_PThird port data plus
(J16) 5GNDThird port ground

The following table shows the USB-B and USB-C Power Switch PIO signal description.

Table 3-9. USB-B and USB-C Power Switch PIO Signal Description

PIO

Signal NameSignal Description
PC27USBB_EN_ 5V_PC27Power switch USBB enable (active high)
PC28USBB_OVCUR_PC28Indicates overcurrent USBB (open drain)
PC29USBC_OVCUR_PC29Indicates overcurrent USBC (open drain)
PC31USBC_EN_ 5V_PC31Power switch USBC enable (active high)