ST25DV Discovery, MB1283 version

Overview

The ST25DV04K device is a dynamic NFC/RFID tag IC with a dual interface. It embeds a 4 Kbits EEPROM memory. It can be operated from an I2C interface, or by a 13.56 MHz RFID reader, or by a NFC phone. The ST25DV04K Class 5 antenna daughter card, included in the kit, can be replaced by Class 1 or Class 6 antennas.

The ST25DV-DISCOVERY is a demonstration kit to evaluate the features and capabilities of the ST25DV series. It is based on the NFC ST25DV04K device embedded on a daughter card using a Class 5 antenna and a STM32 processor driving a mother board.

Note

The ST25DV itself is not implemented yet.

Hardware

The ST25DV Discovery kit provides the following hardware components:

  • Main board: ST25DV_Discovery_Mboard:

    • STM32F405VGT6 LQFP100 32-bit microcontroller, with 1 Mbyte Flash memory, 192 + 4 Kbytes SRAM.

    • LCD color screen (320 x 200 pixels)

    • Touch screen driver

    • Different color LEDs (power, user, ST link)

    • User push button

    • Joystick for menu selection

    • Reset button

    • On board ST link for microcontroller firmware upgrade and debug

    • ST link mini USB

    • User micro USB

    • USB micro or mini connector for board powering

    • Demonstration edition (optional add-on module) with Bluetooth Low Energy module, Wi-Fi ® module and JTAG 20 pin connector

It exists in two variants, MB1283 and MB1285.

  • Antenna daughter board: ST25DV_Discovery_ANT_C5:

    • 40 mm x 24 mm, 13.56 MHz inductive antenna etched on the PCB

    • ST25DV04K Dynamic NFC / RFID tag

    • I 2 C interface connector

    • Energy harvesting output (VOUT) with a 10nF capacitance filtering circuit

    • GPO configurable as RF WIP/BUSY output, to indicate that an RF operation is ongoing

The antenna board can be removed, and its 14-pin 0.254mm header connector used as an eval kit header.

Connections and IOs

Default Zephyr Peripheral Mapping

  • UART_6 TX/RX : PC6/PC7 (ST-Link Virtual Port Com)

  • UART_2 TX/RX : PA2/PA3 (Available on J6 connector)

  • I2C1 SCL/SDA : PB6/PB7 (Touchscreen STMPE811, interrupt pin PB5)

  • SPI2 SCK/MOSI/CS : PB13/PC3/PB12 (LCD display FRD24048TP, reset pin PC1, DC pin PC0)

  • SPI1 SCK/MISO/MOSI/CS : PA5/PA6/PA7/PA4 (External ST25DV connector J6)

  • GPIO : PE8/PE9/PE10/PE11/PE12 (Joystick)

  • LD1 : PC13 (Orange led)

  • LD2 : PC4 (Yellow led)

  • GPIO : PE15/PE7 (Available on external ST25DV connector J6)

  • GPIO : PE14 (Available on J5 connector)

Supported Features

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

st25dv_mb1283_disco/stm32f405xx target

Type

Location

Description

Compatible

CPU

on-chip

ARM Cortex-M4F CPU1

arm,cortex-m4f

ADC

on-chip

STM32F4 ADC1

st,stm32f4-adc

on-chip

STM32 ADC2

st,stm32-adc

CAN

on-chip

STM32 CAN controller2

st,stm32-bxcan

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 provider1 2

fixed-clock

on-chip

STM32F4 Main PLL1

st,stm32f4-pll-clock

on-chip

STM32F4 PLL I2S1

st,stm32f4-plli2s-clock

on-chip

STM32 Microcontroller Clock Output (MCO)2

st,stm32-clock-mco

Counter

on-chip

STM32 counters12

st,stm32-counter

DAC

on-chip

STM32 family DAC1

st,stm32-dac

Display

on-board

ILI9341 320x240 display controller1

ilitek,ili9341

DMA

on-chip

STM32 DMA controller (V1)2

st,stm32-dma-v1

Flash controller

on-chip

STM32 Family flash controller1

st,stm32-flash-controller

GPIO & Headers

on-chip

STM32 GPIO Controller9

st,stm32-gpio

I2C

on-chip

STM32 I2C V1 controller1 2

st,stm32-i2c-v1

I2S

on-chip

STM32 I2S controller2

st,stm32-i2s

Input

on-board

STMPE811 I2C touchscreen controller1

st,stmpe811

on-board

Group of GPIO-bound input keys1

gpio-keys

Interrupt controller

on-chip

ARMv7-M NVIC (Nested Vectored Interrupt Controller)1

arm,v7m-nvic

on-chip

STM32 External Interrupt Controller1

st,stm32-exti

LED

on-board

Group of GPIO-controlled LEDs1

gpio-leds

Memory controller

on-chip

STM32 Battery Backed RAM1

st,stm32-bbram

MMC

on-chip

STM32 SDMMC Disk Access1

st,stm32-sdmmc

MTD

on-chip

STM32F4 flash memory1

st,stm32f4-nv-flash

PHY

on-chip

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

usb-nop-xceiv

Pin control

on-chip

STM32 Pin controller1

st,stm32-pinctrl

PWM

on-chip

STM32 PWM12

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 decoder6

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 USART1 3

st,stm32-usart

on-chip

STM32 UART2

st,stm32-uart

SMbus

on-chip

STM32 SMBus controller3

st,stm32-smbus

SPI

on-chip

STM32 SPI controller1 3

st,stm32-spi

SRAM

on-chip

Generic on-chip SRAM description1

mmio-sram

Timer

on-chip

ARMv7-M System Tick1

arm,armv7m-systick

on-chip

STM32 timers14

st,stm32-timers

USB

on-chip

STM32 OTGFS controller1

st,stm32-otgfs

on-chip

STM32 OTGHS controller1

st,stm32-otghs

Watchdog

on-chip

STM32 watchdog1

st,stm32-watchdog

on-chip

STM32 system window watchdog1

st,stm32-window-watchdog

Serial Port

The Zephyr console output and shell are assigned to UART6, which is connected to the onboard ST-LINK/V2 Virtual COM port interface. Default communication settings are 115200 8N1.

Programming and Debugging

Applications for the st25dv_mb1283_disco board configuration can be built and flashed in the usual way (see Building an Application and Run an Application for more details).

If programming fails, press the reset button (black) and release it while “west flash” is running.

Flashing

ST25DV Discovery kit includes an ST-LINK/V2 embedded debug tool interface. This interface is supported by the openocd version included in the Zephyr SDK.

Flashing an application to ST25DV Discovery

First, connect the ST25DV Discovery kit to your host computer using the USB port to prepare it for flashing. Then build and flash your application.

Here is an example for the Hello World application.

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

Run a serial host program to connect with your board:

$ minicom -D /dev/ttyACM0

You should see the following message on the console:

Hello World! st25dv_mb1283_disco

Debugging

You can debug an application in the usual way. Here is an example for the Hello World application.

# From the root of the zephyr repository
west build -b st25dv_mb1283_disco samples/hello_world
west debug