background image

CP2104-EK

Rev. 0.7

3

5.  CP2104 Software Interface

If the Virtual COM Port drivers are used, the CP2104 will appear as a COM port in the Device Manager, as shown
in Figure 2. The CP2104 will always use the lowest available COM port for operation. For instance, if COM ports 1
and 2 are in use by other peripherals and applications, the CP2104 will use COM 3.

The CP2104 functions identically to a COM port from the reference point of both the host application and the serial
device, and it can support serial device control requests defined in the Microsoft Win32

®

 Communications API.

Examples for how to communicate with the device as a serial COM port are included in AN197 on the

www.silabs.com/interface-appnotes

 page or in the SDK.

If the USBXpress drivers are used, the CP2104 will appear as a USB USBXpress device as shown in Figure 2.
Examples for how to communicate with the device using the USBXpress interface are included in AN169 on the

www.silabs.com/interface-appnotes

 page.

Figure 2. CP2104 in Device Manager

Содержание CP2104

Страница 1: ...ftware website This package includes Device Customization Utility AN721 Documentation data sheet application notes user s guide quick start guide etc CP210x Virtual COM Port VCP Drivers Software Driver Customization Utility AN220 and programming examples The Windows installer should launch automatically after inserting the DVD For Mac and Linux browse to the appropriate directory on the DVD to ins...

Страница 2: ...board is connected to a PC as shown in Figure 1 1 Connect one end of the USB cable to a USB Port on the PC 2 Connect the other end of the USB cable to the USB connector on the CP2104 evaluation board 3 Connect one end of the RS232 serial cable to the DB 9 connector on the CP2104 evaluation board 4 Connect the other end of the RS232 serial cable to the target serial device Figure 1 Hardware Setup C...

Страница 3: ...he reference point of both the host application and the serial device and it can support serial device control requests defined in the Microsoft Win32 Communications API Examples for how to communicate with the device as a serial COM port are included in AN197 on the www silabs com interface appnotes page or in the SDK If the USBXpress drivers are used the CP2104 will appear as a USB USBXpress dev...

Страница 4: ...ing Blocks Installed 6 1 LED Headers J2 J3 Connectors J2 and J3 are provided to allow access to the GPIO pins on the CP2104 Place shorting blocks on J2 and J3 to connect the GPIO pins to the four green LEDs DS0 DS3 These LEDs can be used to indicate active communications through the CP2104 Table 1 shows the LED corresponding to each header position 6 2 Universal Serial Bus USB Interface P1 A Unive...

Страница 5: ... Remove the shorting block to power VIO from an external source Pins 3 4 Connects the main 3 V net to the CP2104 VDD Pin 6 The main 3 V net powers the other components four green LEDs and RS232 Sipex Part on the evaluation board Table 3 RS232 Pin Descriptions Pin Signal CP2104 Direction Description 1 DCD Input Data Carrier Detect 2 RXD Input Receive Data 3 TXD Output Transmit Data 4 DTR Output Dat...

Страница 6: ...CP2104 EK 6 Rev 0 7 7 Schematic Figure 4 CP2104 Evaluation Board Schematic ...

Страница 7: ...ual COM Port Driver Installation for Windows on page 1 Updated 2 2 1 USBXpress Installation for Windows on page 2 Removed 2 2 2 USBXpress Installation for Windows 98SE on page 2 Revision 0 4 to Revision 0 5 Updated Figure 3 with shorting blocks installed Revision 0 5 to Revision 0 6 Updated 3 Software Setup on page 1 Revision 0 6 to Revision 0 7 Updated 1 Kit Contents to change CD ROM to DVD Added...

Страница 8: ...umes 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 resentat...

Отзывы: