USB¶
The xPico 600 gateway has one USB 2.0 port that supports Device modes. The USB interface allows connection and communication over USB. The gateway supports USB CDC/ACM communication device class. The xPico 600 must be configured for USB Device mode.
USB Device Mode¶
To enable USB Device mode:
USB Device mode must be enabled via CLI or XML.
- Pull the USB_H/D_SEL pin high for Device mode as described in the xPico 600 Integration Guide. This is done with JP3 on the evaluation board.
- In the CLI, enable USB Device mode by executing the following commands:
configUSB Devicestate enabledwrite
For XML, see configgroup USB Device.
- Reboot the device.
The gateway will be enumerated as a virtual COM port. For example, in the Web Manager, the module is displayed as Line CDC_ACM. It is configured the same as Line 1 and it supports all line protocols that are supported by Line 1.
Line HOST_CDC_ACM and Line CDC_ACM Configuration Settings¶
The following table describes the Web Manager Line HOST_CDC_ACM and Line CDC_ACM configuration settings.
Links to the equivalent settings for the CLI and XML reference are listed below.
CLI settings: See Config Line Level
XML settings: See configgroup Line
| Settings | Description |
|---|---|
| Name | Name or short description for the line, if desired. By default, there is no name specified. A name that contains white space must be surrounded by quotations. |
| State | Operational state of the Line. Can be Enabled or Disabled. The default is Enabled. |
| Protocol | Operational protocol for the Line. Choices are: - Command Line - Percepxion Interface - Modem Emulation - Monitor - Mux - None - Trouble Log - Tunnel See Line Operating Modes |
| Gap Timer | Gap timer is the delay in milliseconds to pass from the last character received, before the driver forwards the received serial bytes. By default, the delay is four character periods at the current baud rate (minimum 1 msec). Gap Timer range is 1 to 5000 milliseconds. |
| Threshold | Number of threshold bytes which need to be received in order for the driver to forward received characters. Default value is 56 bytes. |
| Push | If defined, the driver will forward received characters after the Push sequence of characters is received. An example would be <J> |