User's Manual

Datalogic Scanning, Inc
959 Terry Street
Eugene, Oregon 97402
Page 68 10/23/2009
Revision X2
Internal PA gain setting at which to perform IQ trim auto-calibration. If the pskey value is higher than the
maximum level in the power table (see PSKEY_LC_POWER_TABLE) the firmware will silently limit it to
the power table's maximum internal PA setting.
Bits [11:8] set the transmitter pre-amplifier gain while bits [7:0] set the maximum allowed power amplifier
gain (but a lower value may be used).
Key Name Key Number Type Default Setting
PSKEY_TX_OFFSET_HALF_MHZ 0x0217 int16 -2
Frequency offset used for transmit, in units of 500 kHz.
For BC5+ it controls only the basic rate Class 2 transmit offset
This key should only be changed on advice from CSR.
Key Name Key Number Type Default Setting
PSKEY_GBL_MISC_ENABLES 0x0221 uint16 0x81c
This allows settings for various bits in the chip's $GBL_MISC_ENABLES register to be selected. It allows
the MISC_XAP_SUSPEND_ON_RX_EN, MISC_FAST_FLASH_EN, MISC_TRISTATE_DRIVE_EN,
MISC_SPI_STOP_OUT_EN and MISC_EXT_RAM_EN bits (bits 0, 2, 3, 4 and 7 respectively) to be
selected. The bits are written as the value of the corresponding bits in this pskey; the other bits in this
pskey's value are ignored.
The default setting does not suspend the XAP on Rx, enables the tristate drive and SPI stop output signal,
and does not enable external RAM. The default setting for FAST_FLASH_EN depends on the firmware
version.
On chips up to and including BlueCore4, MISC_FAST_FLASH_EN controls whether the chip generates
wait states for Flash access. The correct setting depends on the Flash device in use:
- Setting this bit to 0 requires Flash with access speed of 90ns or
faster. This is the safe setting.
- Setting this bit to 1 requires Flash with access speed of 45ns or
faster ("fast flash"). If your Flash meets this specification,
setting this bit may allow faster execution and hence power
savings.
If "fast flash" mode is enabled incorrectly, firmware may not
execute correctly.
The FAST_FLASH_EN bit is ignored from BlueCore5 onwards (PSKEY_PROG_WAIT_STATES
is the
nearest equivalent). It is also ignored when running from ROM on some previous devices.
(Setting 0x08 disables the SPI MISO line.)
This is for CSR internal use only. Don't play with it unless you know what it does.
Key Name Key Number Type Default Setting
PSKEY_UART_SLEEP_TIMEOUT 0x0222 uint16 1000