• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

boards/04-Jan-2025-124101

src/04-Jan-2025-206177

CMakeLists.txtD04-Jan-2025416 1410

README.rstD04-Jan-20251 KiB3726

prj.confD04-Jan-202538 32

sample.yamlD04-Jan-2025336 1615

README.rst

1.. zephyr:code-sample:: mspi-async
2   :name: MSPI asynchronous transfer
3   :relevant-api: mspi_interface
4
5   Use the MSPI API to interact with MSPI memory device asynchronously.
6
7Overview
8********
9
10This sample demonstrates using the :ref:`MSPI API <mspi_api>` on a MSPI
11memory device.  The asynchronous transceive call need to be supported
12either by a software queue or hardware queue from the controller hardware.
13To this sample, however, the implementation should make no difference.
14
15Building and Running
16********************
17
18The application will build only for a target that has a :ref:`devicetree <dt-guide>`
19``dev0`` alias that refers to an entry with the following bindings as a compatible:
20
21* :dtcompatible:`ambiq,mspi-device`, :dtcompatible:`mspi-aps6404l`
22
23.. zephyr-app-commands::
24   :zephyr-app: samples/drivers/mspi/mspi_async
25   :board: apollo3p_evb
26   :goals: build flash
27   :compact:
28
29Sample Output
30=============
31
32.. code-block:: console
33
34   *** Booting Zephyr OS build zephyr-v3.5.0-8581-gc80b243c7598 ***
35   w:3,r:3
36   Read data matches written data
37