zephyr/samples/subsys/sip_svc
Mahesh Rao 5a7552bce8 samples: sip_svc: Add support for intel_socfpga_agilex5_socdk
Add support for intel_socfpga_agilex5_socdk for
sip_svc sample application.

Signed-off-by: Mahesh Rao <mahesh.rao@intel.com>
2023-09-15 09:26:49 +02:00
..
boards samples: sip_svc: Add support for intel_socfpga_agilex5_socdk 2023-09-15 09:26:49 +02:00
src samples/sip_svc: Switch main return type to int 2023-05-31 10:36:17 +02:00
CMakeLists.txt samples: sip_svc: Sample application using sip_svc service. 2023-05-09 08:46:50 -04:00
prj.conf samples: sip_svc: Sample application using sip_svc service. 2023-05-09 08:46:50 -04:00
README.rst samples: sip_svc: Sample application using sip_svc service. 2023-05-09 08:46:50 -04:00
sample.yml samples: sip_svc: Sample application using sip_svc service. 2023-05-09 08:46:50 -04:00

.. _sip_svc_sample:

SiP SVC sample
##############

Overview
********

This sample demonstrates the usage of SiP SVC subsystem.This sample
performs a voltage value query from Secure Device Manager in Intel Agilex
SoC FPGA.

Caveats
*******

* SiP SVC subsystem relies on the firmware running in EL3 layer to be in compatible
  with protocol defined inside the SiP SVC subsystem used by the project.
* The sample application relies on the Trusted Firmware ARM firmware in
  intel Agilex SoC FPGA query the voltage levels in Secure Device Manager.

Building and Running
********************
For building the application:

.. zephyr-app-commands::
   :zephyr-app: samples/subsys/sip_svc
   :board: intel_socfpga_agilex_socdk
   :goals: build

For running the application the Zephyr image can be loaded in DDR memory
at address 0x00100000 and ATF BL31 at 0x00001000 from SD Card or QSPI Flash
in ATF BL2.

Sample Output
*************
.. code-block:: console

  *** Booting Zephyr OS build zephyr-v3.3.0-2963-gb5ba49ae300e ***
  Got response of transaction id 0x00 and voltage is 0.846878v
  Got response of transaction id 0x01 and voltage is 0.858170v
  Got response of transaction id 0x02 and voltage is 0.860168v
  Got response of transaction id 0x03 and voltage is 0.846832v
  Got response of transaction id 0x04 and voltage is 0.858337v
  Got response of transaction id 0x05 and voltage is 0.871704v
  Got response of transaction id 0x06 and voltage is 0.859421v
  Got response of transaction id 0x07 and voltage is 0.857254v
  Got response of transaction id 0x08 and voltage is 0.858429v
  Got response of transaction id 0x09 and voltage is 0.859879v
  Got response of transaction id 0x0a and voltage is 0.845139v
  Got response of transaction id 0x0b and voltage is 0.858459v
  Got response of transaction id 0x0c and voltage is 0.859283v
  Got response of transaction id 0x0d and voltage is 0.846207v
  Got response of transaction id 0x0e and voltage is 0.855850v
  Got response of transaction id 0x0f and voltage is 0.859283v
  Got response of transaction id 0x00 and voltage is 0.846832v
  Got response of transaction id 0x01 and voltage is 0.856049v
  Got response of transaction id 0x02 and voltage is 0.859879v