User's Manual
Datalogic Scanning, Inc
959 Terry Street
Eugene, Oregon 97402
Page 108 10/23/2009
Revision X2
Key Name Key
Number
Type Default Setting
PSKEY_DEEP_SLEEP_CORRECTION_FACTOR 0x03dc int16 3
In deep sleep, BlueCore has a low power oscillator circuit which is used to keep time. Different variants of
the chip have slightly different behaviour. This key allows the correction for the chip to be tweaked: lower
(signed) values make the clock run slower, and higher values make it run faster. This should only need to
be changed for different hardware; therefore, the value should only be altered on advice from CSR.
The value is not applied if PSKEY_DEEP_SLEEP_USE_EXTERNAL_CLOCK
is TRUE as the external
clock will not have the same systematic behaviour.
Key Name Key Number Type Default Setting
PSKEY_CLOCK_STARTUP_DELAY 0x03dd uint16 0
On waking from deep sleep, BlueCore usually expects an external clock supplied to the chip to be stable
within 5 milliseconds of the clock request line being asserted. If this is not the case, special action must be
taken to avoid loss of clock accuracy. In particular, the clock accuracy must not fall below 250 parts per
million while there are Bluetooth connections to the device.
On BlueCore2-ROM, this key should be set to the maximum time in milliseconds which it will take an
external clock to stabilise. This results in slightly less efficient power consumption on entry to and exit
from deep sleep. It has no effect if the value is less than 6 milliseconds, or if no clock request line is in use.
On BlueCore3 and later, a value from 1 to 31 inclusive is used directly as count of cycles of the low power
oscillator (LPO). Setting a value of zero (the default) causes a delay of 5 cycles to be used. The frequency
of the internal LPO is nominally 1 kHz but varies somewhat between individual chips, so care should be
taken when picking a suitable value. When supplying an external slow clock (see
PSKEY_DEEP_SLEEP_USE_EXTERNAL_CLOCK
), the nominal 32 kHz clock is divided by 32 before
use.
Key Name Key Number Type Default Setting
PSKEY_CDMA_LO_ERROR_LIMITS 0x03de uint16 0x140F
This value is used in the run-time generation of the local oscillator configuration table when using a CDMA
(non n*250 kHz) reference clock.
Bits [7:0] define the maximum acceptable local oscillator frequency error on transmit in uints of 1 kHz
when using the preferred frequency offset.
Bits [15:8] define the maximum allowed local oscillator frequency error in units of 1 kHz to terminate the
search.
Available from BlueCore2-ROM only.
Key Name Key Number Type Default Setting
PSKEY_CDMA_LO_REF_LIMITS 0x03df uint16 0x2314
This value is used in the run-time generation of the local oscillator configuration table when using a CDMA
(non n*250 kHz) reference clock.