Microchip Technology ADM00393 Data Sheet

Page of 44
MCP2200
DS22228B-page 4
 2011 Microchip Technology Inc.
1.1
Supported Operating Systems
Windows XP (SP2 and later), Vista, and Windows 7
operating systems are supported.
1.1.1
ENUMERATION
The MCP2200 will enumerate as a USB device after
Power-on Reset (POR). The device enumerates as
both a Human Interface Device (HID) for I/O control,
and a VCP.
1.1.1.1
HID
The MCP2200 enumerates as an HID, so the device
can be configured and the I/O can be controlled. A DLL
that facilitates I/O control through a custom interface is
supplied by Microchip.
1.1.1.2
VCP
The VCP enumeration implements the USB-to-UART
data translation.
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.2.1
SERIAL INTERFACE
The control module interfaces to the UART and USB
modules.
1.2.2
INTERFACING TO THE DEVICE
The MCP2200 can be accessed for reading and writing
via USB host commands. The device cannot be
accessed and controlled via the UART interface.
1.3
UART Interface
The MCP2200 UART interface consists of the TX and
RX data signals and the RTS/CTS flow control pins.
The UART is configurable for several baud rates. The
available baud rates are listed in 
.
1.3.1
INITIAL CONFIGURATION
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.
Alternatively, a custom configuration tool can be
created using the Microchip-supplied DLL to set the
baud rate, as well as other parameters. See
 for details.
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.3.2.1
Rounding Errors
The primary baud rate setting (with the rounding errors)
is shown in 
If baud rates other than the ones
shown in the table are used, the error percentage can
be calculated using 
 to find the actual
baud rate.
TABLE 1-3:
UART PRIMARY BAUD 
RATES
TABLE 1-2:
UART CONFIGURATIONS
Parameter
Configuration
Primary Baud Rates
See 
Data Bits
8
Parity
N
Stop Bits
1
Desired Rate
Actual rate
% Error
300
300
0.00%
1200
1200
0.00%
2400
2400
0.00%
4800
4800
0.00%
9600
9600
0.00%
19200
19200
0.00%
38400
38339
0.16%
57600
57692
0.16%
115200
115385
0.16%
230400
230769
0.16%
460800
461538
0.16%
921600
923077
0.16%