MCP2200
1.1
Supported Operating Systems
1.3
UART Interface
Microsoft Windows XP(SP2 and later)/Vista/7
operating systems are supported.
The MCP2200 UART interface consists of the TX and
RX data signals and the RTS/CTS flow control pins.
1.1.1
ENUMERATION
The UART is configurable for several baud rates. The
available data formats and baud rates are listed in
Table 1-3.
The MCP2200 will enumerate as a USB device after
POR. The device enumerates as both a Human
Interface Device (HID) for I/O control, and a VCP.
1.3.1
INITIAL CONFIGURATION
1.1.1.1
HID
The default UART configuration is 19200, 8, N, 1. The
default start up baud rate can be changed using the
Microchip supplied configuration PC tool. The primary
baud rates are shown in Table 1-3.
The MCP2200 enumerates as a HID so the device can
be configured and the I/O can be controlled. A DLL is
supplied by Microchip that allows I/O control using a
custom interface.
Alternatively, a custom configuration tool can be
created using the Microchip supplied DLL to set the
baud rate, as well as other parameters. See
Section 2.0 “Configuration” for details.
1.1.1.2
VCP
The VCP enumeration implements the USB-to-UART
data translation.
1.3.2
GET/SET LINE CODING
The GET_LINE_CODING and SET_LINE_CODING
commands are used to read and set the UART
parameters while in operation. For example,
Hyperterminal sends the SET_LINE_COMMAND when
connecting to the port. The MCP2200 responds by
setting the baud rate only. The other parameters (Data
Bits, Parity, Stop Bits) remain unchanged.
1.2
Control Module
The control module is the heart of the MCP2200. All
other modules are tied together and controlled via the
control module. The control module manages the data
transfers between the USB and the UART, as well as
command requests generated by the USB host
controller, and commands for controlling the function of
the UART and I/O.
1.3.2.1
Rounding Errors
The primary baud rate setting (with the rounding errors)
are shown in Table 1-3. If baud rates other than the
ones shown in the table are used, the error percentage
can be calculated using Equation 1-1 to find the actual
baud rate.
1.2.1
SERIAL INTERFACE
The control module interfaces to the UART and USB
modules.
1.2.2
INTERFACING TO THE DEVICE
TABLE 1-2:
UART CONFIGURATIONS
Configuration
See Table 1-3
The MCP2200 can be accessed for reading and writing
via USB host commands. The device cannot be
accessed and controlled via the UART interface.
Parameter
Primary Baud Rates
Data Bits
8
N
1
Parity
Stop Bits
1.3.3
CUSTOM BAUD RATES
Custom baud rates are configured by sending the
SET_LINE_CODING USB command, or by using the
DLL. See Section 2.0 “Configuration” for more
information.
DS22228A-page 4
2010 Microchip Technology Inc.