![Cypress CY4636 User Manual Download Page 112](http://html.mh-extra.com/html/cypress/cy4636/cy4636_user-manual_2705993112.webp)
112
CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A
Table A-3. Serial Port Parameter Settings
A.4.4
MTK RF Protocol
Command packets received by the Device-Under-Test (DUT) are 'echoed' with the addition of an
added byte that contains the count of invalid bits for the received packet. Extra bytes in packets that
are larger than what the DUT can support are ignored. Commands other than 'Echo Packet' are only
'echoed' and executed if the number of invalid bits are zero.
The RF command packets exchanged between the MTK Tester and the MTK DUT contain two
bytes. The first byte contains the command type and the subsequent bytes contain the parameter
values.
Table A-4. RF Commands
The 'Transmit carrier' and 'Transmit random pattern' test mode can be conditionally compiled with
the define MFG_TX_MODES.
A.4.5
MTK DUT source Code Porting
The RDK keyboard, bridge and mouse use the C source files mfgtest.c and mfgtest.h. Select the
appropriate source files for the target platform as a starting point. Make code changes as necessary
to work in your environment.
A.4.6
Accessing MTK in the DUT
Mouse
: Apply a jumper across the ISSP header pins 4/5 and install the batteries.
Keyboard
: Same as mouse.
Bridge
: Press the button while plugging it into the USB port. The LEDs should blink.
Serial Port Parameter
Setting
Baud Rate
9600
Parity
None
Number of Data Bits
8
Number of Stop Bits
1
Description
Command
Parameter
Echo Packet
0x00
N/A
Set New Configuration
0x61
Channel (0-77)
PN code index (0-7)
PA (0-7)
Correlator Threshold (0-16)
Transmit carrier
0x66
Time in seconds (0-255)
Note: A zero runs the test continu-
ously until a reset
Transmit random pattern
0xA3
Time in seconds (0-255)
Note: A zero runs the test continu-
ously until a reset