The
expansion board uses the serial interface (CN8 pin 1 (Tx) and pin 2 (Rx)) shown in
for the AT command console. The default serial configuration is:
•
Baud rate: 115200
•
Data: 8 bit
•
Parity: none
•
Stop: 1 bit
Figure 19.
I-NUCLEO-LRWAN1 expansion board serial port
+3V3 (CN6 pin 4)
GND (CN6 pin 6)
LPUART1_Rx (CN8 pin 2)
LPUART1_Tx (CN8 pin 1)
Alternatively, since preloaded firmware reads the
DevEUI
and
AppEUI
parameters of the module and saves them
to the internal data memory of the
board), the user can extract both parameters by reading the data memory using the STM32 ST-LINK Utility
(
) or the STM32CubeProgrammer (
Follow these steps to extract
DevEUI
and
AppEUI
using the STM32 ST-LINK Utility:
1.
Download STM32 ST-LINK Utility (
) from STMicroelectronics web site and install it
2.
Nucleo board with the personal computer by means of the USB
3.
Open a Windows
®
Command
prompt and set the path for the STM32 ST-LINK Utility:
SET PATH=%PATH%;C:\Program Files (x86)\STMicroelectronics\STM32 ST-LINK
Utility\ST-LINK Utility
4.
Read
DEvUI
and
AppEui
using STM32 ST-LINK Utility CLI command:
–
For
DevEUI
:
ST-LINK_CLI.exe -c swd ur -r8 0x08080000 0x08
–
For
AppEUI
:
ST-LINK_CLI.exe -c swd ur -r8 0x08080008 0x08
The addresses in the CLI commands are for Data Memory Bank 1 of the
Note:
The STM32 ST-LINK Utility (
) GUI can also be used to read the data memory of the NUCLEO-
L073RZ.
A similar process is possible using the STM32CubeProgrammer (
). Refer to
STM32CubeProgrammer documentation on
.
UM2587
Extracting DevEUI and AppEUI from the LoRa® module
UM2587
-
Rev 3
page 23/55