Cypress CY3631 User Manual

CY3631
WirelessUSB™ Manufacturing Test Kit
User Guide
Doc. # 001-66724 Rev. *B
Cypress Semiconductor
198 Champion Court
San Jose, CA 95134-1709
Phone (USA): 800.858.1810
http://www.cypress.com
Copyrights
Copyrights
© Cypress Semiconductor Corporation, 2011-2012. The information contained herein is subject to change without notice. Cypress Semiconductor Corporation assumes no responsib ility for the use of any circu itry other than circuitry embodied in a Cypress product. Nor does it convey or imply any license under patent or other rights. Cypress products are not warranted nor intended to be used for medical, life support, life saving, critical control o r safety applications, unless pursuant to an express written agreement with Cypress. Furthermore, Cypress does not authorize its products for use as critical components in life-support systems where a malfunction or failure may reasonably be expected to result in significant injury to the user. The inclusion of Cypress products in life-support systems application implies that the manufacturer assumes all risk of such use and in doing so indemnifies Cypress against all charges.
Any Source Code (software and/or firmware) is owned by Cypress Semiconductor Corporation (Cypress) and is protected by and subject to worldwide patent protection (United States and foreign), United States copyright laws and international treaty provisions. Cypress hereby grants to licensee a personal, non-exclusive, non-transferable license to copy, use, modify, create derivative works of, and compile the Cypress Source Code and derivative works for the sole purpose of creating custom software and or firmware in support of licensee product to be used only in conjunction with a C ypress integrated circuit as specified in the applicable agreement. Any reproduction, modification, translation, compilation, or representation of this Source Code except as specified above is prohibited without the express written permission of Cypress.
Disclaimer: CYPRESS MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO THIS MATERIAL, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. Cypress reserves the right to make changes without further notice to the materials described herein. Cypress does not assume any liability arising out of the application or use of any product or circuit described herein. Cypress does not authorize its products for use as critical components in life-support systems where a malfunction or failure may reasonably be expected to result in significant injury to the user. The inclusion of Cypress’ product in a life-support systems application implies that the manufacturer assumes all risk of such use and in doing so indemnifies Cypress against all charges.
Use may be limited by and subject to the applicable Cypress software license agreement.
®
WirelessUSB is a trademark and PSoC
is a registered trademark of Cypress Semiconductor Corporation. All products and
company names mentioned in this document may be the trademarks of their respective holders. Purchase of I2C components from Cypress or one of its sublicensed Associated Companies conveys a license under the
Philips I2C Patent Rights to use these components in an I2C system, provided that the system conforms to the I2C Standard Specification as defined by Philips. As from October 1st, 2006 Philips Semiconductors has a new trade name - NXP Semiconductors.
Flash Code Protection
Cypress products meet the specifications contained in their particular Cypress PSoC Data Sheets. Cypress believes that its family of PSoC products is one of the most secure families of its kind on the market today, regardless of how they are used. There may be methods, unknown to Cypress, that can breach the code protecti on features. Any of these methods, to our knowledge, would be dishonest and possibly illegal. Neither Cypress nor any other semiconductor manufacturer can guarantee the security of their code. Code protection does not mean that we are guaranteeing the product as “unbreakable.”
Cypress is willing to work with the customer who is concerned about the inte grity of their co de. Code prot ection i s constantly evolving. We at Cypress are committed to continuously improving the code protection features of our products.
2 CY3631 WirelessUSB™ Manufacturing Test Kit User Guide, Doc. # 001-66724 Rev. *B

Contents

1. Introduction 5
1.1 Introduction..................................................................................................................5
1.2 Kit Contents........ ... ... ... ... .............................................................................................5
1.3 Document Revision History ........................................................................................6
1.4 Documentation Conventions........................................................................................6
2. Kit Operation 7
2.1 Hardware Setup...........................................................................................................7
2.2 Execute Standard Test................................................................................................8
2.3 Calibration....................................................................................................................9
3. Hardware 11
3.1 Theory of Operation............................................................... .... ... ... ... ... .... ................11
3.2 Schematic..................................................................................................................11
4. Firmware 13
4.1 Overview....................................................................................................................13
4.2 DUT Test Code...................... ... ... .... ... .......................................... ... ..........................13
4.2.1 CY4672 PRoC LP RDK Bridge.................. ... .... ... ... ... .... ... ... ... ... .... ... ... ... .......13
4.2.2 CY4672 PRoC LP RDK Mouse...................................... ... .............................14
4.2.3 CY4672 PRoC LP RDK Keyboard................ .... ... ... ... .... ... ... ... ... .... ... ... ... .... ...14
4.3 Test Fixture Firmware................................................................................................14
4.4 RF Protocol................................................................................................................15
5. Command Line Interface 17
5.1 Serial Command Line Interface.......... ... ... .... ... ... ... .......................................... ... .... ...17
Appendix 19
Appendix - A ....................... ... ... .... ... ... ... .... ..........................................................................19
Using the Command Line Interface ..........................................................................19
Appendix - B ....................... ... ... .... ... ... ... .... ..........................................................................22
Test Chambers .........................................................................................................22
CY3631 WirelessUSB™ Manufacturing Test Kit User Guide, Doc. # 001-66724 Rev. *B 3
Contents
4 CY3631 WirelessUSB™ Manufacturing Test Kit User Guide, Doc. # 001-66724 Rev. *B

