Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 DLBTM Bluetooth Radio Module Users Guide Product Description: Datalogic Bluetooth Module Internal Model Number: DLBTMCX Page 1 Revision X2 10/23/2009
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 Pin Layout 1.122 0.810 3X SHIELD CAN D0.040 0.978 1.024 0.100 0.080 1.060 2X TOOLING D0.071 1.000 1. 0.685 0.022 0.110 0.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 2. µP Interface This design will be HCI only using the H4 protocol for serial communications. The baud rate will be set at 115.2K. 3. Persistence Storage Keys The following is a table covering the PS Key addresses and settings for each location. Please refer to the latest CSR document for updated PS Key settings.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 default frequency block by January 2001. 0 North America and Europe, except ... 1 France 2 Spain 3 Japan Key Name PSKEY_CLASSOFDEVICE Key Number Type Default Setting 0x0003 bdcod 0 The local device's default Bluetooth "class of Device" or CoD. Type bdcod is really a uint32. The class of device is a 24 bit value stored in a uint32; the highest byte must be zero. This is the device's default class of device, used when the device boots.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 to the accuracy of that external clock. PSKEY_DEEP_SLEEP_STATE = ALWAYS_ACCURATE (3): PSKEY_DEEP_SLEEP_USE_EXTERNAL_CLOCK should be TRUE, so set device drift to the accuracy of the external clock. Key Name PSKEY_DEVICE_JITTER Key Number Type Default Setting 0x0005 uint16 10 This should hold the local device's radio jitter in microseconds. (LMP v1.1, section 5.2.) This value is used in LMP_timing_accuracy_res messages sent to peers.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 This value is constrained by the value of the pskey PSKEY_MAX_REMOTE_MASTERS. The "barge-in" connection sequence (an existing master page-scans, it is paged by new a device, then the new device's link performs a master/slave switch) implies a temporary scatternet. This pskey does not affect this behaviour. See the description of PSKEY_MAX_REMOTE_MASTERS. (Type bool is fundamentally a uint16 with values 0 and 1 mapping to FALSE and TRUE.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 This supports the Host_Buffer_Size HCI command. See the description of PSKEY_H_HC_FC_MAX_SCO_PKT_LEN. Key Name Key Number Type Default Setting PSKEY_LC_FC_BUFFER_LOW_WATER_MARK 0x0015 lc_fc_lwm 0x0600, 0x0700, 0x0800 A set of values that control the assertion of flow control for data received from air.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 For BlueCore01b, the key's range is normally 0x04 to 0x3f. 0x04 gives the slowest ramp rate. Although the hardware supports values below 0x04, using them will put the software timings so far out that the module may not work. The key's value has different effects according to whether the module uses the chip's internal power amplifier or an external amplifier. (See PSKEY_TXRX_PIO_CONTROL.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 specified in PSKEY_LC_ATTEN_GOLDEN_RANGE_MAXIMUM you should get this RSSI reading for a signal at the top of the golden receive range. Taking this signal above 90 can lead to faulty behaviour. If a -60 dBm signal with an attenuation of 1 gives an RSSI above 90 then leave this setting at 90 as you have a module with good sensitivity.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 A two-element array of uint16s specifying the use of PIO lines to indicate the occurrence of priority Bluetooth activity (transmit or receive): { uint16 pio_mask, uint16 pio_invert } Bits 0 to 15 of "pio_mask" and "pio_invert" map to PIO0 to PIO15 respectively. A bit of "pio_mask" set to high enables driving of the corresponding PIO pin to indicate priority activity.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 1010b 802.11b channel 10 (Fc = 2.457GHz) 1011b 802.11b channel 11 (Fc = 2.462GHz) 1100b 802.11b channel 12 (Fc = 2.467GHz) 1101b 802.11b channel 13 (Fc = 2.472GHz) 1110b 802.11b channel 14 (Fc = 2.484GHz) 1111b Reserved (treated as 0000b) This pskey is primarily intended for use by IEEE 802.11b combo designs.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 This key can take on three values: 0: All high Priority TX packets are protected - standard setting Role Switch: Master -> High Priority Slave-> High Priority Park: Master -> High Priority Slave -> High Priority Page: High Priority Page Scan: High Priority Inquiry: High Priority Inquiry Scan:High Priority Fruitbat Test mode: High Priority LMP traffic Master or Slave: High Priority SCO: Master or Slave: High Priority Broadcast: High Priority Poll:
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 The first and second word control basic data rate operation. 1st uint16, lower byte: uint8 external_pa for basic rate 1st uint16, upper byte: uint8 internal_pa for basic rate 2nd uint16: bit 0 controls class 1 and class 2 operation with a dynamically switchable external PA (see below). Bits 4 to 6 control the tx_pa_attn value used BC5 and later chips, and must be zero on chips earlier chips. Other bits must be zero.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 directly. For example, power_setting { 0x0d11, 0, 0x3f11, 0x4d00, 0xf800 } specifies: To get power output -8 dBm for basic data rate (1 Mbps) use internal amp 13, external amp 17. To get power output -8 dBm, for enhanced data rate (2 or 3 Mbps) use internal amp 63, external amp 17, TX-PRE amp 0x4d. A power table is a list of these entries. The entries must be in ascending order of transmit power.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 PSKEY_LC_WIDEBAND_RSSI_CONFIG 0x0032 wideband_rssi_config 113, 98, 9, 50 Hardware from BlueCore3-Ext has a facility for wideband RSSI measurement. This key is used to configure the settings. It consists of four 16-bit words. The first word is the value of the wideband RSSI reading above which the RSSI high target should be reduced. The second word is the value of the wideband RSSI readinb below which the RSSI high target should be increased.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 remaining scan window. The intention is to save power when there are no other devices nearby. Key Name Key Number Type Default Setting PSKEY_CONDITIONAL_SCAN_THRESHOLD 0x0037 uint16 0x0060 RSSI threshold for energy detection. Pre-BC5 two bytes are used. The lowest byte is the narrow band RSSI threshold. This is in LSB for the ADC, not in mV. The upper byte is the number of LSB above baseline for the wide band RSSI.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 PSKEY_AGC_HYST_LEVELS 0x003d agc_hyst_config 0x8, 0x6, 0xb, 0x9 BlueCore contains an automatic gain control algorithm which attempts to maintain a reasonable signal level by adding and removing various sources of attenuation. This key controls the signal strength at which these sources are added and removed. It should not be altered except on advice from CSR.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 resynchronising. This PS key holds a time indicating how long the master has to have not heard from the slave before it will start using single slot packets to help the slave resynchronise. One way to calculate a good time is to know that in low power modes, the error between the master and slave's clock can grow at up to 500 ppm (since each device's clock is allowed to be upto 250 ppm from nominal).
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 PSKEY_EDR_MODE_SWITCH_PIO 0x0052 uint16 none This key will assert the PIO line specified, 0-15 if present, if the key is not present it will become a zero length key with an attempt to read it failing, this will fail the psget method and disable use of this key. If the pskey is defined but the value is 0xffff, out of bounds, then the key will not setup a pio line.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 paired with decrement peer power period. (Type TIME is fundamentally a uint32. Value SECOND is 1000000. Value MILLISECOND is 1000.) Key Name Key Number Type Default Setting PSKEY_LC_PEER_POWER_DECR_PERIOD 0x0058 TIME 1 * SECOND The period, measured in microseconds, between attempts to decrement the peer's transmit power, the same interval is used for measurements of channel quality to support LMP channel quality driven data rate messages.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 0 COEXISTENCE_NONE PIO is not used (high impedance) 1 COEXISTENCE_BT_OUTPUT PIO is asserted for the duration of SCO and eSCO reserved slots With current firmware builds this should be left at its default of COEXISTENCE_BT_OUTPUT, with the functionality enabled or disabled by modifying PSKEY_LC_COMBO_DOT11_PERIODIC_PIO_MASK as appropriate.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 A Bluetooth address and its corresponding link key. 1st uint16: top 8 bits of the LAP in the lower byte 2nd uint16: lower 16 bits of the LAP 3rd uint16: 16 bit UAP 4th uint16: 8 bit NAP in the lower byte Link key is 8 words, following the 4-word BDADDR. The link key is stored little-endian, so MSW is at position 11, LSW at position 4.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 Number PSKEY_LINK_KEY_BD_ADDR8 0x00d2 LM_LINK_KEY_BD_ADDR_T none A Bluetooth address and its corresponding link key. See description for PSKEY_LINK_KEY_BD_ADDR0 Key Name Key Number Type Default Setting PSKEY_LINK_KEY_BD_ADDR9 0x00d3 LM_LINK_KEY_BD_ADDR_T none A Bluetooth address and its corresponding link key.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 The minimum length of an encryption key in bytes. Range 1->16. A value of 1 implies a minimum encryption key length of 8 bits, etc. (BT specification 1.1, Section 14.3.1 p159: 1<=Lmax<=16. Section 14.3.3, p161, 3rd paragraph: max key size between one and sixteen. Section 14.3.5, p166: table does not contain key of length zero.) See PSKEY_ENC_KEY_LMAX.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 X 5 Master/slave switch X 6 Hold mode X 7 Sniff mode X 8 Park mode X 9 Power control requests X 10 Data rate driven by channel quality X 11 SCO link X 12 HV2 packets X 13 HV3 packets X 14 mu-law voice encoding X 15 A-law voice encoding Second word X 0 CVSD X 1 Paging scheme X 2 Power control X 3 Transparent SCO data 4} 5 } L2CAP flow control lag (our default = 0) 6} [1.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 5 Erroneous Data Reporting X 6 Non-flushable Packet Boundary Flag 7 Reserved X 8 Link Supervision Timeout Changed Event X 9 Inquiry Response TX Power Level 10-14 Reserved X 15 Extended features [i.e. highest bit in feature mask] Key Name PSKEY_LM_USE_UNIT_KEY Key Number Type Default Setting 0x00f0 bool FALSE Combination or unit keys can be used for authentication depending on devices' storage capacity.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 page timeout slots is greater than this value, this value is used a the maximum hold time. A value of zero indicates that holding around page is disabled. Key Name Key Number Type Default Setting PSKEY_AFH_ADAPTATION_RESPONSE_TIME 0x00f8 uint16 0x12c0 This sets the interval between successive channel classification updates (and hence channel map adaptations) for an AFH enabled master.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 Key Name Key Number Type Default Setting PSKEY_AFH_REENABLE_CHANNEL_TIME 0x00fb uint16 0x0FA0 This key determins the amount of time it takes for a channel that was marked as bad to be marked as good again (when we have no further information about that channel). The time will be approximately Key * 40 milliseconds. The process of adding bad channels back into the channel map is deliberately randomized, so this time might vary. NB.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 2nd uint16: lower 16 bits of the LAP 3rd uint16: 16 bit UAP 4th uint16: 8 bit NAP in the lower byte Link key is 8 words, following the 4-word BDADDR. The link key is stored little-endian, so MSW is at position 11, LSW at position 4. Key Name PSKEY_PRIVATE_LINK_KEY_BD_ADDR1 Key Number Type Default Setting 0x00ff LM_LINK_KEY_BD_ADDR_T none A Bluetooth address and its corresponding link key.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 A Bluetooth address and its corresponding link key. See description for PSKEY_PRIVATE_LINK_KEY_BD_ADDR0 Key Name Key Number Type Default Setting PSKEY_LOCAL_SUPPORTED_COMMANDS 0x0106 uint16[] 0xffff, 0x03ff, 0xfffe, 0xffff, 0xffff, 0xffff, 0x0ff3, 0xffe8, 0xf73f, 0xff83, 0x000C This is a large bitfield that describes which HCI commands are supported by the host controller.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 2 Exchange Fixed Info 3 Exchange Alias Info 4 Private Pairing Request Reply 5 Private Pairing Request Negative Reply 6 Generated Alias 7 Alias Address Request Reply byte 4 0 Alias Address Request Negative Reply 1 Hold Mode 2 Sniff Mode 3 Exit Sniff Mode 4 Park Mode 5 Exit Park Mode 6 QoS Setup 7 Role Discovery byte 5 0 Switch Role 1 Read Link Policy Settings 2 Write Link
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 5 Write Authentication Enable 6 Read Encryption Mode 7 Write Encryption Mode byte 9 0 Read Class Of Device 1 Write Class Of Device 2 Read Voice Setting 3 Write Voice Setting 4 Read Automatic Flush Timeout 5 Write Automatic Flush Timeout 6 Read Num Broadcast Retransmissions 7 Write Num Broadcast Retransmissions byte 10 0 Read Hold Mode Activity 1 Write Hold Mode Activity 2 Read Transmit Power Level 3 Read SCO Flow Control Enable 4 Write SCO Flow C
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 7 Write Alias Authentication Enable byte 14 0 Read Anonymous Address Change Parameters 1 Write Anonymous Address Change Parameters 2 Reset Fixed Address Attempts Counter 3 Read Local Version Information 4 Read Local Supported Commands 5 Read Local Supported Features 6 Read Local Extended Features 7 Read Buffer Size byte 15 0 Read Country Code 1 Read BD ADDR 2 Read Failed Contact Count 3 Reset
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 0 User Confirmation Request Reply Command 1 User Confirmation Request Negative Reply Command 2 User PassKey Request Reply Command 3 User PassKey Request Negative Reply Command 4 Remote OOB Data Request Reply Command 5 Write Simple Pairing Debug Mode 6 Enhanced Flush 7 Remote OOB Data Request Negative Reply Command byte 20 0 1 2 Send Keypress Notification Command 3 IO Capability Request Negative Reply Command 4 5 <
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 This pskey can hold a maximum of 20 uint16s, limiting the default device name to 40 octets. The behaviour is undefined in this pskey holds more than 20 uint16s. (This size constraint does not apply to a name written via the HCI Change_Local_Name command.) The default name for BlueCore3 chips is "CSR - bc3"; when packed this becomes {0x5343, 0x2052, 0x202d, 0x6362, 0x0033}. This pskey is used from (HCI) 18.X builds. HCI 17.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 This key defines the minimum amount by which the device will change a channel map. If the channel map is rapidly changing by only a very small amount then the device prefers not to send too many channel map changes of classification reports. The first number is the number of channels that must have got worse to cause the device to send a message.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 bucket works. The firmware also stops conditional scanning for this period when it receives an inquiry or when the last connection has just ended, returning the firmware to the idle state. Conditional scanning is never performed in the connected state.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 Key Name Key Number Type Default Setting PSKEY_HOLD_ERROR_MESSAGE_NUMBER 0x0113 uint16 1 Maximum number of HCI Hardware Error Events which maybe present in the queue of HCI events being sent to the host. If this is set to 0 then no limit imposed.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 When performing Simple Pairing the ECC key pair should be protected. There are 3 methods for this: - Change the private key after three failed pairing attempts or after 10 successful pairing attempts or a combination of these such that 3 successful attempts count as one failed attempt. - Verify that the received public key are on the correct curve.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 PSKEY_DFU_TRANSFER_SIZE 0x0138 uint16 1023 The wTransferSize field of the run time DFU Functional Descriptor, as defined in Table 4.2 of USB DFU specification 1.0. This key applies to both the USB and "DFU over UART" (protocol name not yet allocated) protocols. The maximum permissible value for this key is 1023 for both transports. (This limit is imposed by the USB hardware). The default value (1023) is in bytes.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 This is a 32-word array containing the more significant block of the R2N multiplier for DFU signing of a VM application. See PSKEY_DFUENC_VMAPP_PK_R2N_LSB for the other part. Key Name Key Number Type Default Setting 0x0162 uint16[] none PSKEY_DFUENC_VMAPP_PK_R2N_LSB This is a 32-word array containing the less significant block of the R2N multiplier for DFU signing of a VM application. See PSKEY_DFUENC_VMAPP_PK_R2N_MSB for the other part.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 The configuration uses a structure of type HOSTIO_FC_PS_BLOCK in which the only field currently used is: bool allow_sco_fc - if TRUE then the chip will allow SCO over HCI flow control to be turned on, else it will be refused. The remaining fields are redundant: uint16 ncp_max_period - the default milliseconds between sending NCP (hci number of completed packets) events to the host.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 int:1 reliable_stream - TRUE if the protocol uses BCSP's reliable stream. int:4 priority - A value between 0 and 7. Lower values have higher priority. The priority is used by the chip's BCSP scheduler when deciding what data to send to the host. int:1 enabled - TRUE if the protocol is enabled. The current design of the firmware code requires each protocol to be enabled explicitly internally by the firmware, so this flag should always be FALSE.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 channel is available for all host transports. The protocol is configured with a PROTOCOL_INFO structure. The structure is described in the information on PSKEY_HOSTIO_PROTOCOL_INFO0. Key Name Key Number Type Default Setting PSKEY_HOSTIO_PROTOCOL_INFO5 0x0199 PROTOCOL_INFO 259, TRUE, 5, FALSE Configure the protocol that flows over channel 5. This channel carries HCI commands and events. This channel is available for all host transports.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 Number PSKEY_HOSTIO_PROTOCOL_INFO9 0x019d PROTOCOL_INFO 2048, TRUE, 7, FALSE Configure the protocol that flows over host transport channel 9. This channel carries RFCOMM traffic. This channel is available for all host transports. The protocol is configured with a PROTOCOL_INFO structure. The structure is described in the information on PSKEY_HOSTIO_PROTOCOL_INFO0.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 PSKEY_HOSTIO_PROTOCOL_INFO14 0x01a2 PROTOCOL_INFO 0, TRUE, 7, FALSE Configure the protocol that flows over host transport channel 14. This channel is unallocated. Since this is the last free channel, anything that needs an extra channel should multiplex within this channel. This channel is available for all host transports. The protocol is configured with a PROTOCOL_INFO structure.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 PSKEY_HOSTIO_USE_HCI_EXTN_CCFC 0x01a6 bool FALSE If the system is using hci_extn to carry the non-HCI channels (see the description of PSKEY_HOSTIO_USE_HCI_EXTN) and this key is TRUE then the chip emits an "hci command complete event" for each HCI manufacturer extension command.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 Use the BCCMD (private channel) command MAP_SCO_PCM to cause the next HCI Add_SCO_Connection command to route to a PCM port. Use this pskey. If this pskey is TRUE then all attempts to open SCO connections map to PCM ports. I.e., this pskey overrides the BCCMD command. In HCI 14.X builds, only a single SCO stream can flow over the BlueCore2-EXT's PCM port. In HCI 15.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 transport - BCSP and H4. (USB has separate rules for defining SCO transport.) Audio people will want this set to zero to minimise audio data latency, however this can crowd other data off the host transport. When the available host bandwidth is too low this can block all other traffic, so HCI ACL, HCI CMD/EVT, etc. stop flowing.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 described in bc01-s-010g. The new protocol only differs significantly from the old one in that: - The "choke" is turned off when moving from "curious" to "garrulous". - The "cnf_cnt_limit" logic is removed; "conf" messages are continuously emitted in the "curious" state. It may be necessary to set this pskey to TRUE if the host has an old implementation of bcsp-le See the comment for PSKEY_BCSP_LM_CNF_CNT_LIMIT.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 On devices with a codec (except BlueCore2-External) this is: Bits [2:0] set the analogue gain (5 = unity gain) Bits [7:4] set the digital gain (0 = unity gain) Bits [9:8] set the sigma-delta gain (0 = nominal) On BC5-MM Bit [10] enables an extra 3dB of gain on DAC_A Bit [11] enables an extra 3dB of gain on DAC_B On BlueCore2-External, this is Bits [2:0] set the gain (7 = maximum gain) Key Name PSKEY_CODEC_IN_GAIN Key Number Type Default Settin
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 the buffer. The thresholds are held as a uint16[2]. The first value gives the lower threshold and the second value gives the upper threshold. This PS key has no effect on some versions of firmware. Key Name Key Number Type Default Setting PSKEY_HOSTIO_SCO_HCI_THRESHOLDS 0x01bc uint16[] 10, 80 Sets the upper and lower thresholds for the buffers used to hold SCO data flowing between air and the HCI.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 devices; automatic detection of Baud rate does not work for the DFU upgrade procedure. When the system is configured to use a UART-based host transport, i.e. if PSKEY_HOST_INTERFACE selects BCSP, H4, H5 or User (VM access to the UART), then the UART's Baud rate is set to the value of this PS key when the firmware boots. The PS key's value is: Baud rate = pskey_value/0.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 PSKEY_UART_CONFIG_H4 0x01c0 uint16 0x08a8 If PSKEY_HOST_INTERFACE selects use of H4 then the UART's configuration register is set to the value of this PS key when it boots. The UART configuration register is a bitfield and shares its format with PSKEY_UART_CONFIG_BCSP: Bit Meaning 0 0 => one stop bit, 1 => two stop bits. 1 0 => no parity bits, 1 => one parity bit. 2 0 => odd parity, 1 => even parity.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 (The "H5" host transport protocol is properly known as the "Three Wire Uart Transport Layer", but is commonly known as H5 within CSR.) Key Name Key Number Type Default Setting 0x01c2 uint16 0x08a8 PSKEY_UART_CONFIG_USR If PSKEY_HOST_INTERFACE selects use of VM access to the UART then the UART's configuration register is set to the value of this PS key when it boots.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 This pskey is also used with H5. (The "H5" host transport protocol is properly known as the "Three Wire Uart Transport Layer", but is commonly known as H5 within CSR.) Key Name Key Number Type Default Setting 0x01c5 uint16 0 PSKEY_UART_TX_MAX_ATTEMPTS The description of PSKEY_UART_ACK_TIMEOUT outlines BCSP's mechanism to retransmit reliable messages to the host until acknowledged.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 Most systems do not require the BlueCore to emit a wakeup signal to wake up the peer device. Systems using the BCSP transport, for example, support the host and baseband entering a deep sleep state, in which their UARTs are disabled. The devices may enter deep sleep when they choose, without warning that they are about to enter deep sleep and without signaling when they are in deep sleep.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 the host may be in a low power state. PSKEY_UART_HOST_WAKE enables this wakeup signalling and specifies the various timers required. PSKEY_UART_HOST_WAKE_SIGNAL is used to specify the wakeup signal to use: this is a UART break signal, a pulse on a PIO line or, for the H4DS transport only, a repeated byte sequence. This PS key's value is a bitfield, allocated as: bits 0 to 3: Host Wake Mechanism.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 11 Set to 1. 12 0 => H5 operation disabled, 1 => enabled. 13 Set to 0. 14 Set to 0. 15 Set to 0. The default value, 0x08a8, selects use of hardware flow control, as required by the H4 (sic) specification. Key Name PSKEY_H4DS_WAKE_DURATION Key Number Type Default Setting 0x01cc uint16 0x0020 The H4DS protocol requires BlueCore to wake the host if it believes the host may be asleep.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 Wake-Up messages. This pskey sets the duration of the timer. The pskey's value is in milliseconds. Key Name Key Number Type Default Setting PSKEY_H4DS_UART_IDLE_TIMER_PERIOD 0x01d1 uint16 50 The H4DS specification requires a device to detect when the UART has become idle.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 Key Name Key Number Type Default Setting 0x01f6 uint16 0x1d PSKEY_ANA_FTRIM 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.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 0 - No chip to host connection 1 - BCSP 2 - H2 - USB 3 - H4 - UART 4 - VM access to the UART 6 - H5 7 - H4DS 9 - SDIO (The "H5" host transport protocol is properly known as the "Three Wire Uart Transport Layer", but is commonly known as H5 within CSR.) Key Name PSKEY_HQ_HOST_TIMEOUT Key Number Type Default Setting 0x01fb TIME 5 * SECOND Each HQ message sent to the host should provoke a corresponding reply from the host.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 This pskey enables the security mechanism. When a BlueCore module is freshly manufactured this bool flag is set FALSE. The host may then read and write all ps values and can run all of the BCCMD commands. This allows the manufacturer to configure the Bluetooth module. When the configuration is complete the manufacturer sets this pskey to TRUE. This enables the ps and bccmd access controls.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 Bits 0 to 7 of this uint16 pskey map to PIO0 to PIO7 respectively. If a bit of the pskey's value is set high then application code cannot change the value of the corresponding PIO port pin. NOTE: On the current Casira motherboard, PIO2 is connected to USB+ via a 1k5 resistor. The USB+ pin doubles as the UART RTS line on BlueCore, so care must be taken if an application uses PIO2.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 it will be sent at the old rate. The preferred method is to change this PS key then to reboot the chip. Although this key can be set higher, the maximum rated speed for the UART hardware is 1.5 Mbaud. This is a presentation PS key. PSKEY_HOSTIO_UART_PS_BLOCK is the real data store, but this key should be used to access it.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 afterwards. However, if a suitable external PA is used it may be possible to ramp the power externally using the AUX_DAC pin. This pskey sets the PA/LNA configuration: 0: The two PIO lines are not driven for Tx and Rx. The chip's internal PA/LNA is used. 1: The two PIO lines are driven high to enable the external PA and LNA. Tx power ramping is controlled by the internal PA. 2: The two PIO lines are driven high to enable the external PA and LNA.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 PSKEY_PSBC_DATA_VERSION 0x020d uint16 The RCS minor version number of the source file psbc_data, which defines all of the keys on BlueCore. Key Name PSKEY_PCM0_ATTENUATION Key Number Type Default Setting 0x020f uint16 3 Some Motorola CODECs allow their gain to be controlled by 3 extra bits received at the end of a 13 bit PCM sample.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 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).
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 Applies when the host interface is BCSP, TWUTL or VM access to the UART, and depends on the key PSKEY_DEEP_SLEEP_STATE being set to allow deep sleep. If we have had no transmission from the host for at least this number of milliseconds, and we have no data to send, then we may go into deep sleep, depending on restrictions from any other source.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 Parameter for the IQ trim auto calibration routine. Selects whether phase trimming is done as part of the IQ trim routine. If this is set to disabled then the appropriate bits from PSKEY_IQ_TRIM are used.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 link is removed. Most of the buffer resources can be freed as soon as the handle is redirected. The buffer page table address however is cached by the CSR chip hardware during the reception of a hci data packet payload. The page table thus cannot be destroyed for a period equal to the duration of the largest packet that the host can send. (Type TIME is fundamentally a uint32. Value SECOND is 1000000.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 host flow control tokens are flushed. This delay is required to workaround a race hazard in the hci specification. The host might not acknowledge packets sent around the time when it is sent a disconnect event - the buffers used for these packets should thus be assumed to be free by the host controller.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 reference is required (for instance, when the BlueCore is in deep sleep). If set to 0, no PIO is used as a clock request. If set to 1, PIO[6] is active when an external clock reference is required, and is inactive otherwise. If set to 2, PIO[2] is active when an external clock reference is required, and is inactive otherwise.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 Larger values than necessary have been observed to produce additional phase noise. Direct measurement using an oscilloscope is not recommended because the additional load capacitance can disrupt operation of the oscillator and the device's internal measurements. Note that this key is not used during DFU. In that mode the crystal bias is always set to maximum.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 retransmissions to wake the chip. Usually, therefore, this key will be used in combination with PSKEY_DEEP_SLEEP_WAKE_CTS. (Type bool is fundamentally a uint16 with values 0 and 1 mapping to FALSE and TRUE.) Key Name Key Number Type Default Setting 0x0254 uint16 0x34ff PSKEY_RF_RESONANCE_TRIM Sets the frequency trim for the IQ and LNA resonant circuits. (This is for CSR internal use only.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 When the module is intended to be used with certain host-side applications or stacks, this key is set to an encrypted value. The host-side application may subsequently check the value of this key to determine whether or not it is licensed to run with the module. Key Name PSKEY_VM_DISABLE Key Number Type Default Setting 0x025d bool FALSE If TRUE, the VM will not be started when the chip boots. If FALSE, VM operation is normal.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 PSKEY_MOD_MANUF6 0x0264 uint16[] none Key Number Type Default Setting 0x0265 uint16[] none Key Number Type Default Setting 0x0266 uint16[] none Key Number Type Default Setting 0x0267 uint16[] none Key Number Type Default Setting 0x0268 bool TRUE See the description of PSKEY_MOD_MANUF0. Key Name PSKEY_MOD_MANUF7 See the description of PSKEY_MOD_MANUF0. Key Name PSKEY_MOD_MANUF8 See the description of PSKEY_MOD_MANUF0.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 Key Name PSKEY_USR3 Key Number Type Default Setting 0x028d uint16[] none Key Number Type Default Setting 0x028e uint16[] none Key Number Type Default Setting 0x028f uint16[] none Key Number Type Default Setting 0x0290 uint16[] none Key Number Type Default Setting 0x0291 uint16[] none Key Number Type Default Setting 0x0292 uint16[] none Key Number Type Default Setting 0x0293 uint16[] none Key Number Type
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 Key Name PSKEY_USR13 Key Number Type Default Setting 0x0297 uint16[] none Key Number Type Default Setting 0x0298 uint16[] none Key Number Type Default Setting 0x0299 uint16[] none Key Number Type Default Setting 0x029a uint16[] none Key Number Type Default Setting 0x029b uint16[] none Key Number Type Default Setting 0x029c uint16[] none Key Number Type Default Setting 0x029d uint16[] none Key Number Typ
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 Key Name PSKEY_USR23 Key Number Type Default Setting 0x02a1 uint16[] none Key Number Type Default Setting 0x02a2 uint16[] none Key Number Type Default Setting 0x02a3 uint16[] none See the description of PSKEY_USR0. Key Name PSKEY_USR24 See the description of PSKEY_USR0. Key Name PSKEY_USR25 Keys PSKEY_USR0 to PSKEY_USR49 are for use by host and on-chip application- specific code to allocate as it chooses.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 Key Name PSKEY_USR32 Key Number Type Default Setting 0x02aa uint16[] none Key Number Type Default Setting 0x02ab uint16[] none Key Number Type Default Setting 0x02ac uint16[] none Key Number Type Default Setting 0x02ad uint16[] none Key Number Type Default Setting 0x02ae uint16[] none Key Number Type Default Setting 0x02af uint16[] none Key Number Type Default Setting 0x02b0 uint16[] none Key Number Typ
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 Key Name PSKEY_USR42 Key Number Type Default Setting 0x02b4 uint16[] none Key Number Type Default Setting 0x02b5 uint16[] none Key Number Type Default Setting 0x02b6 uint16[] none Key Number Type Default Setting 0x02b7 uint16[] none Key Number Type Default Setting 0x02b8 uint16[] none Key Number Type Default Setting 0x02b9 uint16[] none Key Number Type Default Setting 0x02ba uint16[] none Key Number Typ
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 Key Name PSKEY_USB_DEVICE_CLASS_CODES Key Number Type Default Setting 0x02bd usbclass 0xe0, 0x01, 0x01 Three bytes giving the class information for the "Standard Device Descriptor" of this USB device, as defined in Table 9.7 of version 1.1 of the USB specification. Type usbclass is held as a uint16[3]. The three values are held in the lower byte of each of the array in the order { class, subclass, protocol }.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 This value is only used if the chip is presenting its USB interface. See the description of PSKEY_HOST_INTERFACE. Key Name Key Number Type Default Setting PSKEY_USB_SERIAL_NUMBER_STRING 0x02c3 unicodestring none The USB serial number string, as described in table 9.7 of the USB specification version 1.1. If no value is stored under this key then there is no such string. This value is only used if the chip is presenting its USB interface.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 PSKEY_USB_BT_SCO_IF_CLASS_CODES. Type usbclass is held as a uint16[3]. The three values are held in the lower byte of each of the array in the order { class, subclass, protocol }. Default value maps to: { WIRELESS_CONTROLLER, RF_CONTROLLER, BLUETOOTH_PROGRAMMING }. This value is only used if the chip is presenting its USB interface. See the description of PSKEY_HOST_INTERFACE.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 device. This must be different from the value held under PSKEY_USB_PRODUCT_ID. This value is only used if the chip is presenting its USB interface. See the description of PSKEY_HOST_INTERFACE. Key Name PSKEY_USB_PIO_DETACH Key Number Type Default Setting 0x02ce uint16 none The PIO line used for USB detach/attach signalling. Any of the first 8 PIOs (numbered 0-7) may be used.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 is to be transmitted to the host. The timeout is reset each time new data is generated. If this value is 0, the signal is asserted indefinitely (or until the host de-asserts detach). This key is useful for hosts that are sometimes unable to respond to the wake signal (e.g. laptops when their lids are closed).
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 Default value maps to: { WIRELESS_CONTROLLER, RF_CONTROLLER, BLUETOOTH_PROGRAMMING }. This value is only used if the chip is presenting its USB interface. See the description of PSKEY_HOST_INTERFACE. Key Name Key Number Type Default Setting 0x02d5 uint16 0 PSKEY_USB_SUSPEND_PIO_LEVEL This description covers PSKEY_USB_SUSPEND_PIO_LEVEL, PSKEY_USB_SUSPEND_PIO_DIR, PSKEY_USB_SUSPEND_PIO_MASK.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 of the USB specification. Only values 8, 16, 32 and 64 are valid for this field. This value is only used if the chip is presenting its USB interface. See the description of PSKEY_HOST_INTERFACE. Key Name PSKEY_USB_CONFIG Key Number Type Default Setting 0x02d9 uint16 0x30 This key modifies the behaviour of the USB interface code. It should only be configured on advice from CSR.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 Key Name PSKEY_USB_STRING_DESCRIPTOR3 Key Number Type Default Setting 0x02de unicodestring none This key can be used to store a USB string descriptor. The mapping of string descriptor number to the string stored in this key is controlled by PSKEY_USB_STRING_DESCRIPTORS_MAP. Key Name PSKEY_USB_STRING_DESCRIPTOR4 Key Number Type Default Setting 0x02df unicodestring none This key can be used to store a USB string descriptor.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 This key can be used to store a USB string descriptor. The mapping of string descriptor number to the string stored in this key is controlled by PSKEY_USB_STRING_DESCRIPTORS_MAP. Key Name Key Number Type Default Setting 0x02e7 unicodestring none PSKEY_USB_STRING_DESCRIPTOR12 This key can be used to store a USB string descriptor.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 subsequent trim is performed. If PSKEY_RADIOTEST_FIRST_TRIM_TIME is 0 then no trims are done during the test regardless of the setting of this key. Key Name Key Number Type Default Setting PSKEY_RADIOTEST_LO_LVL_TRIM_ENABLE 0x0328 bool TRUE If IQ trim is enabled (PSKEY_IQ_TRIM_ENABLE), enables trimming of the value for the register ANA_LO_ENABLE; otherwise, has no effect. This trimming takes place before the start of each test.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 This must be lower than PSKEY_RFCOMM_FCON_THRESHOLD. Key Name PSKEY_IPV6_STATIC_ADDR Key Number Type Default Setting 0x0354 uint16[] none The static IPv6 address assigned to the local device. The address is stored as eight 16-bit words corresponding directly to the conventional uncompressed text representation of IPv6 addresses. For example, the IPv6 address 1234:0:0:0:0:0:0:5678 is stored as { 0x1234, 0, 0, 0, 0, 0, 0, 0x5678 }.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 Key Name PSKEY_IPV4_STATIC_SUBNET_MASK Key Number Type Default Setting 0x0358 uint32 none The static IPv4 subnet mask (applied w.r.t. PSKEY_IPV4_STATIC_ADDR) assigned to the local device. The mask is stored as a 32-bit value in standard network form. For example, the subnet mask 255.255.248.0 is stored as 0xfffff800. This key should be defined if PSKEY_IPV4_STATIC_ADDR is.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 The IPv4 address to be used by the local device for multicast DNS. The address is stored as a 32-bit value in standard network form. For example, the IPv4 address 224.0.0.251 is stored as 0xe00000fb. Key Name Key Number Type Default Setting 0x035f uint16 120 PSKEY_ARP_CACHE_TIMEOUT The time in seconds before an ARP cache entry is considered stale and hence is rechecked (via an ARP request) when it is next used.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 The filter constant applied to instantaneous values of the slow clock period sampled in sniff is 1/2^PSKEY_SLOW_CLOCK_FILTER_SHIFT. When the difference between the last period from the slow clock calibration and the filtered value exceeds the calibrated value divided by PSKEY_SLOW_CLOCK_FILTER_DIVIDER, a recalibration of the slow clock is performed.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 PSKEY_TEMPERATURE_VS_DELTA_TX_BB_MR_HEADER. The basic rate setting is controlled by PSKEY_ANALOGUE_ATTENUATOR. (The abbreviation MR for Medium Rate is used consistently in place of EDR for Enhanced Data Rate throughout the PS keys as many were introduced before the abbreviation EDR came into use.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 reception. Change only on advice from CSR. (The abbreviation MR for Medium Rate is used consistently in place of EDR for Enhanced Data Rate throughout the PS keys as many were introduced before the abbreviation EDR came into use.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 class 1 powers. The value of this key is only used when the class 1 bit is set in PSKEY_LC_ENHANCED_POWER_TABLE. Key Name PSKEY_CLASS1_TX_CONFIG2 Key Number Type Default Setting 0x03af uint16 0x8807 The value of the transmit configuration in packets sent at class 1 powers. For CSR use only.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 transmission. Key Name PSKEY_INITIAL_PIO_STATE Key Number Type Default Setting 0x03b5 uint16[] none This key may be used to set the initial state of the PIO pins prior to the VM application running.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 PSKEY_CLOCK_REQUEST_FEATURES 0x03b6 uint16 0 This key is only applicable if the value of PSKEY_CLOCK_REQUEST_ENABLE is non-zero. The clock request PIO can be configured to be active-high or -low. In an inactive state, it can be tristated or driven as an output by BlueCore. Bit 0 of this PSKEY inverts the polarity of the PIO when not tristated. When it is set, the PIO is active low. When it is clear, the PIO is active high.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 PSKEY_USB_DONT_RESET_BOOTMODE_ON_HOST_RESET 0x03b9 bool 0 If a USB reset is received after a device has been enumerated and the Bluecore is in a bootmode other than the default, the USB subsystem will force a reset into the default bootmode unless this key is set to TRUE.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 parameter but with greater resolution. Key Name PSKEY_TRIM_RADIO_FILTERS Key Number Type Default Setting 0x03c2 uint16 48 This key should only be altered on advice from CSR. If bit 0 is set, the chip will perform a long (approximately 80 ms) trim of the radio's transmit and receive filters at boot, and periodically a short update. This is not supported in firmware which supports enhanced data rate.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 PSKEY_DEVICE_DRIFT can usefully be set to that accuracy. This allows a slave in low power mode to turn on its radio for less time when attempting to resynchronise with its master. The worse-case accuracy of the supplied clock should not be any worse than 250 ppm for compliance with the Bluetooth specification. (Type bool is fundamentally a uint16 with values 0 and 1 mapping to FALSE and TRUE.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 Only useful from BlueCore3. A value of 4 in PSKEY_RX_ATTEN_BACKOFF implies PSKEY_RX_ATTEN_UPDATE_RATE must be at least 2: if one key is changed, the other should be changed in direct proportion.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 Bit 2 should be turned on or off to enable or disable trapping of division ratios that clash with the 48 MHz USB clock. Key Name PSKEY_TEST_FORCE_OFFSET Key Number Type Default Setting 0x03d3 bool FALSE This key modifies the behaviour of PSKEY_TEST_DELTA_OFFSET. It should only be configured on advice from CSR.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 range 0 to 15. Key Name Key Number Type Default Setting PSKEY_TEMPERATURE_VS_DELTA_INTERNAL_PA 0x03da temperature_calibration[] { -40, 1 }, { 30, 0 }, { 50, 0 }, { 60, 1 }, { 100, 2} The value consists of a table of pairs of 16-bit signed values, as many pairs as necessary.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 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.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 Bits [7:0] define the minimum allowed local oscillator frequency reference in units of 10 kHz. Bits [15:8] define the maximum allowed local oscillator frequency reference in units of 10 kHz. Available from BlueCore2-ROM only.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 Key Name Key Number Type Default Setting 0x03fc bool none Key Number Type Default Setting 0x03fd uint16 none PSKEY_UART_CONFIG_STOP_BITS Configures the number of UART stop bits. This field should be set to 0 (1 stop bit) for both BCSP and H4. Key Name PSKEY_UART_CONFIG_PARITY_BIT Configure the UART parity. This field should be set to 3 (even parity) for BCSP and 0 (no parity) for H4.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 By default this is enabled as the BlueCore firmware uses BCSP by default. However, where the UART has to be used as a plain UART, e.g. for H4, then the BCSP hardware must be disabled. This is the role of this bit. This PS key should be set to 0 (Enable) for BCSP and 1 (Disable) for H4. Switching between BCSP and H4 requires more than just setting this bit; see PSKEY_UART_CONFIG and PSKEY_HOST_INTERFACE.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 PSKEY_UART_HOST_INITIAL_STATE 0x0409 hwakeup_state HOST_NEVER_SLEEPS Selects the initial wake and sleep settings and state for the host. Key Name Key Number Type Default Setting PSKEY_UART_HOST_ATTENTION_SPAN 0x040a uint16 30 Seconds before host falls asleep.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 is zero. Key Name Key Number Type Default Setting 0x0412 uint16 250 PSKEY_BCSP_LM_TSHY Configure the BCSP link establishment protocol. This is only used if BCSP is used over the chip's UART. uint16 tshy The Tshy value in milliseconds. Key Name Key Number Type Default Setting PSKEY_UART_DFU_CONFIG_STOP_BITS 0x0417 bool none Configure the number of UART stop bits to use within the boot loader (DFU mode).
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 Key Name Key Number Type Default Setting PSKEY_UART_DFU_CONFIG_TX_ZERO_EN 0x041c bool none The hardware bit this corresponds to is toggled by software to generate a serial break condition. This field should be set to 0. Key Name Key Number Type Default Setting PSKEY_UART_DFU_CONFIG_NON_BCSP_EN 0x041d bool none The BlueCore contains hardware that performs much of the grunt work of coding/decoding BCSP packets.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 Multiplexed with PIO 13 on all pre BC5 chips. On some later chips it may be multiplexed with PIO 21 instead. Consult your data sheet for exact details. To use as a PIO line, the AMUX must be set to `Select AIO1 as a PIO'. The clock routing options are not available on BC3-MM. On BC5 chips write the values 0xbe or 0xfe (using Entry -> Edit Raw) to route the crystal or crystal/2 clock on AIO1 respectively.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 This key works in consort with PSKEY_SLOW_CLOCK_TEMP_HYSTERESIS. See the description of that key for the full description. The units of this key are degrees Celsius. Key Name PSKEY_RX_MR_CONFIGS Key Number Type Default Setting 0x21b9 uint16[] 0x1A17, 0x0001 A set of values used for configuring certain registers for optimum EDR operation. Only to be set on advice from CSR.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 0x000e, 0x0018, 0x0010, 0x0008 An opaque value used for configuring some variants of the golden curve EDR filter trim algorithm. Only to be set on advice from CSR. (The abbreviation MR for Medium Rate is used consistently in place of EDR for Enhanced Data Rate throughout the PS keys as many were introduced before the abbreviation EDR came into use.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 called to retrieve hq packets over spi, when there is no Host transport. (Type bool is fundamentally a uint16 with values 0 and 1 mapping to FALSE and TRUE.) Key Name PSKEY_PANIC_ON_FAULT Key Number Type Default Setting 0x21ce bool FALSE This pskey allows panic on fault to be enabled, faults then generate a panic rather than a fault report. (Type bool is fundamentally a uint16 with values 0 and 1 mapping to FALSE and TRUE.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 This key controls whether extra calibration of the internal low power oscillator is to be performed. This mechanism can potentially improve timing accuracy in low power modes. This key should only be changed on advice from CSR. Key Name PSKEY_INITIAL_IQ_LVL Key Number Type Default Setting 0x21d4 uint16 0x1F1F Key Number Type Default Setting 0x21d5 uint16 CPU_SLOW_ANY This key defines the initial IQ level setting for transmission.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 PSKEY_MR_ENABLE_RX_GOLDEN_CURVE_TRIM 0x21da bool TRUE Enables the golden curve RX filter trim code used to optimise the EDR receive performance. (This is for CSR internal use only. If you don't know what it's for, don't play with it.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 { 80, 2 }, { 100, 3} Table in the same form as PSKEY_TEMPERATURE_VS_DELTA_INTERNAL_PA used when transmitting EDR packets. Key Name Key Number Type Default Setting 0x21e2 uint16 0x0005 PSKEY_MR_ANA_TX_MIXER_CONFIG This sets various values for configuring the transmit mixer on BC5 for medium rate (EDR) operation. This PSKEY should only be changed on advice from CSR.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 This PSKEY should only be changed on advice from CSR. Key Name PSKEY_CHAN_0_FREQ_HALF_MHZ Key Number Type Default Setting 0x21ed uint16 4804 Set the frequency of Bluetooth channel 0 in half MHz (This is for CSR internal use only. If you don't know what it's for, don't play with it.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 Page 123 Revision X2 10/23/2009
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 Page 124 Revision X2 10/23/2009
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 5. Auto-Baud Detection and Minimum Required PS Keys Settings The radio, on power up or cold reset, does not know some of the crucial PS Keys for the radio to operate. The two main PS Keys are the crystal frequency and UART baud rate. The BC6 has the ability to “auto-baud” detect the UART connection and allow communications from the host processor.
Datalogic Scanning, Inc 959 Terry Street Eugene, Oregon 97402 FCC Statements This device complies with part 15 of the FCC Rules. Operation is subject to the following two conditions: (1) This device may not cause harmful interference, and (2) this device must accept any interference received, including interference that may cause undesired operation. Any changes or modifications not expressly approved by the party responsible for compliance could void the user’s authority to operate the equipment.