boards/st/st25dv_mb1283_disco/doc/index.rst
.. zephyr:board:: st25dv_mb1283_disco
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:
It exists in two variants, MB1283 and MB1285.
Antenna daughter board: ST25DV_Discovery_ANT_C5:
The antenna board can be removed, and its 14-pin 0.254mm header connector used as an eval kit header.
.. zephyr:board-supported-hw::
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
.. zephyr:board-supported-runners::
Applications for the st25dv_mb1283_disco board configuration can be built and
flashed in the usual way (see :ref:build_an_application and
:ref:application_run for more details).
If programming fails, press the reset button (black) and release it while "west flash" is running.
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.
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 :zephyr:code-sample:hello_world application.
.. zephyr-app-commands:: :zephyr-app: samples/hello_world :board: st25dv_mb1283_disco :goals: build flash
Run a serial host program to connect with your board:
.. code-block:: console
$ minicom -D /dev/ttyACM0
You should see the following message on the console:
.. code-block:: console
Hello World! st25dv_mb1283_disco
You can debug an application in the usual way. Here is an example for the
:zephyr:code-sample:hello_world application.
.. zephyr-app-commands:: :zephyr-app: samples/hello_world :board: st25dv_mb1283_disco :goals: debug
.. _ST25DV-DISCO website: https://www.st.com/en/nfc/st25dv-i2c-series-dynamic-nfc-tags.html
.. _ST25DV datasheet: https://www.st.com/resource/en/datasheet/st25dv04k.pdf
.. _STM32F40xxx reference manual: https://www.st.com/resource/en/reference_manual/rm0090-stm32f405415-stm32f407417-stm32f427437-and-stm32f429439-advanced-armbased-32bit-mcus-stmicroelectronics.pdf