MCP2200EV-VCP Microchip Technology, MCP2200EV-VCP Datasheet - Page 10

MOD EVAL USB/RS232 MCP2200

MCP2200EV-VCP

Manufacturer Part Number
MCP2200EV-VCP
Description
MOD EVAL USB/RS232 MCP2200
Manufacturer
Microchip Technology

Specifications of MCP2200EV-VCP

Design Resources
MCP2200EV-VCP Schematic and PCB
Main Purpose
Interface, USB 2.0 to UART (RS232) Bridge
Embedded
No
Utilized Ic / Part
MCP2200
Primary Attributes
Full Speed (12Mbps)
Secondary Attributes
LED Status Indicators
Processor To Be Evaluated
MCP2200
Processor Series
MCP2200
Interface Type
RS-232, USB
Operating Supply Voltage
3 V to 5.5 V
Silicon Manufacturer
Microchip
Silicon Core Number
MCP2200
Kit Application Type
Interface
Application Sub Type
USB To RS232
Kit Contents
Board, Docs
Tool Type
Demonstration Board
Core Architecture
PIC
Cpu Core
PIC
Data Bus Width
8 bit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MCP2200EV-VCP
Manufacturer:
LT
Quantity:
910
Part Number:
MCP2200EV-VCP
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
MCP2200
2.3
A DLL is provided by Microchip to help the user
develop a custom configurator. See the documentation
on the MCP2200 product page for details on
associating the DLL with a Visual C++ project.
2.3.1
The DLL provides the following functions to allow
configuration of the device and control of the I/O.
2.3.1.1
void InitMCP2200(VID, PID)
bool IsConnected()
2.3.1.2
bool ConfigureIOPins(mask)
bool fnRxLED (On/Off, Toggle/Blink, 100/
200mS)
bool fnTxLED (On/Off, Toggle/Blink, 100/
200mS)
bool fnHardwareFlowControl (On/Off)
bool fnUSBcfg(on/off)
bool fnSuspend (on/off)
bool SetBaudRate (baudrate)
bool ConfigureAll (TRISmask, RxLED, TxLED,
RxTGL, TxTGL, LEDX, FLOW, USBCFG, SSPND,
BaudRate)
2.3.1.3
bool ClearPin(pinnumber)
bool ReadPin(pinnumber)
bool SetPort (portValue)
bool ReadPort(*portValue)
bool WriteEEPROM (Address, Data)
bool ReadEEPROM (Address)
2.3.1.4
Summary:
SimpleIOClass::InitMCP2200 (unsigned int
VendorID, unsigned int ProductID)
bool SimpleIOClass::ConfigureMCP2200
(unsigned char IOMap,
unsigned long BaudRate,
unsigned int
unsigned int
bool
bool
bool
bool SimpleIOClass::SetPin(unsigned int pin)
bool SimpleIOClass::ClearPin(unsigned int
pin)
bool SimpleIOClass::ReadPin(unsigned int pin,
unsigned int *returnvalue)
bool SimpleIOClass::WritePort(unsigned int
value)
bool SimpleIOClass::ReadPort(unsigned int
*returnvalue)
DS22228A-page 10
Simple Configuration and I/O DLL
SIMPLE I/O DLL CALLS
Initialization
Configuration (only needs to be set
once; stored in NVM)
I/O Control
Summary
RxLED,
TxLED,
Hardware Flow Control,
USBCFG pin function,
Suspend pin function)
While ConfigureMCP2200 configures the device
with one call, it may also be configured one
parameter at a time:
bool SimpleIOClass::fnRxLED (unsigned int
mode)
bool SimpleIOClass::fnTxLED (unsigned int
mode)
bool SimpleIOClass::fnHardwareFlowControl
(unsigned int onOff)
bool SimpleIOClass::fnUSBCFG (unsigned int
onOff)
bool SimpleIOClass::fnSuspend (unsigned int
onOff)
bool SimpleIOClass::fnSetBaudRate (unsigned
long BaudRateParam)
bool SimpleIOClass::ConfigureIO (unsigned
char IOMap)
Constants:
const unsigned int OFF = 0;
const unsigned int ON = 1;
const unsigned int TOGGLE = 3;
const unsigned int BLINKSLOW = 4;
const unsigned int BLINKFAST = 5;
2.3.1.5
SimpleIOClass::InitMCP2200 (unsigned int
VendorID, unsigned int ProductID)
Configures the Simple IO class for a specific
Vendor and product ID.
Parameters:
Vendor ID - Assigned by USB IF (www.usb.org)
Holder
Returns:
none
2.3.1.6
bool SimpleIOClass::ConfigureMCP2200
(unsigned char IOMap,
unsigned long BaudRate,
unsigned int
unsigned int
bool
bool
bool
Configures the device's default baudrate,
GPIO configuration and pin functions.
functions set each parameter one at a time.
This configures the part in one call.
Precondition:
The Vendor and Product ID must have been
specified by SimpleIOInit.
Example:
InitMCP2200 (0x04D8, 0x00DF);
Product ID - Assigned by the Vendor ID
InitMCP2200
ConfigureMCP2200
RxLED,
TxLED,
Hardware Flow Control,
USBCFG pin function,
Suspend pin function)
 2010 Microchip Technology Inc.
Other

Related parts for MCP2200EV-VCP