1. Introduction

1.1 Introduction

The CY3631 – WirelessUSB™ Manufacturing Test Kit (MTK) enables Cypress’s customers to test their WirelessUSB products in a manufacturing environment without the use of expensive RF test equipment. The highly integrated nature of the WirelessUSB radio device ensures that there are very few errors in the assembly process. The device is tested before it leaves the Cypress factory. There are only a few critical components on the customer ’s board that affect the operation of the radio. Most of the possible assembly level failures (missing components, open/cold solder joint s, and pin-to-pin shorts) cause a large reduction in transmitted power or receive sensitivity if the unit functions. A simple functionality test at maximum range eliminates most bad units.
The MTK prevents testing each unit over long distance and interference between multiple units that may be on the test floor simultaneously. This is because the MTK is designed to simulate a limit-of­operation condition using a shielded test fixture and enclosure.

1.2 Kit Contents

The MTK contains the following items:
MTK test fixture
12 SubMiniature version A (SMA) to SMA coaxial cables
24 SMA to SMA coaxial cables
SMA-F to SMA-F adapter
Six fixed 50-ohm attenuators: 1 dB, 2 dB, 4 dB, 7 dB, 15 dB, and 30 dB
SMA 2.4-GHz antenna
Power supply transformer
CD with firmware source and documentation
Figure 1-1. Manufacturing Test Contents
CY3631 WirelessUSB™ Manufacturing Test Kit User Guide, Doc. # 001-66724 Rev. *B 5
Introduction

1.3 Document Revision History

Table 1-1. Revision History
PDF
Revision
** 03/24/2011 NXZ New kit guide *A 11/03/2011 CSAI Updated DUT test code section. *B 02/27/2012 ELIN No technical updates.
Creation
Date
Origin
of
Change

1.4 Documentation Convent ions

Table 1-2. Document Conventions for Guides
Convention Usage
Courier New
Italics
[Bracketed, Bold]
File > Open
Bold
Times New Roman
Text in gray boxes Describes cautions or unique functionality of the product.
Displays file locations, user entered text, and source code:
C:\ ...cd\icc\
Displays file names and reference documentation: Read about the sourcefile.hex file in the PSoC Designer User Guide.
Displays keyboard commands in procedures: [Enter] or [Ctrl] [C]
Represents menu paths: File > Open > New Project
Displays commands, menu paths, and icon names in procedures: Click the File icon and then click Open.
Displays an equation:
2 + 2 = 4
Description of Change
6 CY3631 WirelessUSB™ Manufacturing Test Kit User Guide, Doc. # 001-66724 Rev. *B

2. Kit Operation

2.1 Hardware Setup

1. Attach the supplied antenna to the SMA pass-through connector of the test chamber. a. Use the SMA pass-through that is furthest from the sides of the chamber if there are more
than one.
b. Orient the antenna at either 0 degrees or 90 degrees. It is important that you keep the same
relative position and orientation of the fixed antenna and the device under test (DUT) for all tests. These can affect the signal strength. See Figure 2-1.
2. Attach one coaxial cable to the matching SMA outside the cha mber. a. Make certain to connect to the same pass-through that has the antenna installed.
3. Attach the other cable to the SMA on the MTK test fixture. a. Use an appropriate SMA torque wrench on all SMA connections or tigh ten your finger to avoid
damaging the connectors. It is important that the connections are tight enough so that proper contact is made. Loose connections can impact the repeatability of the test.
4. Place fixed or variable attenuators between the two cables. a. Determine the correct attenuation. b. If you are using the supplied fixed attenuator s, use the female-to-female adapter to conn e ct
the male end of the attenuators to the cable.
5. (Optional) Attach a serial cable (not included) be tw ee n th e MT K te st fixtu re an d the com p ut er. a. If a computer is used for setup or testing, attach it to the serial port with a serial cable or a
USB-to-serial adapter cable (not included).
b. See Appendix - A on page 19 for the default setting of the serial port on the test fixture.
6. Insert the power plug into the MTK test fixture. a. The MTK test fixture goes through a power-on self-check, which lights all of the LED
indicators. After the green PASS light is lit, the test fixture is ready for use or to receive serial commands.
CY3631 WirelessUSB™ Manufacturing Test Kit User Guide, Doc. # 001-66724 Rev. *B 7
+ 16 hidden pages