Page 2
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 Cypress integrated circuit as specified in the applicable agreement.
Introduction Thank you for purchasing the CY4636 WirelessUSB™ LP keyboard-mouse reference design kit (RDK). The CY4636 WirelessUSB LP RDK is described in the Help guides and code examples are provided to enable you to immediately use the kit. The CY4636 kit provides an exemplary implementation of a 2:1, bi-directional wireless desktop keyboard and mouse to single wireless receiver.
It is the first of a multi-part series of modules designed to provide you with the nec- essary training to enable you to quickly take advantage of PSoC technology, develop your embedded applications, and get to market fast. http://www.cypress.com/?rID=40543 CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
Click the File icon and then click Open. Displays an equation: Times New Roman 2 + 2 = 4 Text in gray boxes Describes cautions or unique functionality of the product. CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
2. Click Install CY4636 WirelessUSB LP RDK to start the installation. Figure 2-1. Kit Installer Startup Screen Note If auto-run does not execute, double click the cyautorun.exe file in the root directory of the CD. CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
Page 10
3. The InstallShield Wizard screen appears. The default location for setup is shown on the InstallShield Wizard screen. You can change the location for setup using Change. 4. Click Next to launch the Kit installer Figure 2-3. InstallShield Wizard CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
Page 11
5. On the Product Installation Overview screen, select the installation type that best suits your requirement. The drop-down menu has three options - Typical, Complete and Custom. 6. Click Next to start the installation. Figure 2-4. Installation Type Options CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
Page 12
9. Wait until all the packages are downloaded and installed successfully. Figure 2-5. Installation Page 10.Click Finish to complete the installation. Figure 2-6. Installation Completion Page CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
File > Open Project/Workspace on PSoC Designer 5.2 menu to work with the existing project. Figure 2-7. PSoC Designer Interconnect View 3. To experiment with the code examples go to Code Examples chapter on page CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
8. Once programming is successful, Programming Succeeded appears in the Actions Pane. 9. Close PSoC Programmer. Note: For more details on PSoC Programmer, go to the Programmer user guide at: <Installed_directory>\Cypress\Programmer\<ver>\Documents. CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
2. The application unloads and does not auto run at startup. 3. Delete the WirelessUSB.exe application. Install Hardware This kit does not require any hardware installation. CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
Page 16
Getting Started CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
■ (internet, mail, and so on) and power keys. Bridge The LP RDK Bridge is programmed through the USB connector using a Cypress USB adapter board PDC-9241. Figure 3-1. Cypress USB Programming Adapter 1. Connect the LP RDK bridge to the USB adapter board; connect the MiniProg to the ISSP Header...
Page 18
10.The green LED turns ON and remains ON during Ping Mode. In normal operation, Ping Mode is a very short period. The user may not notice this period. 11. The red and green LED blink alternately in the Manufacturing Test mode. CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
PSoC MiniProg and a USB cable (A to Mini B). Programming can be done using PSoC Programmer. After the programming is complete, place the jumper on J1. CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
Page 20
6. After the mouse is bound with the bridge dongle, it works smoothly with the system. The green LED turns on when the dongle receives data from mouse. It remains on for 250 ms after the last received data packet. CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
Kit Operation Keyboard The CY4636 RDK uses an enCoRe™ II LV controller for the RDK keyboard. This section presents the RDK keyboard assembly. Figure 3-6. Keyboard Plastic Figure 3-7. Exploded Keyboard Keyboard PCB Figure 3-7 shows the keyboard with the top removed. The radio/enCoRe II LV board (PDC-9265) is shown in the upper right hand corner.
Page 22
The battery compartment cover is also shown. The CY4636 keyboard can be programmed using a PSoC MiniProg or ICE Cube. Remove the jumper from J3. Connect your computer to the keyboard's ISSP Connector (J2) using the PSoC MiniProg and a USB cable (A to Mini B).
Page 23
The green LED turns on and remains on if a key is pressed and held (because the keyboard sends Keep Alive packets). CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
Reference Design Kit. This bridge may be plugged into the USB port on a PC to provide Wireless USB bridge functionality. The CY4636 RDK uses an enCoRe II controller for the LP RDK bridge. The architecture is designed to be modular for extendability and maintainability. It can also be easily ported from one hardware platform to another assuming the use of an enCoRe II microprocessor with USB hardware support.
Toys ■ VOIP and wireless headsets ■ White goods ■ Consumer electronics ■ Home automation ■ Automatic meter readers ■ Personal health and entertainment ■ CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
Page 27
Differential RF signal to and from antenna Connect to GND Connect to GND = 2.4 V to 3.6 V. Typically connected to VREG Connect to GND CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
Page 28
PMU inductor/diode connection, when used. If not used, connect to GND VBAT = 1.8 V to 3.6 V. Main supply. BAT(0-2) Connect to GND PMU boosted output voltage feedback CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
Page 30
GPIO Port 1 bit 6. Configured individually. Alternate function is SMISO signal of the SPI bus TTL volt- P1.6/SMISO age thresholds. Although Vreg is not available with the CY7C63310, 3.3 V I/O is still available. CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
Page 31
3. The green LED turns ON and remains on during Ping Mode (in normal operation, Ping Mode is a very short period and you may not notice this period). CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
Figure 4-8. Power Supply System Structure for the Bridge VBUS (5 V) Figure 4-9. Schematic View of the Power Supply System Structure for the Bridge CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
Figure 4-10. Mouse Block Diagram Antenna Buttons C hip CYRF6936 Ra dio Chip Scroll Whe el C Y7C6032 3 Optical Sens or ISSP header CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
12 MHz oscillator, and an antenna. The following figure shows the different functional blocks on the CY4636 mouse board. Figure 4-11. Functional Blocks of the Mouse CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
Page 35
1.3 V to a number of subsystems, a switch mode pump (SMP) that generates normal operating voltages off a single battery cell, and various system resets supported by the M8C. CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
Page 36
P2[5] P2[3] Direct switched capacitor block input P2[1] Direct switched capacitor block input. Ground connection. P1[7] I2C Serial Clock (SCL). P1[5] I2C Serial Data (SDA). CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
Page 37
The ADNS-3040 is capable of high-speed motion detection of up to 20 ips and 8G. In addition, it has an on-chip oscillator and LED driver to minimize external components. Figure 4-14. Schematic View of the Optical Sensor CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
Page 38
In-System Serial Programmer (ISSP) is used to program the mouse. Programming can be done using the Mini- Prog programmer device. Figure 4-15. Schematic View of the ISSP Header CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
Figure 4-17. Schematic view of the Buttons and Wheel 4.2.2 Power Supply System The CY4636 mouse board has power sources from the battery supply terminal and ISSP on the board. Figure 4-18. Power Supply System Structure for the Mouse board ...
Keyboard The CY4636 WirelessUSB™ LP Keyboard-Mouse Reference Design Kit uses a enCoRe II LV controller for the RDK keyboard. The architecture is designed to be modular for extendibility and maintainability. It is also designed so that it can easily be ported from one hardware platform to another assuming the use of an enCoRe II LV microprocessor.
Chip CYRF6936 Figure 4-22. Schematic View of the CYRF6936 Chip Refer to the pin details of the CYRF6936 chip in Table 4-1 on page CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
Page 43
GPIO port 1 bit 5. Configured individually Alternate function is SMOSI signal of the SPI P1.5/SMOSI bus. GPIO port 1 bit 6. Configured individually Alternate function is SMISO signal of the SPI P1.6/SMISO bus. CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
Page 44
GPIO port 4. Configured as a group (nibble) P4.3 GPIO port 4. Configured as a group (nibble) Ground No connect No connect No connect No connect CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
Page 45
ISSP header (J2) is used to program the keyboard. Programming can be done using the MiniProg programmer device. Figure 4-25. Schematic View of the ISSP Header CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
Figure 4-26. Schematic View of the Bind Button 4.3.2 Power Supply System The CY4636 keyboard has power sources from the battery supply terminal and ISSP header on the board. Figure 4-27. Power Supply System Structure for the Keyboard ...
Module is used for timing. The following section includes a screenshot of the device editor showing the User Module mapping and a description of resources and User Modules. CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
Page 48
This parameter is set to 1. USB Clock ■ This parameter is set to Internal (24 MHz). USB Clock /2 ■ This parameter is set to Enable. CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
Page 49
The block starting at address 0x1FC0 has been changed from W: Full (Write protected) to U: Unprotected. This location of Flash has been dedicated to saving non-volatile ses- sion key for the encrypt code module. CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
The additional user code decrements application countdown timers and checks for USB activity to detect a USB suspend condition. Flash. The module includes routines to write to the enCoRe II flash to Encryption key. CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
Page 51
Check the Bind Button ■ The bridge checks the Bind button frequently. If this button is pressed, the bridge goes into the bind state. CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
Page 52
The manufacturing test code in this bridge is compatible with the CY3631 Manufacturing Test Kit offered by Cypress Semiconductor. See the mfgtest module for a description of how this test mode is executed. See the CY3631 Manufacturing Test Kit documentation for a description of the test operation.
Page 54
Therefore, it takes 226 µs for the bridge to process a keyboard report. 5.1.3.10 USB Interface USB Descriptors. The USB Descriptors can be viewed/edited with the USB Setup Wizard. Device/Config Descriptors ■ CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
Page 55
LP RDK bridge to work on different BIOS versions that do not correctly support the USB Report Protocol. Only standard 101 (104) keys are sent using this format over endpoint 1. CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
Page 56
Mouse data uses Report ID 1. The mouse report include delta x, delta y, and scroll wheel data. Figure 5-5. Mouse HID Report Descriptor (Report ID 1 - Endpoint 2) CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
Page 57
Figure 5-7. Keyboard's Power Keys HID Report Descriptor (Report ID 3 - Endpoint 2) Report ID 4 is used to send the mouse battery level and link quality report. CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
Page 58
Report ID 5 is used to send the keyboard battery level and link quality report. Figure 5-9. Keyboard's Battery/Link Quality Report Descriptor (Report ID 5-Endpoint 2) CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
Page 59
The RadioParams HID report is a vendor-defined HID report for communicating several radio parameters of the WirelessUSB LP HID devices. The HID Report Page is defined as: Cypress WirelessUSB HID RadioParams Report Page (0xFF01 - Vendor Defined) CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
Page 60
When the bridge receives a control endpoint request from the host with the parameters listed in the following table, it returns an 8-byte RadioParams report over the control endpoint. Control endpoint request for RadioParams report are listed here. CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
Page 61
PC via the endpoint 1 while the Multi Media key reports are sent via the endpoint 2 with Report ID 2. Figure 5-12. Example keyboard CATC Trace (Standard and MM Keys) CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
Page 62
The second part of the trace shows the Z- wheel being moved down and up. Figure 5-13. Example Mouse CATC Trace CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
4. Press any key on the keyboard or make mouse movements, the green LED turns ON when the dongle receives data from mouse or keyboard. 5. The green LED turns ON and remains ON if a key is pressed and held. CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
8-bit timer. The third module is a 10-bit ADC used to measure the bat- tery voltage. The ADC is the module that requires two analog blocks in addition to one digital block. CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
Page 65
Disable must be set to Yes. The trip voltage is typically set to the lowest value of 2.45 V. LVD Throt- tleBack must be disabled. The watchdog timer is typically enabled. CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
Page 66
Note: When building the mouse firmware, make certain to check that the text image size does not occupy this block. CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
Due to inefficiency in the handling of compiler defined registers at interrupt level, code was added to this module to improve the efficiency of interrupt handling in C modules to maintain modularity. Refer to the isr module for more details. CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
Page 68
This turns off the pull-up for the button thereby essentially disabling the button. The port module pro- vides an interface to treat ports, using the pull up feature, in a special way by caching the drive data for the port. CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
Page 69
See the optical/mouse modules. This method prevents the compiler from pushing all of its vir- tual registers onto the stack when a function is called at interrupt context. CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
Page 70
The battery level is measured when exiting the idle state. If there is a change in the battery level, then it will be reported in the active state. CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
Page 71
Control Panel for this test to execute properly. If the letters are drawn erratically with uneven sides or excessive amounts of space in between them, then check this setting or its equiva- lent (based upon your PC operating system). CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
Page 72
When z-wheel motion is detected, the mouse module is notified for collection and reporting of the data. CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
Page 73
The manufacturing test code in this mouse is compatible with the CY3631 Manufacturing Test Kit offered by Cypress Semiconductor. See the mfgtest module for a description of how this test mode is executed. See the CY3631 Manufacturing Test Kit documentation for a description of the test operation.
Page 74
Packet Format 1. When there is only X, Y delta data, the transmitted packet is two bytes. Table 5-8. Packet Format 1 Byte 1 Byte 2 X Delta (8 bits) Y Delta (8 bits) CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
Page 75
308 CPU clock cycles for this portion. Therefore, the Latency2 equals to 25.667 µs for the 12 MHz CPU. Consequently, the total latency for a motion interrupt is: Latency1 + Latency2 = 27.750 µs CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
The red LED stops blinking on binding the mouse with the bridge. 3. Press any switch ON the mouse the green LED turns ON when the dongle receives data from the mouse. CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
The second module is a programmable interval timer. The following is a screen shot of the Device Editor showing the User Module mapping. Further description of resources and User Modules follow the diagram. CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
Page 79
Capture Clock /N. This parameter is set to 6. Capture Edge. This parameter is set to Latest. Bit Capture Prescaler ■ This parameter is set to 1. CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
Page 81
See the documentation in the mod- ule for requirements on configuring the enCoRe II LV block. CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
Page 82
Battery Module. The battery monitor circuit is implemented using the Low Voltage Interrupt (LVI) on the LP radio. Following is an explanation of the process to measure the battery voltage. CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
Page 83
It is implemented this way to improve button-reporting latency. CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
KEYBOARD_FAST_SCAN. This configuration definition is used to selectively compile in the Cypress Semiconductor fast scan algorithm. Fast Scan is used to minimize the time it takes for the CPU to scan the key matrix which in turn reduces the current consumption.
The following transmission packet formats are implemented in this RDK. The report formats show the application payload and the radio protocol overhead with example packet headers. CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
Page 86
Example The following reports would be sent if a user presses an 'a' on the keyboard. The down key packet sent from the keyboard to the bridge is shown in Table 5-16. CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
Page 87
Example The following reports are sent if a user presses 'Volume Increase' (Hot Key 8) key on the keyboard. The following table shows the 'Volume Increase' down key packet sent from the keyboard to the bridge. CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
Page 88
An Application Report Header of 0xFC indicates that this report is a Keep Alive Report. The following table shows an example of a Keep Alive reports sent from the keyboard to the bridge. CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
Page 89
5-19. It appears that the key (RowY, ColumnB) has been pressed as well when it has not since the other keys electrically connect RowY to ColumnB. CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
Page 90
19 CPU clock cycles for this portion. Therefore, the Latency2 equals to 1.583 µs for the 12 MHz CPU. Consequently, the total latency for a button interrupt is Latency1 + Latency2 = 3.667 µs. CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
4. The green LED turns ON and remains ON if a key is pressed and held (due to the keyboard's sending Keep Alive packets). CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
WirelessUSB LP supports a separate SOP and Data threshold. The RDK uses an SOP threshold of '4'. The data threshold is set to the default value of '4'. CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
This algorithm reduces the possibility of multiple bridges selecting the same channels in the same order at the same time. CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
HID (both devices use the bridge's Manufacturing ID to calculate these fields). If a defined* period of time CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
CONNECT_REQ = 0x1, // Connect Request Packet Type CONNECT_RESP= 0x 2, // Connect Response Packet Type PING_PACKET = 0x 3, // Ping Packet Type DATA_PACKET = 0x 4, // Data Packet Type CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
Page 103
MID 3 MID 4 Byte 1 Device Type - 0x1 PIN - This is a 3-bit field specifying the PIN element of the Network ID. CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
Page 104
Device ID - This is 1-bit field containing the least significant bit of the Device Type. The Device ID field is used in 2:1 systems to distinguish between the HID devices. Byte 2-N Data Byte 0-N - This is byte-aligned application data. CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
Mode (at 1.8 ms/channel 'hopping' frequency of the HID and the bridge's 320 ms/channel, the two will 'meet' on the same channel at least 13 times in any 320 ms period). CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
Page 106
19 times before it times out and exits Reconnect Mode. The keyboard tries to send the data for up to 5 seconds, and the mouse tries for 2 seconds, causing the HID to re-enter Reconnect Mode multiple times if necessary. CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
NumLk/ScrLk/Caps Lock data, the bridge goes into 'transmit' mode by enabling its transmitter to send the data. After sending the Data CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
Data Encryption Key and stores the key in NVRAM. After receiving both halves of the Data Encryption Key the HID may begin transmitting encrypted data to the bridge. CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
Page 109
The measurement shows that the average Icc in test mode is 3.33 mA if encryption is dis- abled. If encryption is enabled, the average Icc increases to 3.66 mA. Figure A-14. Encryption Key Management CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
All remaining serial commands only affect the current setting and are not stored (reset across power cycles). Table A.4-1 describes the serial port protocol in the PC to tester direction. CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
Page 111
The serial port settings for the MTK Tester are shown in Table A-3. Neither software nor hardware handshake is supported. CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
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. CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
It is accomplished by changing the KEYBOARD_TEST_MODE_PERIOD define in the config.h file to 50. The following is the results of RDK keyboard current measurement CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
19 hours per day with the 3030/3040 sensor in 'rest3' state ■ 5 days per week as above, 2 days per week 24 hours in 'rest3' state ■ CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
Page 115
The RDK mouse uses two AA cells and enables the PMU function. Therefore, it is able to access approximately 2850-mAh battery capacity, which yields a battery life estimate of 338 days or 11 months. CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
IsOpenForWrite() Public for write access This method is used to report if the handle open to the HID device allows IsOpenOverlapped() Public for overlapped I/O. CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
Page 117
This method simply returns TRUE, it is expected that this routine will be ValidateHidDevice() Protected overridden by the application where the actual validation will be handled. CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
Page 118
HID device, opens a handle to the HidDeviceArrival() Protected device, adds the new HID device to the list, and registers event notification for this new HID device CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
Page 119
This method overrides the default WindowProc to call OnTrayNotifica- WindowProc() Protected tion for messages targeting the system tray icon or OnTaskbarCreated if the system tray is being restarted CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
Page 120
HIDNotification() Public adds or removes the icon from the system tray when the first or last HID device is added or removed CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
Page 121
HID device; the Message() updated value is stored in the device-specific configuration information for the HID device CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
Page 122
This method creates a new HID device, initializes it, and adds it to the list of NewHidDevice() Protected existing HID devices This method removes the HID device from the list and deletes the HID DeleteHidDevice() Protected device CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A...
Need help?
Do you have a question about the CY4636 and is the answer not in the manual?
Questions and answers