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
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 |
|
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 counters4 |
|
CRC |
on-chip |
STM32 CRC calculation unit1 |
|
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 |
||
LoRa |
on-chip |
STM32WL Sub-GHz Radio1 |
|
Memory controller |
on-chip |
STM32 Battery Backed RAM1 |
|
MTD |
on-chip |
STM32 flash memory1 |
|
NVMEM |
on-chip |
Fixed layout for Non-Volatile memory1 |
|
OTP memory |
on-chip |
||
Pin control |
on-chip |
STM32 Pin controller1 |
|
Power management |
on-chip |
STM32 power controller1 |
|
on-chip |
STM32 wake-up lines 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 quadrature decoder2 |
|
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 |
||
Timer |
on-chip |
ARMv7-M System Tick1 |
|
on-chip |
STM32 timers4 |
||
on-chip |
STM32 low-power timer (LPTIM)1 |
||
Watchdog |
on-chip |
STM32 system window watchdog1 |
|
on-chip |
STM32 watchdog1 |
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