background image

14

CY3631 WirelessUSB™ Manufacturing Test Kit  User Guide, Doc. # 001-66724 Rev. *B

Firmware

4.2.2

CY4672 PRoC LP RDK Mouse

The manufacturing test module may be optionally compiled, at the expense of code space, by
defining the macro MFG_TEST_CODE. In addition, a more complete version may be compiled by
defining MFG_TX_MODES. The TX modes include the code to perform a carrier test and a random
data test. Entry into this mode on the mouse is performed by placing a shorting block over pins 4 and
5 of the ISSP programming header and then inserting the batteries. To exit the test mode, remove
the batteries and the shorting block.

4.2.3

CY4672 PRoC LP RDK Keyboard

The RDK provides a compile time option to add a manufacturing test mode to the keyboard. If
MFG_TEST_CODE is defined and ENTER_BY_PIN is not defined, you can enter the manufacturing
test mode by holding down the system sleep key and the Bind button, while inserting the batteries
into the keyboard.

If MFG_TEST_CODE and ENTER_BY_PIN are both defined, you can enter the manufacturing test
mode by connecting pins 4 and 5 on the ISSP header with a shunt and then inserting the batteries
into the keyboard. The only way to exit this mode is to cycle power.

4.3

Test Fixture Firmware

The test fixture firmware controls the standard test that is executed when the START button is

pressed. It also enables communication over the serial port. The source code for PSoC

®

 in the MTK

test fixture is included in the kit CD-ROM. You may customize the test firmware as desired. PSoC
can be reprogrammed using the ISSP header on the board. 

Figure 4-1

 shows the location of the

header.

Figure 4-1.  ISSP Header Location 

Summary of Contents for CY3631

Page 1: ...631 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 Phone Intnl 408 943 2600 http www cypress c...

Page 2: ...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 liab...

Page 3: ...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 R...

Page 4: ...4 CY3631 WirelessUSB Manufacturing Test Kit User Guide Doc 001 66724 Rev B Contents...

Page 5: ...onents open cold solder joints 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 m...

Page 6: ...ions for Guides Convention Usage Courier New Displays file locations user entered text and source code C cd icc Italics Displays file names and reference documentation Read about the sourcefile hex fi...

Page 7: ...ons or tighten 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 t...

Page 8: ...19 for instructions on changing the standard test configuration After the test environment is set up put the device to be tested into manufacturing test mode and place it in the shielded container The...

Page 9: ...in the same location and orientation every time It is recommended that you use a test fixture or some other means to ensure proper placement of the DUT each time If alignment guides are added to the c...

Page 10: ...se line is established by passing the test the attenuation is increased and the test repeated Doing this several times increasing the attenuation each time eventually reaches the level where the golde...

Page 11: ...UT and expects the MTK DUT to reply to the same packet with the RX status LEDs on the test fixture indicate if the test succeeds or fails To change the parameters for standard tests such as channel nu...

Page 12: ...12 CY3631 WirelessUSB Manufacturing Test Kit User Guide Doc 001 66724 Rev B Hardware...

Page 13: ...e contains the command type and the remaining bytes contain the parameter value All commands are executed after the received packets are echoed The DUT manufacturing test code adds approximately 500 8...

Page 14: ...de to the keyboard If MFG_TEST_CODE is defined and ENTER_BY_PIN is not defined you can enter the manufacturing test mode by holding down the system sleep key and the Bind button while inserting the ba...

Page 15: ...n the MTK test fixture and the MTK DUT contain two bytes The first byte contains the command type and the subsequent byte s contain the parameter values as shown in Table 4 1 Table 4 1 RF Commands Not...

Page 16: ...16 CY3631 WirelessUSB Manufacturing Test Kit User Guide Doc 001 66724 Rev B Firmware...

Page 17: ...Command Command Description ST Start standard test PN PN code Configure pin code index 0 7 TT tx error threshold Configure TX error threshold 0 65535 units of bit errors RT rx error threshold Configu...

Page 18: ...carriage return and linefeed All responses end with a carriage return and linefeed The serial port settings for the MTK test fixture are shown in Table 5 3 Neither software nor hardware handshake is...

Page 19: ...ntered in hexadecimal format without any prefix or postfix characters see the help menu for an example The letters in the hexadecimal numbers may be lowercase as well A listing of all the supported co...

Page 20: ...leted the request The PD command and the Standard Test command ST both report additional information of bit error rates The TE result is the number of bit errors counted by the DUT and is computed on...

Page 21: ...d3 3d 8a 3e d5 3f 3e OK MTK The standard test can be executed from the PC by typing the ST command at the command prompt in the terminal window The first channel is set to 255 and all following channe...

Page 22: ...d the connectors for passing signals through the walls The requirements are as follows Attenuation of incoming RF energy 30 dB at 2 4 GHz Attenuation of reflected RF energy 15 dB at 2 4 GHz 7 5 dB eac...

Page 23: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information Cypress Semiconductor CY3631...

Reviews: