80
CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A
Code Examples
CLKOUT Source.
This parameter is set to Internal (24 MHz).
EFTB.
This parameter is set to Enable.
Crystal OSC.
This parameter is set to Disable.
Crystal OSC Xgm.
This parameter is set to 000.
Low V Detect.
This parameter is set to 3.10-3.16 V.
V Reset.
This parameter is set to Disabled.
Watchdog Enable.
This parameter should be set to Enable, but may be set to Disable for debug
purposes.
5.3.2.2
SPI Master User Module
The SPI Master User Module is used to communicate with the LP radio. The LP radio supports lead-
ing edge data latching, non-inverted clock, and MSB first transmission as defaults. A clock divider of
6 is chosen which generates an SPI clock of 2 MHz. The interrupt API to this module is not used.
5.3.2.3
Programmable Interval Timer User Module
This module is used for timing.
5.3.2.4
Flash Security
The keyboard project within PSoC Designer has a file called
FlashSecurity.txt
. This file specifies
access rules to blocks of Flash ROM. See the documentation at the top of the file for definitions. This
file is shipped with a single change from its default configuration. The blocks starting at address
1F80 hex are changed from W: Full (Write protected) to U: Unprotected. These locations of Flash
are dedicated to save nonvolatile configuration values for the protocol code module and nonvolatile
session key for the encrypt code module.
5.3.3
Firmware Architecture
Figure 5-18. Firmware Architecture Model