background image

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

Summary of Contents for CP2110

Page 1: ... the CP2110 AN434 CP2110 Interface Specification Describes the HID report format for CP2110 devices 3 Software Setup The Software Development Kit SDK for the CP2110 kit is included on the kit DVD The latest version of this installer can also be downloaded from the www silabs com cp2110ek website This package includes the following Device Customization Utility AN721 Documentation data sheet applica...

Page 2: ... the PC 2 Connect the other end of the USB cable to the USB connector on the CP2110 evaluation board 3 Connect one end of the RS 232 serial cable to the DB 9 connector on the CP2110 evaluation board 4 Connect the other end of the RS 232 serial cable to the target serial device Figure 1 Hardware Setup CP2110 EK Serial Device RS232 CP2110 HID USB to UART Bridge USB ...

Page 3: ...ce and is not compatible with other HID report structures like a mouse or keyboard AN434 CP2110 Interface Specification describes the custom HID report structure for the CP2110 and AN433 CP2110 HID to UART API Specification describes the API software functions that can be used to read or write data and control the CP2110 from the PC The software application described in 6 CP2110 Windows Applicatio...

Page 4: ...ntrol 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 a...

Page 5: ...ectors J8 REGIN pin power connector J9 SUSPEND RED LED connector J12 Self Power mode VDD and GND access connectors Figure 4 CP2110 Evaluation Board with Default Shorting Blocks Installed 7 1 LED Headers J3 J4 J5 J6 J7 Connectors J3 J4 J5 J6 and J7 are provided to allow access to the 10 GPIO pins on the CP2110 Place shorting blocks on these headers to connect the GPIO pins to the 10 green LEDs D0 D...

Page 6: ... J1 connector is provided to facilitate direct access to the CP2110 s UART signals Shorting blocks on J1 are required to connect the UART signals to P2 See Table 4 for J1 pin descriptions Table 2 USB Connector Pin Descriptions Pin Description 1 VBUS 2 D 3 D 4 GND Ground Table 3 RS 232 Pin Descriptions Pin Signal CP2110 Direction Description 2 RXD Input Receive Data 3 TXD Output Transmit Data 5 GND...

Page 7: ... J12 The J8 header is used to connect the CP2110 REGIN pin pin 7 to the VBUS source from the USB connector default or to the CP2110 VDD pin pin 6 When connected to the VBUS source the device is intended for bus powered operation When connected to the CP2110 VDD pin the device is intended for self powered operation When in self powered operation an external power source can be connected to the J12 ...

Page 8: ...CP2110 EK 8 Rev 0 3 8 Schematic Figure 5 CP2110 Evaluation Board Schematic ...

Page 9: ... 1 Kit Contents to change CD ROM to DVD Added 2 Relevant Documentation and 5 CP2110 Software Interface Updated 3 Software Setup to point to the drivers on the website Updated Figure 1 Updated Figure 3 with numbered steps matching the instructions in 6 CP2110 Windows Application ...

Page 10: ...sumes no responsibility for errors and omissions and disclaims responsibility for any consequences resulting from the use of information included herein Additionally Silicon Laboratories assumes no responsibility for the functioning of undescribed features or parameters Silicon Laboratories reserves the right to make changes without further notice Silicon Laboratories makes no warranty rep resenta...

Reviews: