Atmel ARM-Based Evaluation Kit for SAM4S16C, 32-Bit ARM® Cortex® Microcontroller ATSAM4S-WPIR-RD ATSAM4S-WPIR-RD Data Sheet

Product codes
ATSAM4S-WPIR-RD
Page of 1231
SAM4S Series [DATASHEET]
Atmel-11100G-ATARM-SAM4S-Datasheet_27-May-14
424
Windows XP. The CDC document, available at www.usb.org, describes a way to implement devices such as ISDN 
modems and virtual COM ports. 
The Vendor ID (VID) is Atmel’s vendor ID 0x03EB. The product ID (PID) is 0x6124. These references are used by 
the host operating system to mount the correct driver. On Windows systems, the INF files contain the 
correspondence between vendor ID and product ID. 
For More details about VID/PID for End Product/Systems, please refer to the Vendor ID form available from the 
USB Implementers Forum:
http://www.usb.org/developers/vendor/VID_Only_Form_withCCAuth_102407b.pdf
"Unauthorized use of assigned or unassigned USB Vendor ID Numbers and associated Product ID Numbers is 
strictly prohibited."
Atmel provides an INF example to see the device as a new serial port and also provides another custom driver 
used by the SAM-BA application: atm6124.sys. Refer to the document “USB Basic Application”, 
literature number 
6123
, for more details.
24.5.3.1 Enumeration Process
The USB protocol is a master/slave protocol. This is the host that starts the enumeration sending requests to the 
device through the control endpoint. The device handles standard requests as defined in the USB Specification.
The device also handles some class requests defined in the CDC class.
Unhandled requests are STALLed.
24.5.3.2 Communication Endpoints
There are two communication endpoints and endpoint 0 is used for the enumeration process. Endpoint 1 is a 64-
byte Bulk OUT endpoint and endpoint 2 is a 64-byte Bulk IN endpoint. SAM-BA Boot commands are sent by the 
host through endpoint 1. If required, the message is split by the host into several data payloads by the host driver. 
If the command requires a response, the host can send IN transactions to pick up the response.
Table 24-3.
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
Set or Enable a specific feature.
CLEAR_FEATURE
Clear or Disable a specific feature.
Table 24-4.
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 tell the DCE device the DTE 
device is now present.