Building and Downloading Firmware ........................ 11 TESTING_USING_HCI Option ......................... 12 SLEEP_ALLOWED Option ..........................13 LED Options ..............................14 Testing the Reference Keyboard CYW920819REF-KB-01 Platform ..............15 BR/EDR Link Test ............................16 LE Link Test..............................16 Document Revision History ............................. 17 Worldwide Sales and Design Support ..........................
1 Introduction The CYW920819REF-KB-01 platform is designed as a Cypress HID Reference Keyboard, using the CYW920819EVB-02 Evaluation Kit connected to the keyboard hardware as described in this document. It is supported in ModusToolbox™ 2.0 with BTSDK 2.1 (or higher). It can be programmed with BR/EDR and/or LE Bluetooth applications to demonstrate a standard Bluetooth keyboard device.
2 Hardware Setup This chapter describes setting up the hardware using the CYW9208xxEVB-02 Board (EVB) as a UART-USB adapter and power supply. HID Reference Keyboard User Guide Document Number: 002-29203 Rev. *A...
Hardware Setup 2.1 Power and Ground Connect VDD to EVB J16-P2 where it is labeled as “3V3”. Connect GND to EVB J11-P6, GND. To make sure that the board is powered, put jumpers between EVB P2-P4 in J7 and J8 as shown below: HID Reference Keyboard User Guide Document Number: 002-29203 Rev.
Hardware Setup 2.2 Reset and Recovery Buttons Shorting the 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.
Hardware Setup 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. HID Reference Keyboard User Guide Document Number: 002-29203 Rev. *A...
Hardware Setup 2.4 Connecting PUART Remove all jumpers from EVB J10 and connect EVB P31 J10-P6 (TX). HID Reference Keyboard User Guide Document Number: 002-29203 Rev. *A...
Page 10
Hardware Setup When the EVB board is connected to a USB port on a host PC, the system will enumerate two serial ports: one for HCI UART and one 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.
In ModusToolbox IDE, click on the New Application link in the Quick Panel to create a new project. Select the CYW920819REF-KB-01 platform and then select wiced_btsdk. This installs the prerequisite SDK support needed for the keyboard application. This needs to be performed only once.
Programming Alternatively, after the application and wiced_btsdk have been created in the ModusToolbox IDE, the firmware can be built and downloaded using the command line. Do the following: Open a command prompt (CMD, xterm, etc.) and change directory to the ModusToolbox workspace folder (the mtw folder in the user home directory by default), and execute the following commands: $ cd HID_20819REF_KB/hid/dual_mode_keyboard $ make clean...
Programming 3.4 SLEEP_ALLOWED Option There are four levels of Sleep options, which are configurable in the makefile or via command line override. In makefile, change SLEEP_ALLOWED_DEFAULT=n In Cygwin command line, use SLEEP_ALLOWED=n Where n is: No sleep allowed Sleep is allowed without Deep Sleep: Radio powered down and digital core is mostly powered down except for RAM, registers, and some core logic.
Programming PUART output: <<CY DUAL MODE KB start>> SLEEP_ALLOWED=2 OTA_FW_UPGRADE SKIP_PARAM_UPDATE … 3.5 LED Options The LED functionality is enabled by default. It can be disabled by changing the makefile to use LED_SUPPORT_DEFAULT=0, or via a command line override using the LED=0 parameter. The LED function should be turned off for power measurement. There are four LEDs available on the keyboard reference board: WHITE, BLUE, YELLOW, and RED.
4 Testing the Reference Keyboard CYW920819REF-KB- 01 Platform Do the following: Connect the CYW920819EVB-02 USB port to the host PC. Connect a terminal emulation program to the PUART serial port to allow the application debug output to be shown. Build and program the image to device. Press the Reset button to reset the device.
Testing the Reference Keyboard CYW920819REF-KB-01 Platform 4.1 BR/EDR Link Test Press the Connect key once for BR/EDR pairing mode. The YELLOW LED should blink. Pair to a BR/EDR host. After successful pairing, the YELLOW LED should glow to indicate that the link is connected.
To the extent permitted by applicable law, Cypress reserves the right to make changes to this document without further notice. Cypress does not assume any liability arising out of the application or use of any product or circuit described in this document.
Need help?
Do you have a question about the CYW920819REF-KB-01 and is the answer not in the manual?
Questions and answers