Download Print this page

Microchip Developer Explorer 16/32 User Manual page 13

Advertisement

Explorer 16/32 Development Board User's Guide - Developer Help
(Communication Device Class - Abstract Control Model) drivers automatically, such
that no manual driver installation procedures should be necessary.
Identifying and Connecting to the MCP2221A USB-UART Adapter Function
Windows Operating Systems
Once the USB drivers are properly installed, a new serial port object should become
available for application use. Under Windows, the serial port should become visible
from the Windows Device Manager, in the "Ports (COM & LPT)" category, and should
be assigned a new COMx name (where x is a number, ex: "COM2"). The exact
COMx number assigned to the hardware will depend in part upon how many COMx
based hardware devices have previously been connected to the machine, as each
new hardware instance must be assigned a new and unique number, to avoid
potential conflicts (e.g., two simultaneously attached hardware devices are not
allowed to share the same COMx number).
If a machine currently has more than one COMx based hardware device attached to
the machine, multiple COMx entries (but different numbers, e.g., COM1 and COM2)
may exist in the Windows Device Manager "Ports (COM & LPT)" category, and it may
not be clear which COMx port number is specifically associated with the MCP2221A
device. If this occurs, the COMx number can be manually identified by temporarily
detaching the USB connection to the MCP2221A, while watching the Windows
Device Manager, to identify which device entry disappears (and subsequently
re-appears in the list, upon re-attaching the MCP2221A).
Once the COMx port number assigned to the MCP2221A is known, any conventional
serial port terminal program can be used to open/close/read/write to the COMx port.
Upon opening the COMx port and writing characters to it, the MCP2221A will forward
the characters out the hardware UART TX pin (which would normally be connected
to the PIM microcontroller via jumper J37). Similarly, characters originating from the
Explorer 16/32 Development Board (or attached accessories) will be transmitted to
the host terminal program, when J38 is capped. Although any standard third party
serial terminal program can be used, Microchip provides an example USB plug and
play aware serial terminal program, called "USB_Serial_Terminal", which can be
downloaded below:
Files
USB_Serial_Terminal (https://microchip.box.com/shared/static
/1awy5uq099e3c87awth7wajiikcaqvz9.zip)
The USB_Serial_Terminal is also distributed in the Microchip Libraries for
Applications (MLA) (http://www.microchip.com/mla).
Full source code is provided with the application, which can automatically identify
13 z 18
http://microchipdeveloper.com/boards:explorer1632
7.6.2017 8:59

Advertisement

loading
Need help?

Need help?

Do you have a question about the Explorer 16/32 and is the answer not in the manual?