User's Manual

Datalogic Scanning, Inc
959 Terry Street
Eugene, Oregon 97402
Page 53 10/23/2009
Revision X2
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.004096
Some common values are:
38k4 baud - 157 (0x009d)
57k6 baud - 236 (0x00ec)
115k2 baud - 472 (0x01d8)
230k4 baud - 944 (0x03b0)
460k8 baud - 1887 (0x075f)
921k6 baud - 3775 (0x0ebf)
1382k4 baud - 5662 (0x161e)
The maximum rated speed for the UART hardware is 1.5 Mbaud, although this key can be set to a higher
value.
The BCCMD command "Config_UART" enables the host to set the UART to a different Baud rate after
booting, but the change is lost when the firmware reboots.
Key Name Key Number Type Default Setting
PSKEY_UART_CONFIG_BCSP 0x01bf uint16 0x0806
If PSKEY_HOST_INTERFACE selects use of BCSP 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, 0x0806, selects use of BCSP mode and even parity.
Key Name Key Number Type Default Setting