SiBRAIN for STM32L162ZE

Overview

The SiBRAIN for STM32L162ZE (also sold as MCU CARD 13 for STM32 STM32L162ZE, MIKROE-4647) is a MikroElektronika add-on board that carries a STMicroelectronics STM32L162ZE ultra-low-power Arm Cortex-M3 microcontroller running at up to 32 MHz, with 512 KB of Flash memory, 80 KB of SRAM and 16 KB of data EEPROM.

The board follows the MikroElektronika SiBRAIN (formerly MCU Card) standard and plugs into a host development board through two 168-pin mezzanine connectors. It has no power supply, debugger, USB-UART, LEDs or buttons on its own; these are provided by the host board, for example Fusion for ARM v8, Fusion for STM32 v8, UNI-DS v8, Mikromedia 7 or UNI Clicker. For more information see the SiBRAIN for STM32L162ZE website [1].

Hardware

  • STM32L162ZE in LQFP144 package

  • 24 MHz crystal (HSE)

  • 32.768 kHz crystal (LSE)

  • Two 168-pin SiBRAIN connectors routing all MCU ports, mikroBUS 1-5, display, USB-UART and programming/trace signals to the host board

Supported Features

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

mikroe_sibrain_stm32l162ze/stm32l162xe target

On-target memory for this board target: 80 KiB of RAM, 512 KiB of Flash.

Type

Location

Description

Compatible

CPU

on-chip

ARM Cortex-M3 CPU1

arm,cortex-m3

ADC

on-chip

STM32F4 ADC1

st,stm32f4-adc

Clock control

on-chip

STM32 RCC (Reset and Clock controller)1

st,stm32-rcc

on-chip

STM32 HSE Clock1

st,stm32-hse-clock

on-chip

Generic fixed-rate clock provider12

fixed-clock

on-chip

STM32L0/L1 Multi Speed Internal Clock1

st,stm32l0-msi-clock

on-chip

STM32L0/L1 Main PLL1

st,stm32l0-pll-clock

Counter

on-chip

STM32 counters9

st,stm32-counter

DAC

on-chip

STM32 family DAC1

st,stm32-dac

DMA

on-chip

STM32 DMA controller (V2bis) for the stm32F0, stm32F1 and stm32L1 soc families1

st,stm32-dma-v2bis

Flash controller

on-chip

STM32 Family flash controller1

st,stm32-flash-controller

GPIO & Headers

on-chip

STM32 GPIO Controller6

st,stm32-gpio

I2C

on-chip

STM32 I2C V1 controller2

st,stm32-i2c-v1

Interrupt controller

on-chip

ARMv7-M NVIC (Nested Vectored Interrupt Controller)1

arm,v7m-nvic

on-chip

STM32 External Interrupt Controller1

st,stm32-exti

Memory controller

on-chip

STM32 Battery Backed RAM1

st,stm32-bbram

MTD

on-chip

STM32 on-chip EEPROM1

st,stm32-eeprom

on-chip

STM32F4 flash memory1

st,stm32f4-nv-flash

NVMEM

on-chip

Fixed layout for Non-Volatile memory1

fixed-layout

OTP memory

on-chip

STM32 embedded NVM OTP1

st,stm32-nvm-otp

PHY

on-chip

This binding is to be used by all the usb transceivers which are built-in with USB IP1

usb-nop-xceiv

Pin control

on-chip

STM32 Pin controller1

st,stm32-pinctrl

Power management

on-chip

STM32 power controller1

st,stm32-pwr

on-chip

STM32F1-like wake-up pins controller1

st,stm32f1-pwr-wkupctrl

PWM

on-chip

STM32 PWM7

st,stm32-pwm

Reset controller

on-chip

STM32 Reset and Clock Control (RCC) Controller1

st,stm32-rcc-rctl

RTC

on-chip

STM32 RTC1

st,stm32-rtc

Sensors

on-chip

STM32 quadrature decoder4

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

Serial controller

on-chip

STM32 USART3

st,stm32-usart

on-chip

STM32 UART11

st,stm32-uart

SMbus

on-chip

STM32 SMBus controller2

st,stm32-smbus

SPI

on-chip

STM32 SPI controller3

st,stm32-spi

Timer

on-chip

ARMv7-M System Tick1

arm,armv7m-systick

on-chip

STM32 timers9

st,stm32-timers

USB

on-chip

STM32 USB controller1

st,stm32-usb

Watchdog

on-chip

STM32 system window watchdog1

st,stm32-window-watchdog

on-chip

STM32 watchdog1

st,stm32-watchdog

Connections and IOs

The system clock is derived from the 24 MHz HSE crystal through the PLL (96 MHz VCO, 32 MHz SYSCLK). The RTC is clocked from the 32.768 kHz LSE crystal.

The Zephyr console is on UART5 (PC12 TX, PD2 RX). These pins are the SiBRAIN USB-UART pins, which the host board routes to its USB-UART converter.

Programming and debugging

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

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

The SWD interface is routed through the SiBRAIN connector to the programmer of the host board.

Building & Flashing

Here is an example for building the Hello World application.

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

References