1.. _sip_svc_sample:
2
3SiP SVC sample
4##############
5
6Overview
7********
8
9This sample demonstrates the usage of SiP SVC subsystem.This sample
10performs a voltage value query from Secure Device Manager in Intel Agilex
11SoC FPGA.
12
13Caveats
14*******
15
16* SiP SVC subsystem relies on the firmware running in EL3 layer to be in compatible
17  with protocol defined inside the SiP SVC subsystem used by the project.
18* The sample application relies on the Trusted Firmware ARM firmware in
19  intel Agilex SoC FPGA query the voltage levels in Secure Device Manager.
20
21Building and Running
22********************
23For building the application:
24
25.. zephyr-app-commands::
26   :zephyr-app: samples/subsys/sip_svc
27   :board: intel_socfpga_agilex_socdk
28   :goals: build
29
30For running the application the Zephyr image can be loaded in DDR memory
31at address 0x00100000 and ATF BL31 at 0x00001000 from SD Card or QSPI Flash
32in ATF BL2.
33
34Sample Output
35*************
36.. code-block:: console
37
38  *** Booting Zephyr OS build zephyr-v3.3.0-2963-gb5ba49ae300e ***
39  Got response of transaction id 0x00 and voltage is 0.846878v
40  Got response of transaction id 0x01 and voltage is 0.858170v
41  Got response of transaction id 0x02 and voltage is 0.860168v
42  Got response of transaction id 0x03 and voltage is 0.846832v
43  Got response of transaction id 0x04 and voltage is 0.858337v
44  Got response of transaction id 0x05 and voltage is 0.871704v
45  Got response of transaction id 0x06 and voltage is 0.859421v
46  Got response of transaction id 0x07 and voltage is 0.857254v
47  Got response of transaction id 0x08 and voltage is 0.858429v
48  Got response of transaction id 0x09 and voltage is 0.859879v
49  Got response of transaction id 0x0a and voltage is 0.845139v
50  Got response of transaction id 0x0b and voltage is 0.858459v
51  Got response of transaction id 0x0c and voltage is 0.859283v
52  Got response of transaction id 0x0d and voltage is 0.846207v
53  Got response of transaction id 0x0e and voltage is 0.855850v
54  Got response of transaction id 0x0f and voltage is 0.859283v
55  Got response of transaction id 0x00 and voltage is 0.846832v
56  Got response of transaction id 0x01 and voltage is 0.856049v
57  Got response of transaction id 0x02 and voltage is 0.859879v
58