11.5.3 USB Device Port
11.5.3.1 Supported External Crystal / External Clocks
The SAM-BA Monitor supports a frequency of 12, 16, 24 or 48 MHz to allow USB communication for both external
crystal and external clock.
11.5.3.2 USB Class
The device uses the USB Communication Device Class (CDC) drivers to take advantage of the installed PC Serial
Communication software to talk over the USB. The CDC class is implemented in all releases of Windows
beginning with Windows 98SE®. The CDC document, available at www.usb.org, describes how to implement
devices such as ISDN modems and virtual COM ports.
The vendor ID for Atmel is ID 0x03EB. The product ID is 0x6124. These references are used by the host operating
system to mount the correct driver. On Windows systems, INF files contain the correspondence between vendor
ID and product ID.
11.5.3.3 Enumeration Process
The USB protocol is a master/slave protocol. The host starts the enumeration, sending requests to the device
through the control endpoint. The device handles standard requests as defined in the USB Specification.
Table 11-5. Handled Standard Requests
Request
Definition
GET_DESCRIPTOR
Returns the current device configuration value
SET_ADDRESS
Sets the device address for all future device access
SET_CONFIGURATION
Sets the device configuration
GET_CONFIGURATION
Returns the current device configuration value
GET_STATUS
Returns status for the specified recipient
SET_FEATURE
Used to set or enable a specific feature
CLEAR_FEATURE
Used to clear or disable a specific feature
The device also handles some class requests defined in the CDC class.
Table 11-6. Handled Class Requests
Request
Definition
SET_LINE_CODING
Configures DTE rate, stop bits, parity and number of character bits
GET_LINE_CODING
Requests current DTE rate, stop bits, parity and number of character bits
SET_CONTROL_LINE_STATE RS-232 signal used to indicate to the DCE device that the DTE device is now present
Unhandled requests are STALLed.
11.5.3.4 Communication Endpoints
Endpoint 0 is used for the enumeration process.
Endpoint 1 (64-byte Bulk OUT) and endpoint 2 (64-byte Bulk IN) are used as communication endpoints.
SAM-BA Boot commands are sent by the host through Endpoint 1. If required, the message is split into several
data payloads by the host driver.
If the command requires a response, the host sends IN transactions to pick up the response.
78 SAMA5D3 Series [DATASHEET]
Atmel-11121F-ATARM-SAMA5D3-Series-Datasheet_02-Feb-16