Cypress CYW920819REF-KB-01 Manuale utente

HID Reference Keyboard User Guide Document Number: 002-29203 Rev. *A 2
Contents
1Introduction.................................................................................................................................................................3
2Hardware Setup..........................................................................................................................................................4
2.1 Power and Ground .............................................................................................................................................5
2.2 Reset and Recovery Buttons..............................................................................................................................6
2.3 Connecting HCI UART .......................................................................................................................................8
2.4 Connecting PUART............................................................................................................................................9
3Programming............................................................................................................................................................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
4Testing 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

HID Reference Keyboard User Guide Document Number: 002-29203 Rev. *A 3
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.
BTSDK 2.1 supplies the “dual_mode_keyboard”Code Example (“HID_20819REF_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 supply. The keyboard is designed to upgrade firmware over the air. When OTA firmware upgrade
is not available, the only way to program firmware is through direct wire connections. This photo shows the keyboard, USB
power connection, and necessary programming signals brought out to a connector for wired programming.

HID 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.

Hardware Setup
HID Reference Keyboard User Guide 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:

Hardware Setup
HID Reference Keyboard User Guide Document Number: 002-29203 Rev. *A 6
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. Because CTS needs to be connected to two places, use a splitter to connect it to a push button and EVB J5-P6.

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

Hardware Setup
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.

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).

Hardware Setup
HID Reference Keyboard User Guide Document Number: 002-29203 Rev. *A 10
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. 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-alone device.
Indice
Altri manuali Cypress Tastiera



















