User's Manual
Datalogic Scanning, Inc
959 Terry Street
Eugene, Oregon 97402
Page 55 10/23/2009
Revision X2
(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
PSKEY_UART_CONFIG_USR 0x01c2 uint16 0x08a8
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.
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.
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.
Key Name Key Number Type Default Setting
PSKEY_UART_TX_CRCS 0x01c3 bool TRUE
Determines whether CRCs are used in BCSP packets sent to the host.
This PS key 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
PSKEY_UART_ACK_TIMEOUT 0x01c4 uint16 250
When the firmware sends a reliable message over BCSP it starts a timer. The timer's period is the value of
this pskey in milliseconds. If the host acknowledges reception of the message before the timer fires then the
timer is cancelled. If the timer fires then the message is sent again and another timer started, etc.
It is possible to limit the number of times a timer will be used for a given reliable BCSP message using
PSKEY_UART_TX_MAX_ATTEMPTS
.