zephyr/samples/drivers/mspi/mspi_async
Jakub Wasilewski 8e881959a4 boards: hifive_unmatched: add support for S7 and U74 targets
Add `hifive_unmatched//s7` (earlier selected by default, using
`hifive_unmatched`) and `hifive_unmatched//u74` targets.

Define work-area for other 4 cores in openocd.cfg

Update twister platform white/black lists, to support new targets

Signed-off-by: Jakub Wasilewski <jwasilewski@internships.antmicro.com>
Signed-off-by: Filip Kokosinski <fkokosinski@antmicro.com>
2024-11-20 10:15:03 +00:00
..
boards
src
CMakeLists.txt
prj.conf
README.rst doc: sphinx-lint: fix bad usage of "default role" 2024-09-13 11:42:51 -05:00
sample.yaml boards: hifive_unmatched: add support for S7 and U74 targets 2024-11-20 10:15:03 +00:00

.. zephyr:code-sample:: mspi-async
   :name: MSPI asynchronous transfer
   :relevant-api: mspi_interface

   Use the MSPI API to interact with MSPI memory device asynchronously.

Overview
********

This sample demonstrates using the :ref:`MSPI API <mspi_api>` on a MSPI
memory device.  The asynchronous transceive call need to be supported
either by a software queue or hardware queue from the controller hardware.
To this sample, however, the implementation should make no difference.

Building and Running
********************

The application will build only for a target that has a :ref:`devicetree <dt-guide>`
``dev0`` alias that refers to an entry with the following bindings as a compatible:

* :dtcompatible:`ambiq,mspi-device`, :dtcompatible:`mspi-aps6404l`

.. zephyr-app-commands::
   :zephyr-app: samples/drivers/mspi/mspi_async
   :board: apollo3p_evb
   :goals: build flash
   :compact:

Sample Output
=============

.. code-block:: console

   *** Booting Zephyr OS build zephyr-v3.5.0-8581-gc80b243c7598 ***
   w:3,r:3
   Read data matches written data