 Hello, and welcome to this Getting Started with STM32 and low-rawan protocol video. The low-rawan protocol is an open global standard used for secure, carrier-grade IoT-LPWAN connectivity over a wireless low-raw network. The low-rawan certification program guarantees the interoperability and the technical flexibility to address the multiple IoT applications. The main assets of low-rawan are very low-power consumption, very long-range capability, the low cost of the node and the overall cost of the network deployment, an open and standard low-rawan protocol driven by the open low-raw alliance, a native AES128-bit encryption protocol, and a true and GPS-free indoor geolocation. ST Microelectronics offers a kit with an ultra-low-power STM32-L073-RZT6 NUCLEO-64 development board and an SX1272 MBDAS expansion board. This leaves the door open for thousands of possible combinations using the STM32 open development environment. Now we will show you an example of how to connect the STM32 platform to a low-raw gateway. First, we will look at what is needed, then we will install the hardware components, the software package, and quickly modify the STM32 software to display a test message. Finally, we will connect the gateway to display debug traces on the terminal. For this exercise we need the PNUCLEO LR-WAN-1, a low-power wireless STM32 pack containing the NUCLEO L073-RZ development board with an ultra-low-power STM32-L073 MCU, an SX1272 MBDAS low-raw RF expansion board, and an antenna. You will also need a computer with the free Kiehl integrated development environment, the iCube LR-WAN low-raw WAN software expansion package, your favorite terminal, we will use TerraTerm, and of course an internet browser. For the gateway we will use a multi-connect conduit gateway from Multitech with an embedded MTAC-LORA 868 accessory card dedicated to the 868 MHz frequency. Now let's set up the boards. On the NUCLEO board, make sure that Jumper JP1 is closed, Jumper JP5 is set to position E5V, and Jumper JP6 is closed. Then you can plug the SX1272 MB2-DAS low-raw expansion board to the STM32 NUCLEO board, and attach the antenna to the ANT connector on the low-raw expansion board. In the next step, we explain how to download and install the low-raw WAN software package. On the www.st.com website, type low-raw WAN into the search engine. Then select the link iCube LR-WAN, and accept the license agreement. Enter the file and extract it, ideally to c colon users slash your name slash stm32cube slash repository slash. We have to first change some software parameters to activate UART debug traces and to display a test message on the gateway. Browse to the correct repository and open the main project. The project is located in the same directory where you extracted it. When keel is open, select the correct target. In our case, the SX1272 MB2-DAS module, in the hw-comf.h file, uncomment debug and trace. In the commissioning.h file, change the EUI device address line 96 to the following address. Now the last modification to generate a test message. In the main.c file, comment the function on line 249 and replace it with the following instruction. Now we can build and download the project to the target device. We can use tera term to retrieve UART messages from the Nucleo board. Select the correct serial port, com 8 for us. Set the new line receive character to auto. The BOD rate to 921-600 and data to 7-bit. Power up your gateway and make sure it is connected to your PC with an Ethernet cable. And now let's look at the gateway settings. Using your browser, connect to the gateway's default IP address 192.168.2.1. Enter admin for username and admin for password. In the setup menu, select low-raw network server. Set the mode to network server. The extended unique identifier to 0101010101010101. Enter the application key previously entered in the Nucleo software. And finally, click submit to save the change. Now let's see if the node is connected to the gateway. In the status and logs menu, select statistics and open the low-raw tab. If your Nucleo plus low-raw device is switched on, the EUI address of your device is displayed. To go even further in this spy approach, in the apps menu, select node red. Node red is a visual tool for wiring the Internet of things. Drag the low-raw input low-raw node and drop it on the sheet. Do the same for the debug node. Don't forget to link the nodes. Double-click on the low-raw node to ensure that the debug output is set to message property. Click deploy to activate the modifications if your board is running. You can compare the message from the UART Nucleo terminal with those received by the gateway. Now you are able to build your own low-raw sensor node based on an STM32 MCU. Set up the multi-conduit gateway as a gateway and network server. And set up your own private STM32 based low-raw network. Thank you for watching this video.