RAK3272S Breakout Board

Overview

The RAK3272S Breakout Board carries a RAK3172 WisDuo stamp module, which integrates an STM32WLE5CC SoC with a LoRa radio. The breakout board transfers the stamp module pins to 2.54 mm headers and adds an antenna connector, so the module can be evaluated without designing a carrier PCB.

The same stamp module is carried by the RAK3372 WisBlock Core Module WisBlock Core Module, which plugs into a WisBlock Base Board instead of exposing headers.

Hardware

  • RAK3172 STM32WLE5CC module with a single-core Cortex-M4 at 48 MHz

  • 256 KB flash and 64 KB SRAM

  • LoRa radio integrated in the SoC, RFO-HP output rated to 22 dBm

  • AES-256 hardware encryption and a true random number generator

  • SMA or IPEX antenna connector, depending on the ordering option

  • 2.54 mm headers exposing UART, I2C, SPI, SWD, BOOT0 and RST

RAK3272S pinout

For more information about the stamp module:

Supported Features

The rak3272s 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.

rak3272s/stm32wle5xx target

On-target memory for this board target: 64 KiB of RAM, 256 KiB of Flash.

Type

Location

Description

Compatible

CPU

on-chip

ARM Cortex-M4 CPU1

arm,cortex-m4

ADC

on-chip

STM32 ADC1

st,stm32-adc

Clock control

on-chip

STM32WL RCC (Reset and Clock controller)1

st,stm32wl-rcc

on-chip

STM32WL HSE Clock1

st,stm32wl-hse-clock

on-chip

Generic fixed-rate clock provider2

fixed-clock

on-chip

STM32 MSI Clock1

st,stm32-msi-clock

on-chip

STM32 LSE Clock1

st,stm32-lse-clock

on-chip

STM32WB and STM32WL PLL node1

st,stm32wb-pll-clock

on-chip

STM32 Microcontroller Clock Output (MCO)1

st,stm32-clock-mco

Counter

on-chip

STM32 counters4

st,stm32-counter

CRC

on-chip

STM32 CRC calculation unit1

st,stm32-crc

Cryptographic accelerator

on-chip

STM32 AES Accelerator1

st,stm32-aes

DAC

on-chip

STM32 family DAC1

st,stm32-dac

DMA

on-chip

STM32 DMA controller (V2)2

st,stm32-dma-v2

on-chip

STM32 DMAMUX controller1

st,stm32-dmamux

Flash controller

on-chip

STM32 Family flash controller1

st,stm32-flash-controller

GPIO & Headers

on-chip

STM32 GPIO Controller4

st,stm32-gpio

I2C

on-chip

STM32 I2C V2 controller12

st,stm32-i2c-v2

Interrupt controller

on-chip

ARMv7-M NVIC (Nested Vectored Interrupt Controller)1

arm,v7m-nvic

on-chip

STM32 External Interrupt Controller1

st,stm32-exti

LoRa

on-chip

STM32WL Sub-GHz Radio1

st,stm32wl-subghz-radio

Memory controller

on-chip

STM32 Battery Backed RAM1

st,stm32-bbram

MTD

on-chip

STM32 flash memory1

st,stm32-nv-flash

NVMEM

on-chip

Fixed layout for Non-Volatile memory1

fixed-layout

OTP memory

on-chip

STM32 embedded NVM OTP11

st,stm32-nvm-otp

Pin control

on-chip

STM32 Pin controller1

st,stm32-pinctrl

Power management

on-chip

STM32 power controller1

st,stm32-pwr

on-chip

STM32 wake-up lines controller1

st,stm32-pwr-wkupctrl

PWM

on-chip

STM32 PWM4

st,stm32-pwm

Reset controller

on-chip

STM32 Reset and Clock Control (RCC) Controller1

st,stm32-rcc-rctl

RNG

on-chip

STM32 Random Number Generator1

st,stm32-rng

RTC

on-chip

STM32 RTC1

st,stm32-rtc

Sensors

on-chip

STM32 quadrature decoder2

st,stm32-qdec

on-chip

STM32 family TEMP node for production calibrated sensors with two calibration temperatures1

st,stm32-temp-cal

on-chip

STM32 VREF+1

st,stm32-vref

on-chip

STM32 VBAT1

st,stm32-vbat

Serial controller

on-chip

STM32 USART2

st,stm32-usart

on-chip

STM32 LPUART1

st,stm32-lpuart

SMbus

on-chip

STM32 SMBus controller3

st,stm32-smbus

SPI

on-chip

STM32 SPI controller with embedded Rx and Tx FIFOs11

st,stm32-spi-fifo

on-chip

STM32 SUBGHZ SPI controller1

st,stm32-spi-subghz

Timer

on-chip

ARMv7-M System Tick1

arm,armv7m-systick

on-chip

STM32 timers4

st,stm32-timers

on-chip

STM32 low-power timer (LPTIM)1

st,stm32-lptim

Watchdog

on-chip

STM32 system window watchdog1

st,stm32-window-watchdog

on-chip

STM32 watchdog1

st,stm32-watchdog

Programming and Debugging

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

flash debug rtt reset attach debugserver
jlink ✅ ✅ ✅ ✅ ✅ ✅
pyocd ✅ (default) ✅ (default) ✅ ✅ ✅ ✅
stm32cubeprogrammer ✅

The board can be debugged and flashed with an external debug probe connected to the SWD pins. It can also be flashed via pyOCD [3], which needs 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 rak3272s samples/hello_world
west flash

Run a serial terminal to connect with your board. usart1 is the console, reachable on the UART1_TX and UART1_RX header pins through a USB to TTL converter.

  • Speed: 115200

  • Data: 8 bits

  • Parity: None

  • Stop bits: 1

Hello World! rak3272s/stm32wle5xx

References