User's Manual
Datalogic Scanning, Inc
959 Terry Street
Eugene, Oregon 97402
Page 61 10/23/2009
Revision X2
Key Name Key Number Type Default Setting
PSKEY_ANA_FTRIM 0x01f6 uint16 0x1d
BlueCore uses a crystal as the basis of all of its accurate timing, notably radio frequency control, UART
baud rate and precise event timing. Each real crystal oscillates at a slightly different frequency. This ps
value trims the crystal to an optimal value.
This value must be set per crystal, i.e. it will need to be configured for each manufactured Bluetooth
module.
Key Name Key Number Type Default Setting
PSKEY_WD_TIMEOUT 0x01f7 TIME 5 * SECOND
BlueCore has hardware support to run a watchdog timer. This is a timer that is set to the value of this key
every time it is "kicked" - written to by the firmware. If the firmware fails to kick the watchdog within this
period the chip's watchdog hardware forces a hardware reset of the chip. This is to support the outlandish
possibility that the chip's firmware might crash or hang up.
The value is in microseconds. If the value is zero the watchdog is disabled.
See the description of PSKEY_WD_PERIOD
.
(Type TIME is fundamentally a uint32. Value SECOND is 1000000.)
Key Name Key Number Type Default Setting
PSKEY_WD_PERIOD 0x01f8 TIME 3 * SECOND
Set the watchdog period - (nominally) the microseconds between kicking the watchdog hardware.
This should be no more than 70% of PSKEY_WD_TIMEOUT
(unless the timeout value is zero).
(Type TIME is fundamentally a uint32. Value SECOND is 1000000.)
Key Name Key Number Type Default Setting
PSKEY_HOST_INTERFACE 0x01f9 phys_bus phys_bus_sdio
Select the physical connection that is used to pass information to and from the host - BCSP, H4, USB, etc.
Only one of these can be used at a time, not least because the USB interface uses some of the same chip
pins as the UART.
Much of the chip's support for BCSP/H5 is performed by hardware - this allows interrupt routines to deal
with complete BCSP/H5 packets. When the chip uses its UART in a more naive fashion, e.g., for H4, this
support must be disabled. The UART's hardware support for BCSP/H5 must be enabled via
PSKEY_UART_CONFIG_BCSP
/H5.
The H4 specification requires the use of UART hardware flow control and no use of parity. These must
also be set via PSKEY_UART_CONFIG_H4
.
Type phys_bus is really a uint16. The pskey takes values: