RAK3172

Overview

RAK3172 is a WisDuo LPWAN module which integrating a STM32WLE5CC chip. The breakout board has the RAK3172 as its core and with soldered to the antenna connector.

Hardware

The breakout board footprint allows RAK3172 stamp module pins to be transferred to 2.54 mm headers. It is designed to easy access to the pins on the board and simplify the evaluation of the RAK3172 module.

  • RAK3172 STM32WLE5CC Module with LPWAN single-core Cortex®-M4 at 48 MHz

  • 256-Kbyte Flash memory and 64-Kbyte SRAM

  • RF transceiver LoRa® modulations

  • Hardware encryption AES256-bit and a True random number generator

  • SMA connectors for the LORA antenna

  • I/O ports:

    • UART

    • I2C

    • SPI

    • SWD

RAK3172-pinout

For more information about the RAK3172 stamp module:

Supported Features

The rak3172 board supports the hardware features listed below.

on-chip / on-board
Feature integrated in the SoC / present on the board.
2 / 2
Number of instances that are enabled / disabled.
Click on the label to see the first instance of this feature in the board/SoC DTS files.
vnd,foo
Compatible string for the Devicetree binding matching the feature.
Click on the link to view the binding documentation.

Programming and Debugging

The rak3172 board supports the runners and associated west commands listed below.

flash debug

The RAK3172 board can be debugged and flashed with an external debug probe connected to the SWD pins. It can also be flashed via pyOCD [3], but have to install an additional pack to support STM32WL.

$ pyocd pack --update
$ pyocd pack --install stm32wl

Flashing an application

Connect the board to your host computer and build and flash an application. The sample application Hello World is used for this example. Build the Zephyr kernel and application, then flash it to the device:

# From the root of the zephyr repository
west build -b rak3172 samples/hello_world
west flash

Run a serial terminal to connect with your board. By default, usart1 is accessible via the USB to TTL converter.

  • Speed: 115200

  • Data: 8 bits

  • Parity: None

  • Stop bits: 1

Hello World! rak3172/stm32wle5xx

References