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

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.
Type |
Location |
Description |
Compatible |
---|---|---|---|
CPU |
on-chip |
ARM Cortex-M4 CPU1 |
|
ADC |
on-chip |
STM32 ADC1 |
|
Clock control |
on-chip |
STM32WL RCC (Reset and Clock controller)1 |
|
on-chip |
STM32WL HSE Clock1 |
||
on-chip |
Generic fixed-rate clock provider2 |
||
on-chip |
STM32 MSI Clock1 |
||
on-chip |
STM32 LSE Clock1 |
||
on-chip |
STM32WB and STM32WL PLL node1 |
||
on-chip |
STM32 Microcontroller Clock Output (MCO)1 |
||
Counter |
on-chip |
STM32 counters3 |
|
Cryptographic accelerator |
on-chip |
STM32 AES Accelerator1 |
|
DAC |
on-chip |
STM32 family DAC1 |
|
DMA |
on-chip |
STM32 DMA controller (V2)2 |
|
on-chip |
STM32 DMAMUX controller1 |
||
Flash controller |
on-chip |
STM32 Family flash controller1 |
|
GPIO & Headers |
on-chip |
STM32 GPIO Controller4 |
|
I2C |
on-chip |
||
Interrupt controller |
on-chip |
ARMv7-M NVIC (Nested Vectored Interrupt Controller)1 |
|
on-chip |
STM32 External Interrupt Controller1 |
||
LED |
on-board |
Group of GPIO-controlled LEDs1 |
|
LoRa |
on-chip |
STM32WL Sub-GHz Radio1 |
|
Memory controller |
on-chip |
STM32 Battery Backed RAM1 |
|
MTD |
on-chip |
STM32 flash memory1 |
|
on-board |
Fixed partitions of a flash (or other non-volatile storage) memory1 |
||
Pin control |
on-chip |
STM32 Pin controller1 |
|
Power management |
on-chip |
STM32 power controller1 |
|
PWM |
on-chip |
STM32 PWM4 |
|
Reset controller |
on-chip |
STM32 Reset and Clock Control (RCC) Controller1 |
|
RNG |
on-chip |
STM32 Random Number Generator1 |
|
RTC |
on-chip |
STM32 RTC1 |
|
Sensors |
on-chip |
STM32 family TEMP node for production calibrated sensors with two calibration temperatures1 |
|
on-chip |
STM32 VREF+1 |
||
on-chip |
STM32 VBAT1 |
||
Serial controller |
on-chip |
STM32 USART2 |
|
on-chip |
STM32 LPUART1 |
||
SMbus |
on-chip |
STM32 SMBus controller3 |
|
SPI |
on-chip |
||
on-chip |
STM32 SUBGHZ SPI controller1 |
||
SRAM |
on-chip |
Generic on-chip SRAM description1 |
|
Timer |
on-chip |
ARMv7-M System Tick1 |
|
on-chip |
STM32 low-power timer (LPTIM)1 |
||
on-chip |
STM32 timers4 |
||
Watchdog |
on-chip |
STM32 watchdog1 |
|
on-chip |
STM32 system window watchdog1 |
Programming and Debugging
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