Gebruiksaanwijzing /service van het product CY4672 van de fabrikant Cypress
Ga naar pagina of 126
CY4672 Reference Design Guide Document # 001-16968 Revision ** Cypress Semiconductor 198 Champion Court San Jose, CA 95134-1709 Phone (USA): 800.858.1810 Phone (Intnl): 408.
2 CY4672 Reference Design Guide, Document # 001-16968 Revision ** Copyrights Copyright s © Cypress Semiconductor Corpo ration, 2007. The information co n tained herein is subject to ch ange wi thout noti ce.
CY4672 Reference Design Guide, Docu me nt # 001-16968 Revision ** 3 Content s 1. Introduct ion 9 1.1 Scope ..... ................ ................ ................ ................ ................ ................ ................. .....9 1.2 Chapter Overviews .
4 CY4672 Reference Desig n Gui de, Document # 001-16968 Revision ** Contents 3. Mouse 33 3.1 Introduction ............ ................ ............. ................ ................ ................. ................ ...... 33 3.1.1 Design Features .
CY4672 Reference Design Guide, Docu me nt # 001-16968 Revision ** 5 Contents 3.3.8 Initialization ................ ................ ................ ................ ................ .................... 47 3.3.9 Wireless Protocol Data Payload .......
6 CY4672 Reference Desig n Gui de, Document # 001-16968 Revision ** Contents 4.3.6.10 KEYBOARD_TX_TIMEO UT ............... ................................ ............. 64 4.3.6.11 TIMER_CAL ................ ................. ................ .......
CY4672 Reference Design Guide, Docu me nt # 001-16968 Revision ** 7 Contents 5.3.4.5 Master Protocol ......... ................ ................ ................ ................ ....... 83 5.3.5 Application Code ..................... ................
8 CY4672 Reference Desig n Gui de, Document # 001-16968 Revision ** Contents 7. Regulatory T esting Results 10 5 7.1 Introduction ............ ................ ............. ................ ................ ................. ................ .... 1 0 5 8.
CY4672 Reference Design Guide, Docu me nt # 001-16968 Revision ** 9 1. Introduction 1.1 Scope This document wa s wr itten for firm ware and h ardwa re develop ers that want to und erst and and make modifications to the PRoC™ LP KB M Reference D esign Kit (RDK) .
10 CY4672 Reference Desig n Gui de, Document # 001-16968 Revision ** Introduction 1.4 Conventions The following are easily identifiable conven ti ons used throughout this user guide. 1.4.1 Definitions The following are some definitions of wor ds found in this document.
CY4672 Reference Design Guide, Docu me nt # 001-16968 Revision ** 1 1 Introduction RDK reference design ki t; it is pr oduced by Cypress Semiconducto r and used by third parties to produce off-the-shelf products. Everything required to take a product to production is included in the kit.
12 CY4672 Reference Desig n Gui de, Document # 001-16968 Revision ** Introduction [+] Feedback.
CY4672 Reference Design Guide, Docu me nt # 001-16968 Revision ** 13 2. WirelessUSB™ Protocol 2.2 2.1 General Overview The WirelessUSB™ protocol 2.
14 CY4672 Reference Desig n Gui de, Document # 001-16968 Revision ** WirelessUSB™ Protocol 2.2 accommodate hundreds o f WirelessUSB de vices in the same sp a ce. Each bridge /HID p a ir must use the same PN code and channel in order to communi cate with e ach other .
CY4672 Reference Design Guide, Docu me nt # 001-16968 Revision ** 15 WirelessUSB™ Protocol 2.2 2.1.7 Channel Selection Algorithm The channel selection algorithm pr oduces a subset cont ai ning 13 of the possible 78 channels.
16 CY4672 Reference Desig n Gui de, Document # 001-16968 Revision ** WirelessUSB™ Protocol 2.2 Figure 2-3. Protocol Slave 2.2.1 Ping Mode (Bridge Only) Ping mode is used by the bridge to find an ava.
CY4672 Reference Design Guide, Docu me nt # 001-16968 Revision ** 17 WirelessUSB™ Protocol 2.2 2.2.2 Idle Mode (HID only) The HID enters this mode after a power on re set before it has had any communi cation with the RDK bridge.
18 CY4672 Reference Desig n Gui de, Document # 001-16968 Revision ** WirelessUSB™ Protocol 2.2 2.2.5 Enhanced KISSBind™ KISSBind provides the ability to aut omatically bind out of the box without any intervention by the user other than installing the ba tteries.
CY4672 Reference Design Guide, Docu me nt # 001-16968 Revision ** 19 WirelessUSB™ Protocol 2.2 Figure 2-4. KISSBind T ransaction Sequence Master Slave KISSBind Request Ch N, PN 1 KISSBind Response C.
20 CY4672 Reference Desig n Gui de, Document # 001-16968 Revision ** WirelessUSB™ Protocol 2.2 2.2.6 Unbind An ‘unbind’ mechanism allows the bridge and HIDs to return to the ir default unbind mode as if they had never boun d to any system before.
CY4672 Reference Design Guide, Docu me nt # 001-16968 Revision ** 21 WirelessUSB™ Protocol 2.2 Figure 2-5. Back Channel T ransaction Sequence Bridge Device 1 Device 2 BCD=1 Auto ACK Data CRC Seed = .
22 CY4672 Reference Desig n Gui de, Document # 001-16968 Revision ** WirelessUSB™ Protocol 2.2 2.2.9 Dynamic Data Rate and Dynamic P A Dynamic data rate and dynamic P A provide the abilit y to improve the immunity to interference and reduce power consump tion.
CY4672 Reference Design Guide, Docu me nt # 001-16968 Revision ** 23 WirelessUSB™ Protocol 2.2 2.3 Packet S tructures The first byte of each packet is the Header byte . Some packet s may consist only of the header byte while other pa cket s may contain up to five bytes.
24 CY4672 Reference Desig n Gui de, Document # 001-16968 Revision ** WirelessUSB™ Protocol 2.2 2.3.2 Bind Response Packet (Bridge) Byte 1 Packet T ype: 0 for bind reques t, 0xD for KISSBind request Device T ype: This is a 2-bit field that specifies a vend or-defined device type.
CY4672 Reference Design Guide, Docu me nt # 001-16968 Revision ** 25 WirelessUSB™ Protocol 2.2 2.3.5 Ping Packet (Bridge) Byte 1 Packet T ype: 3 Flag (F): This is a 1-bit field that specifies a pi ng or pin g response (0 = Ping, 1 = Ping Response). 2.
26 CY4672 Reference Desig n Gui de, Document # 001-16968 Revision ** WirelessUSB™ Protocol 2.2 2.4 Bind and Reconnect Timing When the bind button on the bridg e is pressed, the brid ge goes into b ind mode.
CY4672 Reference Design Guide, Docu me nt # 001-16968 Revision ** 27 WirelessUSB™ Protocol 2.2 Figure 2-6. Bind T iming Diagram The bridge uses the RSSI to determin e the noise level on the channel. If th e channel has become noisy , the bridge moves to ping mod e to find a quieter channel in it s channel subset.
28 CY4672 Reference Desig n Gui de, Document # 001-16968 Revision ** WirelessUSB™ Protocol 2.2 Figure 2-7. Reconnect T iming Diagram 2.5 Signature Byte The PRoC LP RDK uses the Signat ur e byte to determine if the HID has ever bee n bound to any bridge bef ore.
CY4672 Reference Design Guide, Docu me nt # 001-16968 Revision ** 29 WirelessUSB™ Protocol 2.2 2.6 Encryption WirelessUSB PRoC LP RDK support s T iny Encryption Algorithm (TEA) and Advanced Encryption S tandard (AES) 128 to encrypt a pplication data.
30 CY4672 Reference Desig n Gui de, Document # 001-16968 Revision ** WirelessUSB™ Protocol 2.2 Figure 2-8. TEA Encryption Key Management 2.6.2 AES Encryption AES_Encrypt requires the tw o variables tx_p acket and AES_Key to be set prior to the call.
CY4672 Reference Design Guide, Docu me nt # 001-16968 Revision ** 31 WirelessUSB™ Protocol 2.2 2.6.2.1 AES Key Management The encrypt key is stored on the keyb oard and the decrypt key is stored on th e bridge dur ing co mpil- ing time. There is no dynamic encrypt key exchange in the runn ing time.
32 CY4672 Reference Desig n Gui de, Document # 001-16968 Revision ** WirelessUSB™ Protocol 2.2 [+] Feedback.
CY4672 Reference Design Guide, Docu me nt # 001-16968 Revision ** 33 3. Mouse 3.1 Introduction This section describes the design goa ls, architectu re, firmware source cod e modules and configura- tion options for the PRoC™ LP mouse. It does no t cover the details of the radio subsystem or the configuration options that go with it.
34 CY4672 Reference Desig n Gui de, Document # 001-16968 Revision ** Mouse Figure 3-1. Bottom View Bind Button and On-Off Swi tch Figure 3-1 shows the bottom of the mouse with the opt ics window , power switch, an d Bind button . There are two screw holes above th e label.
CY4672 Reference Design Guide, Docu me nt # 001-16968 Revision ** 35 Mouse 3.2.2 Hardware Block Diagram Figure 3-3. Mouse Hardware Block Diagram 3.2.3 Schematics All schematics for the optical wireless mouse are located in the following directory: <installation directory>HardwareMouse .
36 CY4672 Reference Desig n Gui de, Document # 001-16968 Revision ** Mouse test mode that is compatible with the Cypress Ma nufacturing T est Kit, use a shorting bl ock an d short together pins 4 and 5 before power is applied.
CY4672 Reference Design Guide, Docu me nt # 001-16968 Revision ** 37 Mouse the Device E ditor showing the user modu le mapping. Fu rther descr iption of reso urces and use r modules follow the diagram.
38 CY4672 Reference Desig n Gui de, Document # 001-16968 Revision ** Mouse 3.3.2.1 Global Configuration Following is a description of the Global Resources that are con figured for the CYRF69 103 PRoC LP Programma ble Radio on Chip. Care must be t ake n when modifying these valu es as they affect the user m odules dis cussed below .
CY4672 Reference Design Guide, Docu me nt # 001-16968 Revision ** 39 Mouse rupt API to this module is not used. See th e SPI Module on p age 40 for how this module is used to implement communication with multiple devices on the SPI bus.
40 CY4672 Reference Desig n Gui de, Document # 001-16968 Revision ** Mouse The mouse firmwa re is p artitione d into two logi cal group s. The Common group is a collection o f code modules that provide the u nderlying support fo r th e application.
CY4672 Reference Design Guide, Docu me nt # 001-16968 Revision ** 41 Mouse In the PRoC RDK mouse design, the master SPI co mmunicates with both the ra dio and optical sen- sor . Because the optical sensor do es not supports 3-wire SPI mode, the 4- wire mode is employed.
42 CY4672 Reference Desig n Gui de, Document # 001-16968 Revision ** Mouse since the microc ontroller sleep fe ature is used. Al so, when polling is enabled, it is performed as a background task during the millisecond delay . This module also adjust s the tick advancement based up on the sleep resolution.
CY4672 Reference Design Guide, Docu me nt # 001-16968 Revision ** 43 Mouse which it returns to the idle state. If the mouse is unable to deliver a packet while in this st ate, it transi- tions to the disconnected st ate. In idle state the optical sensor is allo wed to tr ansition th rough it s various rest mode s to conserve power .
44 CY4672 Reference Desig n Gui de, Document # 001-16968 Revision ** Mouse observing p acket dat a on a Listener , a correlation can be made with a USB p rotocol analyzer . This is useful for debugging dat a loss since the test mode guar antees packet delive ry .
CY4672 Reference Design Guide, Docu me nt # 001-16968 Revision ** 45 Mouse When z-wheel motion is detected, the mouse module is notified for collection an d reporting of the data; see Mouse Module on page 42 . 3.3.5.7 Battery Module The battery monitor circuit i s implemented u sing the Low V oltage Interrupt (L VI) on the LP radio.
46 CY4672 Reference Desig n Gui de, Document # 001-16968 Revision ** Mouse 3.3.6.5 MOUSE_CONNECT_A TTEMPT_TIMES This value sets th e attempt times for the mo use trying to connect to the bridge be fore entering the Briefcase Mode. The default va lue is 20.
CY4672 Reference Design Guide, Docu me nt # 001-16968 Revision ** 47 Mouse 3.3.6.14 KISS_BIND This configuration defin ition is used to selectivel y compile in the Enhanced KissBin d feature. See Enhanced KISSBind™ on page 18 for a description of Enhanced KissBind.
48 CY4672 Reference Desig n Gui de, Document # 001-16968 Revision ** Mouse 3.3.9.1 Packet Format 1 When there is only X, Y delta dat a, the transmitted pa cket is two bytes. 3.3.9.2 Packet Format 2 When there is either z-wheel data or button da ta, then the transmitted p acket is th ree bytes.
CY4672 Reference Design Guide, Docu me nt # 001-16968 Revision ** 49 Mouse The second portion is th e time b etween the st art of the ISR and th e post of the even t flag. For exam- ple, the motion interrupt takes 23 CPU clock cycles for this portion.
50 CY4672 Reference Desig n Gui de, Document # 001-16968 Revision ** Mouse 3.4.2 T ips and T ricks A couple of ways for working with the kit are th e following. 3.4.2.1 M8C Sleep When using the ICE-Cube, define the macr o PSOC_ICE so that busy wait s are used instead of the sleep instruction.
CY4672 Reference Design Guide, Docu me nt # 001-16968 Revision ** 51 4. Keyboard 4.1 Introduction This section cover s the design goals, arch itectu re , firmware source code modu les and configuration options for the PRoC™ L P keyboard. It does not co ve r the details of the radio su bsystem or the con- figuration options that go with it.
52 CY4672 Reference Desig n Gui de, Document # 001-16968 Revision ** Keyboard 4.2.1 RDK Keyboard Assembly Figure 4-1. Keyboard Plastic Figure 4-1 shows the RDK keyboard pla stic. Figure 4-2. Exploded Keyboard Figure 4-2 shows the keyboar d with the top removed.
CY4672 Reference Design Guide, Docu me nt # 001-16968 Revision ** 53 Keyboard Figure 4-3. Radio and PSoC Board (PDC-9265) Figure 4-3 shows the main co ntroller board with the en CoRe II L V and WirelessU SB™ LP Radio. All of the component s are on the top side of the board with the exception of the Bin d bu tton.
54 CY4672 Reference Desig n Gui de, Document # 001-16968 Revision ** Keyboard Figure 4-5. Bind Button Figure 4-5 shows the Bind button. 4.2.2 Schematic All schematics for the PRoC LP RDK keyboar d are located in the fo llowing directory: <installa- tion directory>HardwareKeyboard .
CY4672 Reference Design Guide, Docu me nt # 001-16968 Revision ** 55 Keyboard 4.2.3 Keyboard Matrix The PRoC LP RDK keyboard matrix has 18 columns an d 8 rows. Key presses generate a GPIO interrupt when a column is connected (shorted ) to a r ow . The keyboa rd then scans th e matrix to determine which keys have been pressed.
56 CY4672 Reference Desig n Gui de, Document # 001-16968 Revision ** Keyboard 4.3 Firmware Architecture There are two archite ctural views of the keyboard. T he first is a microcontrolle r configuration view of user modules. This architecture and configur ation is best viewed in the PSoC Designer™ a pplication when the project is loaded.
CY4672 Reference Design Guide, Docu me nt # 001-16968 Revision ** 57 Keyboard Figure 4-6. Micr ocon troller Device Architecture [+] Feedback.
58 CY4672 Reference Desig n Gui de, Document # 001-16968 Revision ** Keyboard 4.3.2.1 Global Configuration The following is a descri ption of the Global Resources that are configured fo r the CY7C60123-PVXC enCoRe II L V microc ontroller . Care must be take n when modifying these values as they affect the User Modules discus se d be low .
CY4672 Reference Design Guide, Docu me nt # 001-16968 Revision ** 59 Keyboard V Reset This parameter is set to 2.6V . W atchdog Enable This par ame ter should be set to Enable, but may be set to Disabl e for debug purpose s. 4.3.2.2 SPI Master User Module The SPI Master User Module is used to communica te with the radio transceiver .
60 CY4672 Reference Desig n Gui de, Document # 001-16968 Revision ** Keyboard 4.3.3 Model Figure 4-7. Firmware Ar chitecture Mo del The keyboard firmware is p artitioned into two logical group s. The Common group is a colle ction of code modules that provide the underlying support fo r the application.
CY4672 Reference Design Guide, Docu me nt # 001-16968 Revision ** 61 Keyboard 4.3.4.3 Protocol Module The protocol module defin es and implement s the laye r used to deliver packets from the devic e to the bridge. It manages the binding of devices to a bridge as well as the connection and interfer ence immunity by channel hopping.
62 CY4672 Reference Desig n Gui de, Document # 001-16968 Revision ** Keyboard In idle st ate the MCU and radio go to sleep to save powe r , and the keyboard application remains waiting for input from the keys or Bind button. The timer is turn ed of f to conserve power .
CY4672 Reference Design Guide, Docu me nt # 001-16968 Revision ** 63 Keyboard The first test mode is initiated by holding down the left Ctrl, lef t Alt, right Alt, right Ctrl, and F1 keys at the same time. If P ANGRAM_TEST_MODE is define d, the test sends the key up/down scan codes for the test pangram: ”a quick brown fox jumps over the lazy dog.
64 CY4672 Reference Desig n Gui de, Document # 001-16968 Revision ** Keyboard 4.3.6.5 KEYBOARD_TEST_MODES This configuration definition is used to selectively compile code for keyboard test modes. If this value is defined, then test modes are comp iled into the ex ecutable image.
CY4672 Reference Design Guide, Docu me nt # 001-16968 Revision ** 65 Keyboard manufacturing test code may be executed by holding the system sleep key and the Bin d button when the batteries are inserte d into the keyboard.
66 CY4672 Reference Desig n Gui de, Document # 001-16968 Revision ** Keyboard The keyboard scan matrix is defined in kdefs.h and may ne ed to be changed for dif f erent keyboa rds.
CY4672 Reference Design Guide, Docu me nt # 001-16968 Revision ** 67 Keyboard done to optimize th e packet size based on the fact that the most common rep ort has only one non- zero scan code withou t a modifier . The full S t an dard 101 Keys report fo rmat is shown in Ta b l e 4 - 5 .
68 CY4672 Reference Desig n Gui de, Document # 001-16968 Revision ** Keyboard 4.3.9.1.2 Multimedia Keys (Hot keys) Report An Application Report He ader of 0xFF indicates tha t this report is a Mult imedia Keys report. The Multimedia Keys report format is shown in T able 4-10 .
CY4672 Reference Design Guide, Docu me nt # 001-16968 Revision ** 69 Keyboard Example The following re ports a re sent if a user pre sses the Suspen d/Sleep (Power Key 0 ) key on the key- board. The Suspend/Sleep down key p acket sent from the keyboa rd to the bridge is shown in Ta b l e 4 - 1 4 .
70 CY4672 Reference Desig n Gui de, Document # 001-16968 Revision ** Keyboard Example of a Battery V oltage Leve l report with fully charged batter ies is shown in Ta b l e 4 - 1 8 . Example of a Battery V oltage Leve l report with low batteries is shown in Ta b l e 4 - 1 9 .
CY4672 Reference Design Guide, Docu me nt # 001-16968 Revision ** 71 Keyboard The interrupt latency includes two portions. The firs t portion is the time betwee n the assertion of an enabled interrupt.
72 CY4672 Reference Desig n Gui de, Document # 001-16968 Revision ** Keyboard 4.4 Modifying the Keyboard Matrix or Adding New Keys The curren t keyboard ma trix with the USB scan codes are sho wn in T able 4-1 on page 55 . Custom- ers may modify the keyboard matrix o r they may add new keys to their keyboar d.
CY4672 Reference Design Guide, Docu me nt # 001-16968 Revision ** 73 Keyboard 4.5 Development Environment This section informs you about the tools y ou ma y need and present s ideas you can try . 4.5.1 T ools See the CY4672 Getting S tarted Guide for a list of tools r equired to build and debug the keyboard application.
74 CY4672 Reference Desig n Gui de, Document # 001-16968 Revision ** Keyboard 4.5.3 Critical T est Point s Figure 4-10. RDK Keyboard T est Points CLKOUT PACTL MISO MOSI nSS SCK IRQ [+] Feedback.
CY4672 Reference Design Guide, Docu me nt # 001-16968 Revision ** 75 5. Bridge 5.1 Introduction This section cover s the design goals, arch itectu re , firmware source code modu les and configuration options for the PRoC™ LP bridge. It does not cover the det ails of the radio subsystem or the co nfig- uration options that go with it.
76 CY4672 Reference Desig n Gui de, Document # 001-16968 Revision ** Bridge 5.2.1 Bridge Photographs Figure 5-1 shows the top sid e of the RDK bridg e board. Th e side button on the board is the Bind bu t- ton. Figure 5-1. RDK Bridge T op Figure 5-2 shows the bottom side of the RDK bridge bo ard.
CY4672 Reference Design Guide, Docu me nt # 001-16968 Revision ** 77 Bridge Figure 5-4 shows the PRoC LP RDK bridge connected with a USB adapter bo ard to a PSoC Mini- Prog.
78 CY4672 Reference Desig n Gui de, Document # 001-16968 Revision ** Bridge 5.3 Firmware Architecture There are two architectura l views of the bridge.
CY4672 Reference Design Guide, Docu me nt # 001-16968 Revision ** 79 Bridge Figure 5-5. CYRF69213 Device Arch itecture [+] Feedback.
80 CY4672 Reference Desig n Gui de, Document # 001-16968 Revision ** Bridge 5.3.2.1 Global Configuration The following is a descriptio n of the Global Re sources that are con figured for the PRoC LP CYRF69213. Be very careful whe n modifying these valu es as they affect the User Modules dis- cussed below .
CY4672 Reference Design Guide, Docu me nt # 001-16968 Revision ** 81 Bridge VReg This parameter is set to Disa ble, and the VReg will be enabl ed in the application code. V Keep-alive This parameter is set to Disable. W atchdog Enable This par ame ter should be set to Enable, but may be set to Disabl e for debug purpose s.
82 CY4672 Reference Desig n Gui de, Document # 001-16968 Revision ** Bridge 5.3.3 Model Figure 5-6. Firmware Ar chitecture Mo del The bridge firmware is p a rtitioned into two logica l gr oup s. The Commo n g roup is a collection of code modules that provide the u nderlying support fo r th e application.
CY4672 Reference Design Guide, Docu me nt # 001-16968 Revision ** 83 Bridge 5.3.4.1.2 USB HID Class Module ( USB_1_cls_hid. asm ) The additional user code provides sup port for the Battery Level and Link Quality software applica- tion. 5.3.4.1. 3 1 Millis econd In terval Timer Interrupt Module ( MSTIMER.
84 CY4672 Reference Desig n Gui de, Document # 001-16968 Revision ** Bridge duration elap ses with no change in report dat a (see the HID S pecification for more informa tion on this topic). The check_usb_idle() function also checks the timeout for down key and ‘keep alive’ p acket.
CY4672 Reference Design Guide, Docu me nt # 001-16968 Revision ** 85 Bridge 5.3.6 Configuration 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 define s.
86 CY4672 Reference Desig n Gui de, Document # 001-16968 Revision ** Bridge 5.3.6.10 BACK_CHANNEL_SUPPOR T This configuration definition is us ed to selectively compile in the Ba ck Channel Dat a Suppo rt feature. See section Back Channel Dat a Support on page 20 for a description of Back Channel Data Sup- port.
CY4672 Reference Design Guide, Docu me nt # 001-16968 Revision ** 87 Bridge 5.3.7 Platform and Architecture Port ability The bridge firmware was designed to use the hard ware features of the PRoC LP such as USB.
88 CY4672 Reference Desig n Gui de, Document # 001-16968 Revision ** Bridge 5.3.12 Code Performance Analysis A keyboard rep ort process ing is used to an alyze the code performance. A typical keyboard report processing con tains the fo llow ing steps: ■ The bridge receive s the keyboard report packet and process the packet.
CY4672 Reference Design Guide, Docu me nt # 001-16968 Revision ** 89 Bridge 5.4.1.1 Device/Config De scriptors Figure 5-7. USB Device/Config Descrip tors 5.4.1.2 Keyboard HID Report Descriptor The keyboard HID report descripto r defines a Bo ot Protocol keyboard.
90 CY4672 Reference Desig n Gui de, Document # 001-16968 Revision ** Bridge Figure 5-8. Keyboard HID Report Descr i ptor (Endpoi nt 1) 5.4.1.3 Mouse/Keyboard HID Report Descriptor The mouse/keyboard HID Report Descri ptor uses repo rt protocol form at with a unique report ID fo r each report.
CY4672 Reference Design Guide, Docu me nt # 001-16968 Revision ** 91 Bridge Figure 5-9. Mouse HID Report De sc riptor (Report ID 1 – End point 2) Keyboard multimedia keys use Repo rt ID 2.
92 CY4672 Reference Desig n Gui de, Document # 001-16968 Revision ** Bridge Keyboard pow er keys use Report ID 3. Figure 5-1 1. Keyboard’s Power Keys HID Report Descr iptor (Report ID 3 – End point 2) Report ID 4 is used to send the mous e battery leve l and link quality report.
CY4672 Reference Design Guide, Docu me nt # 001-16968 Revision ** 93 Bridge Report ID 5 is used to send the keyboard ba tte ry level and link quality report. Figure 5-13. Keyboard’s Battery/Link Qualit y Report Descript or (Rep o rt ID 5–En dpoint 2) 5.
94 CY4672 Reference Desig n Gui de, Document # 001-16968 Revision ** Bridge Figure 5-14. Keyboa rd Report Format Figure 5-15. Multimedia and Power Keys Re port Format Right GU I R ight Alt Right Ctrl .
CY4672 Reference Design Guide, Docu me nt # 001-16968 Revision ** 95 Bridge 5.4.3 Mouse Report Format The mouse dat a is sent over the data endpoint 2 u s ing Report ID 1. The forma t of the mouse r eport is shown below: Figure 5-1 6. Mouse Report For mat 5.
96 CY4672 Reference Desig n Gui de, Document # 001-16968 Revision ** Bridge The RadioParams Report is 8 bytes long and has the 6 d ata fields listed in Ta b l e 5 - 4 .
CY4672 Reference Design Guide, Docu me nt # 001-16968 Revision ** 97 Bridge 5.4.5 Example USB Bus Analyzer (CA TC) T races Figure 5-17 below shows the USB data transmissions between the bridge and the ho st PC captured with the USB CA TC Bus Analyzer .
98 CY4672 Reference Desig n Guide, Document # 001-1696 8 Revision ** Bridge Figure 5-18 below shows the mo use data being tr ansferred between th e bridge and the host P C. The first part of th e tra ce shows the mouse da ta when the lef t button was pressed and held down as the mouse was moved, and then the lef t button wa s released.
CY4672 Reference Design Guide, Do cument # 001-16968 Revi sion ** 99 Bridge Figure 5-19 shows the Sleep key being pr essed. Note the p ower key report s are sent via end point 2 and Report ID 3.
100 CY4672 Reference Design Guide, Document # 001-16968 Revision ** Bridge 5.5 Development and Debug Environment Information on the tools require d and tips on using thos e tools are presented in this section. 5.5.1 T ools See the CY4672 Get ting S tarted Guide for a list of tools r equire d to b uild and d ebug the br idge appli- cation.
CY4672 Reference Design Guide, Do cument # 001-16968 Revi sion ** 101 6. Manufacturing T est Support, MTK 6.1 Introduction The Manufacturing T est Kit (MTK) provides producti on line test suppor t in addition to pr oviding FCC certification tests.
102 CY4672 Reference Design Guide, Document # 001-16968 Revision ** Manufacturing T est Support, MTK Every serial command issu ed by the PC is returned with a response onc e the command is comple te. The valid response s are shown in Ta b l e 6 - 2 . All serial commands must e nd in either a carr iage return or ca rriage return and line feed.
CY4672 Reference Design Guide, Do cument # 001-16968 Revi sion ** 103 Manufacturing T est Support, MTK 6.4 MTK RF Protocol Command packe ts received by the Device-Under-T est (DUT) are ‘ech oed’ with the addition of an added byte that cont ains the count of invalid bits for the received p acket.
104 CY4672 Reference Design Guide, Document # 001-16968 Revision ** Manufacturing T est Support, MTK [+] Feedback.
CY4672 Reference Design Guide, Do cument # 001-16968 Revi sion ** 105 7. Regulatory T esting Result s 7.1 Introduction The PRoC™ LP RDK leverages the r egulatory work do ne for the CY4636 RDK.
106 CY4672 Reference Design Guide, Document # 001-16968 Revision ** Regulatory T esting Results [+] Feedback.
CY4672 Reference Design Guide, Do cument # 001-16968 Revi sion ** 107 8. Power Considerations 8.1 RDK Keyboard 8.1.1 Usage Model The following usage model are co nsidered for the RDK keyboard . ■ 4 hours per day of 6 keystrokes per second, 5 days per week.
108 CY4672 Reference Design Guide, Document # 001-16968 Revision ** Power Considerations 8.1.3 Battery Life Calculations The following t able shows the times spent i n each state by the RDK keybo ard usage model.
CY4672 Reference Design Guide, Do cument # 001-16968 Revi sion ** 109 Power Considerati ons 8.2.2 Current Measurements The following is the result s of RDK mouse current measurem ent: 8.2.3 Battery Life Calculations The following table show s th e tim es sp en t in ea ch state by the RDK mouse usage model.
1 10 CY4672 Reference Desig n Guide, Document # 001-1696 8 Revision ** Power Considerations [+] Feedback.
CY4672 Reference Design Guide, Do cument # 001-16968 Revi sion ** 1 1 1 9. Sof tware Guide 9.1 Introduction This sect ion descr ibes the softw are sour ce code mod ules used i n order t o communicat e with the PRoC™ LP bridge HID device to obtain the cu rrent radio p arameters for the att ached Wire- lessUS B™ LP dev ices.
1 12 CY4672 Reference Desig n Guide, Document # 001-1696 8 Revision ** Software Guide 9.2.1.1 CHidDevice Class Methods T able 9-1. CHidDeviceClass Methods Method Ty p e Description OpenHidDevice () Pu.
CY4672 Reference Design Guide, Do cument # 001-16968 Revi sion ** 1 13 Software Guide 9.2.1.2 CHidManager Class Methods T able 9-2. CHidManagerClass Methods Method Ty p e Description Create() Public T.
1 14 CY4672 Reference Desig n Guide, Document # 001-1696 8 Revision ** Software Guide 9.2.2 System T ray Module The System T ray module defines the CCySysTray class which provides the interface to the system tray for the application. This module is not expe cted to require any modification, however all source code is pro vided for re ference.
CY4672 Reference Design Guide, Do cument # 001-16968 Revi sion ** 1 15 Software Guide 9.2.3 WirelessUSB System T ray Application Module The WirelessUSB System Tr ay module is the main s ystem tray application.
1 16 CY4672 Reference Desig n Guide, Document # 001-1696 8 Revision ** Software Guide 9.2.3.2 CMainFrame Class Methods The CMainFram e class is the Vi sual C++ generated fi le that is a derived frame-window class for the system tray application's main frame window .
CY4672 Reference Design Guide, Do cument # 001-16968 Revi sion ** 1 17 Software Guide 9.2.3.3 CWirelessUSBS tatusPropertyPage Class Methods The CWirelessUSBS tatusPropertyPage class is th e Vi sual C+.
1 18 CY4672 Reference Desig n Guide, Document # 001-1696 8 Revision ** Software Guide 9.2.3.5 CHidT rayDevice Class Methods The CHidT rayDevice class is derived from the CHid Device class and is the class used to interface with WirelessUSB devices. 9.
CY4672 Reference Design Guide, Do cument # 001-16968 Revi sion ** 1 19 Appendix A. References CY4672 Getting S tarted PSoC Designer™ version 4.3 document ation CY3631 Manufacturing T est Kit Device Class Definition for Human Interface Devices (HID) ( http://www .
120 CY4672 Reference Design Guide, Document # 001-16968 Revision ** [+] Feedback.
CY4672 Reference Design Guide, Do cument # 001-16968 Revi sion ** 121 Index Numerics 1 millisecond interva l timer user module 81 A acronyms 10 advanced encryption standard 29 decrypt key 31 encrypt k.
122 CY4672 Reference Design Guide, Document # 001-16968 Revision ** Index firmware architecture model 82 flash security 81 H hardware bridge overview 75 keyboard overview 51 mouse overview 33 RDK keyb.
CY4672 Reference Design Guide, Do cument # 001-16968 Revi sion ** 123 Index connect request 24 connect response packet (bridge) 24 ping packet (bridge) 25 ping mode bridge only 16 platform and archite.
124 CY4672 Reference Design Guide, Document # 001-16968 Revision ** Index [+] Feedback.
CY4672 Reference Design Guide, Do cument # 001-16968 Revi sion ** 125 Revision History Document Revision History Document Title: CY467 2 Re fer ence Design Kit Guide Document Number: Revision ECN# Issue Date Orig in of Change Description of Change 1.0 10/3/06 ARI New document.
126 CY4672 Reference Design Guide, Document # 001-16968 Revision ** [+] Feedback.
Een belangrijk punt na aankoop van elk apparaat Cypress CY4672 (of zelfs voordat je het koopt) is om de handleiding te lezen. Dit moeten wij doen vanwege een paar simpele redenen:
Als u nog geen Cypress CY4672 heb gekocht dan nu is een goed moment om kennis te maken met de basisgegevens van het product. Eerst kijk dan naar de eerste pagina\'s van de handleiding, die je hierboven vindt. Je moet daar de belangrijkste technische gegevens Cypress CY4672 vinden. Op dit manier kan je controleren of het apparaat aan jouw behoeften voldoet. Op de volgende pagina's van de handleiding Cypress CY4672 leer je over alle kenmerken van het product en krijg je informatie over de werking. De informatie die je over Cypress CY4672 krijgt, zal je zeker helpen om een besluit over de aankoop te nemen.
In een situatie waarin je al een beziter van Cypress CY4672 bent, maar toch heb je de instructies niet gelezen, moet je het doen voor de hierboven beschreven redenen. Je zult dan weten of je goed de alle beschikbare functies heb gebruikt, en of je fouten heb gemaakt die het leven van de Cypress CY4672 kunnen verkorten.
Maar de belangrijkste taak van de handleiding is om de gebruiker bij het oplossen van problemen te helpen met Cypress CY4672 . Bijna altijd, zal je daar het vinden Troubleshooting met de meest voorkomende storingen en defecten #MANUAl# samen met de instructies over hun opplosinge. Zelfs als je zelf niet kan om het probleem op te lossen, zal de instructie je de weg wijzen naar verdere andere procedure, bijv. door contact met de klantenservice of het dichtstbijzijnde servicecentrum.