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 following hardware features:
Interface |
Controller |
Driver/Component |
---|---|---|
ADC |
on-chip |
adc |
AES |
on-chip |
crypto |
COUNTER |
on-chip |
rtc |
CLOCK |
on-chip |
reset and clock control |
FLASH |
on-chip |
flash |
GPIO |
on-chip |
gpio |
I2C |
on-chip |
i2c |
MPU |
on-chip |
arch/arm |
NVIC |
on-chip |
arch/arm |
PINMUX |
on-chip |
pinmux |
RADIO |
on-chip |
LoRa |
SPI |
on-chip |
spi |
UART |
on-chip |
serial |
WATCHDOG |
on-chip |
independent watchdog |
The default configuration can be found in the defconfig file: boards/rakwireless/rak3172/rak3172_defconfig.
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