background image

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

HID Reference Keyboard User Guide 

 

Document Number: 002-29203 Rev. *A 

 

 

 

 

 

 

 

Cypress Semiconductor 

198 Champion Court 

San Jose, CA 95134-1709 

www.cypress.com  

Summary of Contents for CYW920819REF-KB-01

Page 1: ...HID Reference Keyboard User Guide Document Number 002 29203 Rev A Cypress Semiconductor 198 Champion Court San Jose CA 95134 1709 www cypress com ...

Page 2: ... UART 8 2 4 Connecting PUART 9 3 Programming 11 3 1 Auto Baud Recovery Mode for Programming 11 3 2 Building and Downloading Firmware 11 3 3 TESTING_USING_HCI Option 12 3 4 SLEEP_ALLOWED Option 13 3 5 LED Options 14 4 Testing the Reference Keyboard CYW920819REF KB 01 Platform 15 4 1 BR EDR Link Test 16 4 2 LE Link Test 16 Document Revision History 17 Worldwide Sales and Design Support 18 ...

Page 3: ...0819REF_KB dual_mode_keyboard as shown in the ModusToolbox IDE a sample application that demonstrates both BR EDR and LE Bluetooth keyboard functionality on the platform It can be paired with BR EDR HID hosts or LE Bluetooth HID Over GATT Protocol HOGP host devices The keyboard is powered by the USB port however only power and ground are connected to the keyboard The port is purely used as a power...

Page 4: ...D Reference Keyboard User Guide Document Number 002 29203 Rev A 4 2 Hardware Setup This chapter describes setting up the hardware using the CYW9208xxEVB 02 Board EVB as a UART USB adapter and power supply ...

Page 5: ...uide Document Number 002 29203 Rev A 5 2 1 Power and Ground 1 Connect VDD to EVB J16 P2 where it is labeled as 3V3 2 Connect GND to EVB J11 P6 GND 3 To make sure that the board is powered put jumpers between EVB P2 P4 in J7 and J8 as shown below ...

Page 6: ...e BT_RST RST_N pin in the module to ground will reset CYW20819 Put a push button in between While shorting CTS to ground resetting the device will allow the device to bypass Flash boot and enter Auto Baud Recovery mode Because CTS needs to be connected to two places use a splitter to connect it to a push button and EVB J5 P6 ...

Page 7: ...Hardware Setup HID Reference Keyboard User Guide Document Number 002 29203 Rev A 7 ...

Page 8: ...HID Reference Keyboard User Guide Document Number 002 29203 Rev A 8 2 3 Connecting HCI UART Remove all jumpers from EVB J5 and connect TX RX CTS and RTS signals to the TX RX CTS and RTS pins of the reference keyboard ...

Page 9: ...Hardware Setup HID Reference Keyboard User Guide Document Number 002 29203 Rev A 9 2 4 Connecting PUART Remove all jumpers from EVB J10 and connect EVB P31 J10 P6 TX ...

Page 10: ...e for PUART The HCI UART port is used for programing from ModusToolbox Use a serial port terminal application to open the PUART port so that the firmware debug output can be shown Use 115200 Baud 8 bits no parity Use LF as the return character for both TX and RX lines The wiring can be arranged as shown With this arrangement after programming the device can be detached easily and used as a stand a...

Page 11: ...ort is open and then close the port to be ready for programming This will be the same effect as the Recovery button steps above Again after the Reset button is pressed if the device is in Auto Baud Recovery Mode it should not have any output on the PUART port With this method you must ensure that no character or command is sent to the port after reset because when sending any data the CTS line can...

Page 12: ...s the following default values HCI_UART TESTING_USING_HCI 0 transport is disabled PUART P31 Baud 115200 8 bits no parity Device will sleep power off for HIDOFF need to use Recovery for reprogramming The key matrix is enabled 3 3 TESTING_USING_HCI Option With the reference keyboard platform HCI transport is disabled by default To use BTSDK host utilities Client Control or BtSpy the TESTING_USING_HC...

Page 13: ... Deep Sleep shutdown Sleep is allowed of type ePDS Extended Power Down Sleep Only the main RAM and ePDS control circuitry retains power All other components are powered OFF The device can wake up either after a programmed period or upon receiving an external event The processor is paused during Sleep and does not require boot upon wake up The device consumes about 8 uA floor current 3 Deep Sleep s...

Page 14: ...rence board WHITE BLUE YELLOW and RED WHITE Used for the Caps Lock indicator This LED is set or cleared by the host after a Bluetooth HID link is connected When you press the Caps Lock key the host receives the key state and it changes the Caps Lock state at the host which will send the report back to the reference board to set or clear this LED accordingly BLUE Used for LE link status This LED bl...

Page 15: ...te Bluetooth connections the right most top Lock key is used as the Connect button Pressing this key once will start BR EDR pairing While the EVB is in BR EDR pairing pressing this key one more time will switch to the EVB to LE pairing Pressing it one more time while the EVB is in LE pairing will stop the pairing process Pressing the Connect key will perform a virtual cable unplug and erase any pr...

Page 16: ...oard to make sure that it can reconnect back to the host After reconnecting verify that the keystrokes can still be received by the host 7 Press the Reset button to disconnect the keyboard Press a key on the keyboard to reconnect After reconnecting verify that keystrokes can still be received by the host 8 Power cycle the keyboard and press a key from the keyboard to reconnect After reconnecting v...

Page 17: ... 002 29203 Rev A 17 Document Revision History Document Title HID Reference Keyboard User Guide Document Number 002 29203 Revision ECN Issue Date Description of Change 6745617 12 09 2019 Initial release A 6817269 02 26 2020 Updated SLEEP_ALLOWED Option ...

Page 18: ... Cypress hardware or software products Cypress shall have no liability arising out of any security breach such as unauthorized access to or use of a Cypress product CYPRESS DOES NOT REPRESENT WARRANT OR GUARANTEE THAT CYPRESS PRODUCTS OR SYSTEMS CREATED USING CYPRESS PRODUCTS WILL BE FREE FROM CORRUPTION ATTACK VIRUSES INTERFERENCE HACKING DATA LOSS OR THEFT OR OTHER SECURITY INTRUSION collectivel...

Reviews: