C P 2 11 0 - E K
4
Rev. 0.3
6. CP2110 Windows Application
The HIDUart application is an example application that uses the Windows CP2110 HID-to-UART DLL to transmit
and receive data with the CP2110. The application also has access to the CP2110’s GPIO pins. The HIDUart
application is installed as part of the SDK installation process (Section 3). The following steps describe how to start
the application and use some of the features.
1.
Ensure that the hardware is connected to a Windows PC as shown in Section 4. If the device is properly connected,
the red SUSPEND LED on the CP2110 evaluation board will turn on.
2.
Launch the HIDUart application, which is found by clicking
Start
All Programs
Silicon Laboratories
HIDUart
Example
.
3.
In the application, configure the baud rate, data bits, parity, stop bits, and type of flow control using the drop-down
menus. This configuration should match the communication settings used by the serial device.
4.
Click
Connect
to start communication between the application and the CP2110 evaluation board. Once connected, the
USB descriptors retrieved from the device are shown under
Device Information
.
Figure 3. HIDUart Example Application after Connection
5.
Type data in the
Transmit text box
and click
Transmit
to send data from the PC to the serial device.
6.
Send data from serial device to the PC. Any data sent by the serial device to the PC is automatically updated in the
Receive text box
.
7.
The HIDUart example automatically recognizes how the GPIO pins are configured and enables/disables the ability to
change and read the pin. The default configuration is shown in Figure 3. Use the
Get
and
Set
buttons to read and write
the GPIO pins’ latch values. For GPIO pins that are configured as outputs, setting the pin to logic low 0 will turn on the
corresponding LED on the CP2110 evaluation board.
4
5
6
7