Cypress CY4672 Serial Command Protocol, Serial Response Protocol, Command Command Description

Models: CY4672

1 126
Download 126 pages 13.98 Kb
Page 102
Image 102

Manufacturing Test Support, MTK

Table 6-1. Serial Command Protocol

Command

Command Description

ST

 

START STANDARD TEST

Parameters

CL <power level>

CONFIGURE POWER LEVEL (0-7)

PN <PN code>

CONFIGURE PN CODE INDEX (0-7)

 

 

TT <tx error threshold>

CONFIGURE TX ERROR THRESHOLD (0-65535) units of bit errors

 

RT <rx error threshold>

CONFIGURE RX ERROR THRESHOLD (0-65535) units of bit errors

Test

C1 <channel>

CONFIGURE CHANNEL (0-77)

C2 <channel>

CONFIGURE SECOND CHANNEL (0-77)

Standard

CB <# of bytes>

CONFIGURE NUMBER OF BYTES/PACKET PAYLOAD (0-15)

 

C3 <channel>

CONFIGURE THIRD CHANNEL (0-77)

 

 

 

 

CP <# of packets>

CONFIGURE NUMBER OF PACKETS (0-255)

TC <time>

TRANSMIT CARRIER (0-255)

TR <time>

TRANSMIT RANDOM (0-255)

SC <channel> <PN code>

SET COMMUNICATION (0-77) (0-7) (0-7) (0-16)

Note The device transmits on <channel> + 2.

<power level> <correlator threshold>

 

 

For example, 2=2.402 GHz

PD <packet data>

SET PACKET DATA (ASCII representation of hexadecimal numbers

without any prefix, i.e. 5A 34 CB)

 

 

CA <crystal adjust>

SET CRYSTAL FREQUENCY ADJUST VALUE (0-63)

RE

 

RESTORE NVRAM DEFAULTS

CS

 

SHOW CURRENT CONFIGURATION

HE

 

SHOW HELP MENU

Every serial command issued by the PC is returned with a response once the command is complete. The valid responses are shown in Table 6-2.

Table 6-2. Serial Response Protocol

REPORT

REPORT DESCRIPTION

OK

COMMAND COMPLETE

CE

COMMAND ERROR

TE <transmit error count>

TX ERROR COUNT (units of bit errors)

RE <receive error count>

RX ERROR COUNT (units of bit errors)

All serial commands must end in either a carriage return or carriage return and line feed. All responses end with a carriage return and linefeed.

The serial port settings for the MTK Tester are shown in Table 6-3 on page 103. Neither software nor hardware handshake is supported.

102

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

[+] Feedback

Page 102
Image 102
Cypress CY4672 manual Serial Command Protocol, Serial Response Protocol, Command Command Description