background image

Rev. 0.3 7/13

Copyright © 2013 by Silicon Laboratories

CP2112-EK

C P 2 11 2 - E K

C P 2 11 2   E

V A L U A T I O N

  K

I T

  U

S E R

S

  G

U I D E

1.  Kit Contents

The CP2112 Evaluation Kit contains the following items:



CP2112 Evaluation Board



USB Cable



DVD



Quick Start Guide

2.  Relevant Documentation

Application notes can be found on the Interface Application Notes page for all fixed-function devices:

www.silabs.com/interface-appnotes

.



AN721: CP210x/CP211x Device Customization Guide

 — Customize the VID, PID, serial number, and 

other parameters stored in the CP2112 one-time programmable ROM.



AN496: CP2112 HID-to-SMBus API Specification

 — Provides function descriptions and examples for all 

of the PC software functions that control the CP2112.



AN495: CP2112 Interface Specification

 — Describes the HID report format for CP2112 devices.

3.  Software Setup

The Software Development Kit (SDK) for the 

CP2112

 kit is included on the kit DVD. The latest version of this

installer can also be downloaded from the 

www.silabs.com/cp2112ek

 website. This package includes:



Device Customization Utility



Documentation 

— data sheet, application notes, user’s guide, quick start guide, etc.



HidSmbusExample 

— Example software utilizing the CP2112 API interface described in AN496.



Library

 — repackaged HID DLL and CP2112 API DLL

The Windows installer should launch automatically after inserting the 

DVD

. For Mac and Linux, browse to the

appropriate directory on the 

DVD

 to install the software package. Follow the instructions to install the SDK to the

system. The CP2112 is an HID device, so a driver does not need to be installed on most operating systems.

Summary of Contents for CP2112

Page 1: ...l the CP2112 AN495 CP2112 Interface Specification Describes the HID report format for CP2112 devices 3 Software Setup The Software Development Kit SDK for the CP2112 kit is included on the kit DVD The latest version of this installer can also be downloaded from the www silabs com cp2112ek website This package includes Device Customization Utility Documentation data sheet application notes user s g...

Page 2: ...3 Connect the other end of the USB cable to the USB connector on the CP2112 evaluation board 4 Connect the SDA SCL and Ground pins on the CP2112 to an SMBus device External pull up resistors are not needed if the pull up resistors on the CP2112 evaluation board are used Figure 1 Hardware Setup CP2112 EK SMBus I2C Device SCL CP2112 HID USB to SMBus I2C Bridge USB SDA ground ...

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

Page 4: ...lication which is found by clicking Start All Programs Silicon Laboratories CP2112 Evaluation Kit HidSmbus Example 3 In this application you can configure the SMBus settings and GPIO pins customize the device descriptors and read write data over the SMBus interface 4 Select the appropriate device in the Connection drop down box and click Connect 5 The Configuration tab enables setting and getting ...

Page 5: ...at were read back click Get Read Write Transfer Status and verify the number of bytes read at the bottom of the application d Next click Force Read Response and then Get Read Response until the application reads back the total number of bytes The bytes will be shown in the Received Data field The status of the CP2112 will be shown at the bottom of the application Figure 4 Performing a Non Addresse...

Page 6: ...Click the Address Read Request button g To see the number of bytes that were read back click Get Read Write Transfer Status and verify the number of bytes read at the bottom of the application h Click Force Read Response and then Get Read Response until the application reads back the total number of bytes The bytes will be shown in the Received Data field The status bar of the application displays...

Page 7: ...ter the Slave address and data in hex in the Write Request box j Click the Write Request button k Click Get Read Write Transfer Status and verify that the transfer completed using the status bar at the bottom of the application Figure 6 Performing a Write using the Example Application 8a 8d 8b 8c ...

Page 8: ... Configuration area Check the boxes for TX Toggle RX Toggle and Clock Output to enable the special functionality on these pins Click the Set GPIO Config button to update the device settings m The Latch Values section enables writing or reading the GPIO latches Clicking the box next the GPIO pins listed will scroll through 1 0 and X for a don t care Click the Write Latch button to change the state ...

Page 9: ... box next to the parameter being modified Click the Set button to program the device with the modified settings The parameter will not be changed without checking the corresponding box Perform a Get after changing any parameters to ensure that the settings updated correctly n The String Descriptors section enables modification of the serial strings in the CP2112 Type a string into the correspondin...

Page 10: ...voltage connector J8 Red SUSPEND LED connector DS0 DS7 Green GPIO LEDs DS8 Red SUSPEND LED TB1 SMBus interface terminal block Figure 9 CP2112 Evaluation Board with Default Shorting Blocks Installed 7 1 LED Headers J1 J2 J3 J4 Connectors J1 J2 J3 and J4 are provided to allow access to the GPIO pins on the CP2112 Place shorting blocks on J1 J2 J3 and J4 to connect the GPIO pins to the eight green LE...

Page 11: ...ns 1 2 Connect CP2112 VIO input pin 5 to CP2112 VDD Pin 6 Remove the shorting block to power VIO from an external source Pins 3 4 Connects the main 3 V net to the CP2112 VDD Pin 6 The main 3 V net powers the other components eight green LEDs on the board 7 5 SMBus Pull Up Voltage Connector J7 This header J7 is included on the evaluation board to provide power options for SMBus pull up voltage The ...

Page 12: ...CP2112 EK 12 Rev 0 3 8 Schematic Figure 10 CP2112 Evaluation Board Schematic ...

Page 13: ...figures from updated PC application Updated Figure 10 on page 12 Revision 0 2 to Revision 0 3 Updated 1 Kit Contents to change CD ROM to DVD Added 2 Relevant Documentation and 5 CP2112 Software Interface Updated 3 Software Setup to point to the drivers on the website Updated Figure 1 Updated the instructions and figures in 6 CP2112 Windows Application ...

Page 14: ...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: