User's Manual
Datalogic Scanning, Inc
959 Terry Street
Eugene, Oregon 97402
Page 58 10/23/2009
Revision X2
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. Values:
0 - repeated byte sequence
1 - positive pulse on PIO
2 - negative pulse on PIO
3 - UART BREAK condition
bits 4 to 7: PIO pin selection. Value selects PIO pin.
If the Host Wake Mechanism is 0x00, and the host transport is H4DS, BlueCore will send a repeated byte
sequence. The duration of the byte train is specified by PSKEY_H4DS_WAKE_DURATION
. The byte
sequence has been chosen to work well with BlueCore's Baud rate detection capability. If the host transport
is BCSP or H5 a break condition is signalled by the UART. The duration of the break signal is specified by
PSKEY_UART_HOST_WAKE
.
If the Host Wake Mechanism is 0x01 then a positive pulse is signalled on the PIO pin selected by bits 4->7.
(Value 0x0 in bits 4->7 selects PIO[0], value 0x01 selects PIO[1], etc.). The duration of the pulse is
specified by PSKEY_H4DS_WAKE_DURATION
for the H4DS transport and by
PSKEY_UART_HOST_WAKE
for all other host transports.
If the Host Wake Mechanism is 0x02 then a negative pulse is signalled on the PIO pin selected by bits 4-
>7. The duration of the pulse is specified by PSKEY_H4DS_WAKE_DURATION
for the H4DS transport,
and by PSKEY_UART_HOST_WAKE for all other host transports.
If the Host Wake Mechanism is 0x03 then a break condition is signalled by the UART. The duration of the
break signal is specified by PSKEY_H4DS_WAKE_DURATION
for the H4DS transport, and by
PSKEY_UART_HOST_WAKE for all other host transports.
Key Name Key Number Type Default Setting
PSKEY_UART_CONFIG_H4DS 0x01cb uint16 0x08a8
If PSKEY_HOST_INTERFACE selects use of H4DS then the UART's configuration register is set to the
value of this PS key when the system boots.
The UART configuration register is a bitfield:
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.
3 0 => h/w flow control disabled, 1 => enabled.
4 Set to 0.
5 0 => RTS deasserted, 1 => RTS asserted.
6 Set to 0.
7 0 => non-BCSP/H5 operation disabled, 1 => enabled.
8 Set to 0.
9 Set to 0.
10 Set to 0.