User's Manual

92
www.lairdtech.com
Laird Technologies
BTM510/511
Bluetooth
®
Multimedia Module
Register Det. Range Description
S520 9600 1200..
..115200
Change to a standard baud rate. The effect is immediate and in
fact the OK will be sent at the new baud rate. Only one of the
following baud rates are accepted: 1200,2400,4800,9600,19200,
28800,38400,57600,115200.
If S register 525=1, then the maximum baud rate is limited to
115200.
S521 9521 1200..
..921600
Change baud rate to non-standard value. BTM modules support
any baud rate. The only limitation is the integer arithmetic in-
volved, which may adjust the applied rate slightly. If the internally
computed baud rate is more than 2% offset from the desired
input value, then an ERROR will be returned and the old baud rate
will prevail. To inspect the actual baud rate, do ATS521?
S521 should only be sued for non-standard baud rates. For stan-
dard baud rates use S520.
The effect is immediate and in fact the OK will be sent at the new
baud rate.
If S Register 525=1, then the max baud rate is limited to 115200
In the event that a non-standard baud rate is requested, it is
entirely possible that the host is not capable of generating such
a baud rate. In this case the BTM device cannot be communi-
cated with. If this happens, there is a procedure to recover from
this situation which is described in section 13, page. 87 “Factory
Default UART Baud Rate”.
S523 1 1..2 Number of Stop bits
See S Register 526 for further information.
S524 0 0..2 Parity. 0=None, 1=Odd, 2=Even
For the Go blue Activator variant of the module this register is
read only.
See S Register 526 for further information.
S525 0 0..1 Apply multiplier of 8 to baud rate internally. This is set to 0
(disabled) by default. If S Register 521 > 115200 then this
register cannot be set to 1.
See S Register 526 for further information.
S526 3 1..3 This register species a 2 bit mask used to qualify how S Registers
520 to 525 are actioned.
If bit 0 is 1, the new communication parameters affect the UART
immediately.
If bit 1 is 1, the new communication parameters are stored in
non-volatile memory
So for example, to change communication parameters, but have
them come into effect only after subsequent power cycles, then
this register should be set to 2, and likewise to affect immediately
and yet not have it persist over a power cycle, the value should be
set to 1. Must be set before the baud rate change.
S530 1000 100..15000 Reconnect delay when congured as master in pure-cable-replace-
ment mode. This value is rounded down to the nearest 100ms.
See S Register 505 also.
AT COMMAND SET
REFERENCE