AN721-usbxpress-device-config-programming-guide.pdf CP2130-EK 开发板， usb转SPI，速度12Ms
AN721: USBXpressTM Device Configuration and Programming Guide Basic device customization 2. Basic Device Customization Each family of devices has slightly different requirements for configuration. The CP210x devices require a virtual Com Port driver, pro vided by Silicon Labs, to be installed on the host machine before they can be detected and programmed. The CP2130 devices similarly require a separate USB-to-SPI driver. The CP211x devices do not require drivers since they are hid class devices, which are natively supported by most operating systems. The next three sections describe the recommended steps for customizing the device based on the famil 2.1 Customizing the CP210x Non- HID USB Devices The steps to customize the cp2 10x USBXpress devices are as follows 1.RequestauniquepidfromSiliconLabsforyournewproductdesignhttp://www.silabs.com/requestpid,orobtainavid/pidfrom usb. org 2.DownloadtheVcpdriverappropriateforyouroperatingsystemhere:http://www.silabs.com/products/mcu/pages/usbtouartbridg evcpdrivers aspx The stock vcp driver from the website should match the default Vid and pid on the CP210x device. The VCP driver must be installed with matching Vid and Pid to communicate to the device 3. Use 3. 1 Xpress Configurator to change the descriptors in the programmable memory of the device 4.(usbxPressDriverUsersOnly):IFthedesireddriverisuSbxprEss,itcanbedownloadherehttp://www.silabs.com/usbxpress This driver allows direct access using Silicon Labs aPI commands to control the device, rather than having to operate on the de vice as if it were a com port. this driver by default, does not match the default Vid/Pid of the cP210x devices. In order to use this driver, the devices or driver (or both )must be customized to have a matching VID/PID combination. See the tables at the end of this section for the default driver and device vid/pids 5.UsetheUsbDrivercuStomizationWizardandinstructionsinAn220SwandAn220.:UsbDriverCustomizationhttp:// www.silabs.com/products/interface/pages/interface-appLication-notes.aspxtoupdatethedriverforthenewPidandanyotherde scriptors that have been changed from Step 3 6.Microsoft Windows Only): The customized driver is eligible for WHQL re-seller submissions to certify the driver. These submis sions do not have the high cost and testing requirements of an original driver submission. To certify a customized WinUSB driver, registerattheWinQualsite:(https://sysdevmicrosoft.com)toobtainaWinQualaccountwithyourcompany.InternetExploreristhe only web browser that can be used with the WhQl web site. A Verisign id is needed to register an account (instructions for obtain ingoneareavailableatthemicrosoftwebsitehttp://msdn.microsoft.com/en-us/library/windows/hardware/hh801887?ppud=4.The correctVerisignIdistheCodeSignerStandard:http://www.verisign.com/code-signing/microsoft-authenticode/index.html?sl=head- 7.MicrosoftWindowsOnly):AfterobtainingaWinQualaccountnotifytheSiliconLabssupportteam(http://www.silabs.com/contact support)(click on"Open a support request )to be added as a registered Reseller. Provide the driver type(CP2130 WinUSB) and version(e.g, 1.0)when requesting Reseller status 8. Microsoft Windows Only Silicon Labs will add your company as a registered reseller. Your company must complete the provided directions to finish the recertification process Note: For further detailed instructions on Microsoft's submission process for recertification for a customized driver, please view applica- tionnoteAn807:RecertifyingaCustomizedwindowsHckDriverPackageherehttp://www.silabs.com/products/interface/pages/inter- face-application-notes aspx The CP2 10x family of devices provides communication from USB to UART. These devices require drivers on the host machine in order to interface with the device. Silicon Labs provides two sets of drivers to interface with the device 1.virtuAlComPort(vcp)drivers(htTp://www.silabs.com/vcpdrivers)-thisdriverallowsthedevicetoappeartothePcsapplica tion software as a COM port 2.uSbxprEssDrivers(http://www.silabs.com/usbxpress)-thisdriverprovidesaproprietaryaplinorderforapplicationstocommu- nicate to the device without appearing as a CoM port Only one driver can be associated with a particular device at a time. Drivers are associated with devices based on matching vid an PID combinations. The vcp drivers must generally be installed on a machine if interfacing with or configuring a CP210x device that programmed with factory default settings. This is required since the vcp drivers, by default, match the default Vid and Pid combination of cP2 1ox devices In order to use a particular driver with a device, either the driver or the device must be customized so that the ViD/PID combination matches on both the device and the driver. For example, if a device is to be used with the default USBXpress driver, its vid and PID must be changed to 0x10C4 and oxEA61, respectively, since these are the defaults for the USBXpress driver silabs. com Smart Connected. Energy-friendly Rev. 1.4 I AN721: USBXpressTM Device Configuration and Programming Guide Basic device customization The tables below show the default vid and pid values for the device and drivers to establish communication with the driver the vid and pid of the device must match the driver notice that the default cp2 1 ox device vid and pid match the default vcp driver vid and PID numbers Table 2.1. Default Device VID/PID Settings Device Default VID Default PiD CP2101-CP2104 0X10C4 OXEA60 CP2105 0x10c4 OxEAZ0 CP2108 0X10C4 OxEA71 Table 2.2. Default VcP Driver VID/PID Settings Device Default VID Default PID CP2101-CP2104 0x10C4 OXEA6O cP2105 0X10C4 OxEA7O CP2108 0x10C4 OxEA7 1 Table 2.3. Default USBXpress Driver VID/PID Settings Device Default VID Default PiD CP2101-CP2104 0x10C4 OxEA61 Note: CP2105 and cP2108 device can be used with the USBXpress driver, but these devices must be added by customizing the driver usingAn220:UsbDriverCustomizationSoftwarefoundherehttp://www.silabs.com/products/interface/pages/interface-appLication notes. aspx 2.2 Customizing the CP211x HID USB Devices The following are the steps to follow to customize CP21 1X HID USBXpress devices to ensure a unique VID/PID combination 1.RequestauniquePidfromSiliconLabsforanewdesign:http://www.silabs.com/requestpid 2. Use 3. 1 Xpress Configurator (or 3.2 CP21XX Device Customization Software for CP2114 devicesto change the descriptors in the firmware of the device The CP21 1x family does not require a driver because it is automatically recognized as part of the Hid class, which most operating sys- tems recognize with generic, native drivers. However, the CP21 1x does not appear as a standard hid device type such as a keyboard or mouse. Any CP211x PC application will need to use the specific CP21 1x HID specification to communicate with it. This low-level HID specification is documented and provided by silicon Labs in the form of a DLL. Please see AN433: CP2110/4 HiD-to-UAR T AP/ Specifi- cation and AN496: CP2112 HID USB-to-SMBus AP/ Specification for more information silabs. com Smart Connected Energy-friendly Rev.1.4|3 AN721: USBXpressTM Device Configuration and Programming Guide Basic device customization 2.3 Customizing CP2130 USB-to-SPI Devices Perform the following steps to customize the CP2130 USBXpress device 1.RequestauniquePidfromSiliconLabsforyournewproductdesignhttp://www.silabs.com/requestpid,orobtainaVid/PiDfrom http:/www.usb.org/ 2.DownloadtheWinusbdriverappropriateforyouroperatingsystemfromherehttp:/www.silabs.com/cp2130ek.ThestockWi- nUSB driver from the website should match the default Vid and pid in the Cp2130. the driver must be installed with matching Vid and pid to communicate to the device 3. Use 3. 1 Xpress Configurator to change the descriptors in the firmware of the device 4. Modify a copy of the stock WinUSB driver hardware installation file( inf)for the new PID and any other descriptors that have been changed from Step 3. Take care to verify that these customized drivers are completely correct, as none of the files in the driver package can change in any way once the driver has been certified. The strings contained in the inf file affect what is displayed in the [Found New Hardware Wizard dialogs, Device Manager, and the registry. any changes to the windows installation inf files will require new Windows Hardware Quality Labs(whQl)tests 5. Microsoft Windows Only): The customized driver is eligible for WHQL re-seller submissions to certify the driver. These submis- sions do not have the high cost and testing requirements of an original driver submission To certify a customized winusB driver registerattheWinQualsite:(https://sysdev.microsoftcom)toobtainaWinQualaccountwithyourcompanyInternetExploreristhe only web browser that can be used with the WhQL web site. a Verisign id is needed to register an account (instructions for obtain- goneareavailableatthemicrosoftwebsite:http://msdn.microsoftcom/en-us/ibrary/windows/hardware/hh801887?ppud=4.the correctVerisignIdistheCodeSignerStandardhttp://www.verisign.com/code-signing/microsoft-authenticode/index.html?sl=head 6.microSoftWindowsOnly:AfterobtainingawInQualaccountnotifytheSiliconLabssupportteam(http://www.silabs.com/contact- support)(click on Open a support request )to be added as a registered Reseller. Provide the driver type(CP2130 WinUSB) and version(e.g, 1.0)when requesting Reseller status 7.(Microsoft Windows Only Silicon Labs will add your company as a registered reseller. Your company must complete the provided directions to finish the recertification process Note: For further detailed instructions on Microsoft s submission process for recertification for a customized driver, please view applica tionnoteAn807:RecertifyingaCustomizedwindowshcKDriverPackageherehttp://www.silabs.com/products/interface/pages/inter- face-application-notes aspx The CP2130 family of devices provides communication from USB to SPl. This requires a driver to interface to the device. In most ca ses, a generic USB driver, such a Microsoft's WinUSB or the open source libUSB driver, can be used with the CP2130. All that is re quired is to generate a proper driver iNF file that associates a CP2 130 with a specific USB VID/PId with the generic USB driver. The CP2130 evaluation kit ships with a WinUsB driver and inf file that includes support for the default CP2130 VID/PID. In order to cus tomize the cp2130 the user must install this stock driver in order for the cp2 lxx customization software to communicate with the device. Once the CP2130 has been customized and the vid and/or Pid have changed, the user must customize the driver to recognize the new Vid/Pid The CP2130 data sheet lists WinUSB drivers for various Windows operating systems. The steps described below must be followed each time a new operating system is to be supported. If the driver has been certified for Windows 7 32-bit and it becomes necessary to support Windows 7 64-bit, then the driver must be recertified The microsoft certification process must be initiated again, and the resell- er fee must be paid to microsoft for the 64-bit version of the driver. Microsoft requires this certification process, which involves Windows hardware quality labs testing(WHQL). It certifies that the hardware or software has been tested by Microsoft to ensure compatibility Device drivers that pass the WHQL tests are given a digitally-signed certification file, which prevents Windows from displaying a warn ing message that the driver has not been certified by Microsoft silabs.comSmartConnectedEnergy-friendly. Rev.1.4|4 AN721: USBXpressTM Device Configuration and Programming Guide Basic device customization The tables below shows the default vid and pid values for the device and drivers to establish communication with the driver the vid and pid of the device must match the driver notice that the default cp2 130 device vid and pid match the default winusb driver Vid and pid numbers Table 2.4. Default Device VID/PID Settings Device Default VID Default PiD CP2130 0X10C4 0X87A0 Table 2.5. Default WinUSB Driver VID/PID Settings Device Default VID Default pId CP2130 Ox10C4 0X87AO silabs.comSmartConnectedEnergy-friendly. Rev.1.4|5 AN721: USBXpressTM Device Configuration and Programming Guide Device Customization software 3. Device customization software Two utilities are provided by Silicon Labs to customize USBXpress devices: Xpress Configurator within Simplicity Studio, and the lega- cyCp21xXDeviceCustomizationSoftwarebundledwiththisapplicationnoteSimplicityStudiocanbefoundandinstalledfromhttp:// www.silabs.com/simplicity for the CP2114. CP2114 support will be added to Xpress Configurator in a future release can program all USBXpress devices, except Xpress Configurator supports all major operating systems through Simplicity Studio, and The legacy CP2 1xx Device Customization Software is a Windows-only application, and is generally not recommended for devices other than the cp21 14 3.1 Xpress Configurator Simplicity Studio supports device configuration through [Xpress Configurator]. For all USBXpress devices, device USB attributes can be configured · Vendor|D/ Product|D Device Strings: Serial, Product, Manufacturer Release version · USB Power mode In addition most devices have other options that can be configured Modem Signals Special Functions GPIOs Interface Options Eie Edi Navigate Search Projet Rin Test Config Window Help m:cp2103document x CONFIGURATION GROUPINGS CunficuraLiur ' er Mode o 0x0(4 0a0 100 Man facturer string o Port Configuration: UART Baud Rete Alias Configuration DOCUMENTATION PRODLEMS STATUS RESET SAVE PROGRAM TO DEVCE HPORT FROM DEVICE REQUEST PARTS J2]M ot 4 No tev ces active(click to select) Figure 3.1. Xpress Configurator silabs.comSmartConnectedEnergy-friendly. Rev.1.4|6 AN721: USBXpressTM Device Configuration and Programming Guide Device Customization software The tool validates all changes to a configuration and alerts the user to any problems or potential issues with a configuration in a [Prob lems] list toward the bottom of the view. Once the user has developed a configuration that is valid, the user can download the configu ration to a device by clicking [Program to Device Xpress Configurator-cp2103/c32103 document- Simplicity Studio Eile Edit Navigat: Search project Run Test Config Window Help cp2103 document &x CONFIGURATION GROUPINGS Device Confiquration endor|◎ Product id o Mdx Puwer(nA]o Fower Mode o 0x10c4 Bus Powered Manufacturer string o ck Device Silicon labs Prod ct string DOCUMENTATION STATUS e Max Power User value 1,000 out of range [0 to 5001 RESET SAVE PROGRAN TD DEVICE IMPORT FROM DEVICE REQUEST PARTS(→ No devices active (click to select) Figure 3.2. Xpress Configurator Problems view silabs.comSmartConnectedEnergy-friendly. Rev.1.4|7 AN721: USBXpressTM Device Configuration and Programming Guide Device Customization software The tool will also read back the configuration from the device to ensure that the requested values were programmed correctly. In some cases, such as if a device is locked or if a device is one-time-programmable and has been programmed already, the user requested values will not be programmed to the device. In this case, the values that are stored on the device that do not match the requested values will be highlighted s Xpress Configurator -cp2103/cp2103. do:ument- Simplicity Stucia 巴x File Edt Navigate Search Project Run Test Config Window Help t-、画93每 的画回非 cp210Bdocument x CONFIGURATION GROUPINGS Device Configuration Vax 0 0x10c4 100 Bus Powered Manufacturer str ck Device Slicon lab Product string o NEw Product String Minor DOCUMENTAIION PROBLEMS STAT s Failec to program"Product String(cp2-0x_baseset_ics. productString)! Programmed: New Product String Device Returned: CP2lC3 USB to UART Bridge Controller ⑨RsEr PROGRAM TO DEVICE REQUEST PARTS 247Mcf4q0M面 No devices artive (rlirk tn <Elect) Figure 3. 3. Xpress Configurator Programming validation silabs.comSmartConnectedEnergy-friendly. Rev.14|8 AN721: USBXpressTM Device Configuration and Programming Guide Device Customization software The tool also includes data sheet-derived information about each configurable parameter. This information can be accessed by clicking on the small [u buttons next to each parameter. The data sheet text will then appear in the documentation pane toward the bottom of the screen press Ccnfigurator-co2103/=p2103. document- Simp licity Studio 巴回感 file[dit Search Project Run Test Config Window Ilelp 哈国非草 cp2103document x CONFIGURATION GROUPINGS Device Configuration Poyer Made 0x0c4 MEnufacturer string① □ Prod」cf CF2103 USB to UART Bridge 0001 Release ersion o 0080 DOCUMEN TATON STATUS PID he Piuuucl ID is a our uigil hiexauecimlal nunBer ll ral idenTifies tIe ve durs device. OXEA60, Tu exar iple, is thie Pioducl ID [UI SiliconI Lats CP210X USB to UAR Bridge devices RESET SAVE PROGRAM TO DEVIGE MPORT FROM DEVICE REQUEST PARTS 326M0432M山日 N devices active(click to select) Figure 3. 4. Xpress Configurator Parameter Documentation silabs.comSmartConnectedEnergy-friendly. Rev.1.4|9
he Silicon Laboratories的USBXpress® 为C8051F32x, C8051F34x, C8051F38x, C8051T32x, 和 C8051T62x USB 微控制器和CP210x通信提了一个完整的主机和设备的软件解决方案. 任何USB协议或主机设备驱动程序需要的专业...
USBXpress开发包 实例 API驱动 Silicon Laboratories2010-05-22
Silicon Laboratories公司的USBXpress库USBXpress开发包 实例 API驱动Silicon Laboratories
USBXpress Programmer's Guide2010-09-20
USBXpress Programmer's Guide
WinCE 6.0 USBXpress Driver 1.02011-01-28
WinCE 6.0 USBXpress Driver 1.0，USBXpress_WinCE600_ARMV4I。
USBXpress，silicon labs，The USBXpress development kit provides a complete host and device software solution for interfacing CP210x, C8051F32x and C8051F34x devices to the Universal Serial Bus (USB)....
C8051F320的USB通信USBXpress驱动包 ，我已经试验成功 希望大家也能成功
usb开发包 Silicon Laboratories USBXpress2011-07-17
usb开发包 Silicon Laboratories USBXpress
USBXpress™ Direct Driver Support - Royalty-Free Distribution License - Windows Vista/XP/Server 2003/2000 - Windows CE 5.0 and 4.2 Example Applications - Upgrade of RS-232 legacy devices to USB - ...
13.3 知识背景3——USBxpress软件开发包简介 13.4 利用Configuration Wizard获得C8051F320 单片机相关程序代码 13.5 程序解析 13.6 程序的下载和调试 习题与思考题 14 C8051F040 单片机CAN的应用编程 14.1 知识背景1...
C8051F320 USB开发工具包 最新
CP210x驱动程序he CP210x USB to UART Bridge Virtual ... These drivers are static examples detailed in application note 197: The Serial Communications Guide for the CP210x, download an example below:
蓝光过滤器 v3.7.7 for Android 减少蓝光伤害有效保护眼睛，还您一个舒心的睡眠.rar
蓝光过滤器 v3.7.7 for Android 减少蓝光伤害有效保护眼睛，还您一个舒心的睡眠.rar