PAN1322
Application Note
70
Revision 1.2, 2013-12-18
Design Guide
10.2.2
Change of baud rate by host at runtime
Changing the baud rate at runtime is done with the command AT+JSBR=<baud_rate>. This baud rate
will be used by the module until it’s changed again. A HW or SW reset will make the module use the
baud rate stored in EEPROM, (default 115200 bit/s)
Table 12. Changing the baud rate at runtime
Step
Command/response
Description
1
AT+JSBR=0921600
Change baud rate to 921600 bit/s
OK
An OK will indicate that the baud rate has changed. (The OK is sent
on the old baud rate)
2
CHANGE BAUD RATE ON HOST
3
Continue sending commands and/or data on the new
baud rate
10.3
SW update
The software update of PBA31309, has to be done in a certain way to make sure that the correct
Bluetooth address (BD_ADDR) and the oscillator trim (OSC_Trim) values does not get lost in the
process. The software update can be performed by either the SPP Toolbox or with a customer specific
tool or application. In the below table you will find the needed commands and the order of them.
Table 13. SW update sequence
Step
Command/response
Description
1
AT+JRES
Send software Reset to the module
ROK
Make sure the module respond with ROK
2
AT+JRBD
Read BD-data
+RRBDRES=
083C0E190300
00008A0080BA8C01BF02067
E981F598740FA1218800003040506440C10020400011
02404F2F8FE04
B900
06000000000000000000
The module will respond with the complete BD-data including the
Bluetooth address and oscillator trim value, (marked with bold).
Observe that the values are in reverse byte order. The real address
in this example is 0x0003190E3C08 and the oscillator value is 0x00B9
3
AT+JPRO=1
Enable production mode
OK
The modules shall response with OK
4
AT+JDOI
Enable software/patch download
OK
The modules shall response with OK
5
DOWNLOAD THE SOFTWARE
The software shall be downloaded by binary writing one byte at the
time until the complete SW file has been loaded to the module.