Cypress CY4672 manual Mfgtestcode

Models: CY4672

1 126
Download 126 pages 13.98 Kb
Page 85
Image 85

Bridge

5.3.6Configuration Options

All configuration options for the application can be found in the config.h file, and some of them are defined in the Project > Setting > Compiler > Macro defines. Each option is explained below and can be changed to values that meet the developer’s needs.

5.3.6.1MFG_TEST_CODE

This configuration definition is used to selectively compile in the manufacturing test code. The man- ufacturing test code in this bridge is compatible with the CY3631 Manufacturing Test Kit offered by Cypress Semiconductor. See Mfgtest Module on page 84 for a description of how this test mode is executed. See the CY3631 Manufacturing Test Kit documentation for a description of the test opera- tion.

5.3.6.2MFG_TX_MODES

When the MFG_TEST_CODE is defined, the definition of this name adds a carrier and random data TX test option. See Mfgtest Module on page 84 for more information on these TX modes.

5.3.6.3MFG_ENTER_BY_PIN

This configuration definition is used to selectively compile in a method to enter the manufacturing test code. When this value is defined, the manufacturing test code may be executed by grounding a specific pin during insertion of the PRoC LP RDK bridge into a powered USB port or applying exter- nal power.

5.3.6.4MFG_ENTER_BY_BUTTON

This configuration definition is used to selectively compile in a method to enter the manufacturing test code. When this value is defined, the manufacturing test code may be executed by holding the Bind button during insertion of the PRoC LP RDK bridge into a powered USB port or applying exter- nal power.

5.3.6.5MFG_ENTER_BY_USBSE1

This configuration definition is used to selectively compile in a method to enter the manufacturing test code. When this value is defined, the manufacturing test code may be executed by causing a USB SE1 condition on the D+ and D– signals during insertion of the PRoC LP RDK bridge into a powered USB port or applying external power.

5.3.6.6ENCRYPT_TEA

This configuration definition is used to selectively compile in TEA encryption for the bridge. Contact Cypress Applications support for the encryption source code.

5.3.6.7ENCRYPT_AES

This configuration definition is used to selectively compile in AES encryption for the bridge. Contact Cypress Applications support for the encryption source code.

5.3.6.8GREEN_LED_ON_TIME

This configuration definition defines the number of milliseconds the Green LED stays on after a valid USB report is loaded in an endpoint.

5.3.6.9DOWNKEY_TIME_OUT

This configuration definition defines the number of milliseconds before upkey reports are generated by the bridge in the absence of valid packets from an attached keyboard device.

CY4672 Reference Design Guide, Document # 001-16968 Revision **

85

[+] Feedback

Page 85
Image 85
Cypress CY4672 manual Mfgtestcode