Mikroe STM32 M4 Clicker

Overview

The Mikroe STM32 M4 Clicker development board contains a STMicroelectronics Cortex-M4 based STM32F415RG Microcontroller operating at up to 168 MHz with 1 MB of Flash memory and 192 KB of SRAM.

STM32 M4 Clicker

STM32 M4 Clicker (Credit: MikroElektronika d.o.o.)

Hardware

The STM32 M4 Clicker board contains a USB connector, two LEDs, two push buttons, and a reset button. It features a mikroBUS socket for interfacing with external electronics. For more information about the development board see the STM32 M4 Clicker website [1].

Supported Features

The mikroe_stm32_m4_clicker board target supports the following hardware features:

Interface

Controller

Driver/Component

NVIC

on-chip

nested vector interrupt controller

UART

on-chip

serial port-polling; serial port-interrupt

PINMUX

on-chip

pinmux

I2C

on-chip

i2c

SPI

on-chip

spi

GPIO

on-chip

GPIO output GPIO input

USB

on-chip

USB

Other hardware features have not yet been enabled for this board.

The default configuration can be found in the defconfig file: boards/mikroe/stm32_m4_clicker/mikroe_stm32_m4_clicker_defconfig.

Programming and debugging

Building & Flashing

You can build and flash an application in the usual way (See Building an Application and Run an Application for more details).

Here is an example for building and flashing the Blinky application.

# From the root of the zephyr repository
west build -b mikroe_stm32_m4_clicker samples/basic/blinky
west flash

Debugging

Debugging also can be done in the usual way. The following command is debugging the Blinky application. Also, see the instructions specific to the debug server that you use.

# From the root of the zephyr repository
west build -b mikroe_stm32_m4_clicker samples/basic/blinky
west debug

References