B&B Electronics Zlinx ZP Series User Manual

Page 43

Advertising
background image

Manual Documentation Number: ZP24D-250RM-SR-2508

39

B&B Electronics Mfg Co Inc – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100 - Fax 815-433-5104 – www.bb-elec.com

B&B Electronics – Westlink Commercial Park – Oranmore, Galway, Ireland – Ph +353 91-792444 – Fax +353 91-792445 – www.bb-europe.com

AV (ADC Voltage Reference) Command
<Serial Interfacing> The AV command is
used to set/read the ADC reference voltage
switch.


BD (Interface Data Rate) Command
<Serial Interfacing> The BD command is
used to set and read the serial interface
data rate usedbetween the RF module and
host. This parameterdetermines the rate at
which serial data is sent to the module
from the host. Modified interface data
rates do not take effect until the CN (Exit
AT Command Mode) command is issued
and the system returns the 'OK' response.

When parameters 0-7 are sent to the
module, the respective interface data rates
are used (as shown in the table on the
right).

The RF data rate is not affected by the BD
parameter. If the interface data rate is set
higher than the RF data rate, a flow control
configuration may need to be
implemented.

Non-standard Interface Data Rates:
Any value above 0x07 will be interpreted as an actual baud rate. When a value above
0x07 is sent, the closest interface data rate represented by the number is stored in
the BD register. For example, a rate of 19200 bps can be set by sending the following
command line "ATBD4B00".
When the BD command is sent with a non-standard interface data rate, the UART will
adjust to accommodate the requested interface rate. In most cases, the clock
resolution will cause the stored BD parameter to vary from the parameter that was
sent (refer to the table below). Reading the BD command (send "ATBD" command
without an associated parameter value) will return the value actually stored in the
module’s BD register.

Parameters Sent Versus Parameters Stored

BD Parameter Sent
(HEX)

Interface Data Rate (bps)

BD Parameter Stored
(HEX)

0

1200

0

4

19,200

4

7

115,200

7

12C

300

12B

1C200

115,200

1B207

AT Command: ATAV

Parameter Range:0 - 1

Parameter Configuration

0

VREF Pin

1

Internal (on-
board reference
- VCC)

Default Parameter Value:0

Minimum Firmware Version
Required: v1.xA0

AT Command: ATBD
Parameter Range:0 - 7 (standard
rates)_ 0x80-0x1C200 (non-
stndard rates)

Parameter Configuration (bps)

0

1200

1

2400

2

4800

3

9600

4

19200

5

38400

6

57600

7

115200

Default Parameter Value:3

Advertising