Home
last modified time | relevance | path

Searched +full:spi +path:samples (Results 1 – 25 of 100) sorted by relevance

1234

/Zephyr-latest/samples/bluetooth/hci_spi/
DREADME.rst2 :name: HCI SPI
5 Expose a Bluetooth controller to another device or CPU over SPI.
10 Expose Bluetooth Controller support over SPI to another device/CPU using
11 the Zephyr SPI HCI transport protocol (similar to BlueNRG).
16 A board with SPI slave, GPIO and Bluetooth Low Energy support.
22 for the HCI SPI slave device with compatible
23 :dtcompatible:`zephyr,bt-hci-spi-slave`. This node sets an interrupt line to
24 the host and associates the application with a SPI bus to use.
34 You will also need a separate chip acting as BT HCI SPI master. This
35 application is compatible with the HCI SPI master driver provided by
Dsample.yaml2 description: Allows Zephyr to provide Bluetooth connectivity via SPI.
3 name: Bluetooth HCI SPI
15 - spi
/Zephyr-latest/samples/drivers/spi_flash_at45/
Dsample.yaml2 name: SPI Flash AT45 Sample
4 depends_on: spi
9 - spi
12 sample.drivers.spi.flash.at45.build:
14 sample.drivers.spi.flash.at45.build.page_layout:
17 sample.drivers.spi.flash.at45.build.pm:
20 sample.drivers.spi.flash.at45.build.page_layout_pm:
23 sample.drivers.spi.flash.at45:
/Zephyr-latest/samples/drivers/spi_fujitsu_fram/
Dsample.yaml2 name: SPI FRAM Module Sample
4 sample.drivers.spi.fujitsu_fram:
11 - spi
12 filter: dt_alias_exists("spi-1")
/Zephyr-latest/samples/drivers/spi_fujitsu_fram/src/
Dmain.c11 #include <zephyr/drivers/spi.h>
14 * @file Sample app using the Fujitsu MB85RS64V FRAM through SPI.
25 static int mb85rs64v_access(const struct device *spi, in mb85rs64v_access() argument
58 return spi_transceive(spi, spi_cfg, &tx, &rx); in mb85rs64v_access()
64 return spi_write(spi, spi_cfg, &tx); in mb85rs64v_access()
68 static int mb85rs64v_read_id(const struct device *spi, in mb85rs64v_read_id() argument
74 err = mb85rs64v_access(spi, spi_cfg, in mb85rs64v_read_id()
100 static int write_bytes(const struct device *spi, struct spi_config *spi_cfg, in write_bytes() argument
106 err = mb85rs64v_access(spi, spi_cfg, in write_bytes()
114 err = mb85rs64v_access(spi, spi_cfg, in write_bytes()
[all …]
/Zephyr-latest/samples/drivers/spi_flash/
Dsample.yaml2 name: SPI Flash Sample
4 sample.drivers.spi.flash:
6 - spi
8 filter: dt_compat_enabled("jedec,spi-nor") or dt_compat_enabled("st,stm32-qspi-nor")
24 depends_on: spi
DREADME.rst1 .. zephyr:code-sample:: spi-nor
2 :name: JEDEC SPI-NOR flash
5 Use the flash API to interact with an SPI NOR serial flash memory device.
10 This sample demonstrates using the :ref:`flash API <flash_api>` on a SPI NOR serial flash
21 * :dtcompatible:`jedec,spi-nor`,
39 JEDEC QSPI-NOR SPI flash testing
/Zephyr-latest/samples/drivers/spi_bitbang/
DREADME.rst1 .. zephyr:code-sample:: spi-bitbang
2 :name: SPI bitbang
5 Use the bitbang SPI driver for communicating with a slave.
10 This sample demonstrates using the bitbang SPI driver. The bitbang driver can
14 This sample loops through some different spi transfer configurations.
21 <dt-guide>` entry with :dtcompatible:`zephyr,spi-bitbang` as a compatible.
Dsample.yaml2 name: SPI Bitbang Driver Sample
4 sample.drivers.spi.bitbang:
7 - spi
/Zephyr-latest/samples/drivers/led/led_strip/boards/
Dmimxrt1050_evk_mimxrt1052_hyperflash.overlay11 compatible = "worldsemi,ws2812-spi";
13 /* SPI */
14 reg = <0>; /* ignored, but necessary for SPI bindings */
15 spi-max-frequency = <6400000>;
19 spi-cpha;
20 spi-one-frame = <0xf0>; /* 11110000: 625 ns high and 625 ns low */
21 spi-zero-frame = <0xc0>; /* 11000000: 312.5 ns high and 937.5 ns low */
Dmimxrt1050_evk_qspi.overlay11 compatible = "worldsemi,ws2812-spi";
13 /* SPI */
14 reg = <0>; /* ignored, but necessary for SPI bindings */
15 spi-max-frequency = <6400000>;
19 spi-cpha;
20 spi-one-frame = <0xf0>; /* 11110000: 625 ns high and 625 ns low */
21 spi-zero-frame = <0xc0>; /* 11000000: 312.5 ns high and 937.5 ns low */
Desp32c3_devkitm.overlay14 compatible = "worldsemi,ws2812-spi";
16 /* SPI */
17 reg = <0>; /* ignored, but necessary for SPI bindings */
18 spi-max-frequency = <6400000>;
22 spi-cpha;
23 spi-one-frame = <0xf0>; /* 11110000: 625 ns high and 625 ns low */
24 spi-zero-frame = <0xc0>; /* 11000000: 312.5 ns high and 937.5 ns low */
Desp32s2_saola.overlay14 compatible = "worldsemi,ws2812-spi";
16 /* SPI */
17 reg = <0>; /* ignored, but necessary for SPI bindings */
18 spi-max-frequency = <6400000>;
22 spi-cpha;
23 spi-one-frame = <0xf0>; /* 11110000: 625 ns high and 625 ns low */
24 spi-zero-frame = <0xc0>; /* 11000000: 312.5 ns high and 937.5 ns low */
Desp32s3_devkitm_procpu.overlay14 compatible = "worldsemi,ws2812-spi";
16 /* SPI */
17 reg = <0>; /* ignored, but necessary for SPI bindings */
18 spi-max-frequency = <6400000>;
22 spi-cpha;
23 spi-one-frame = <0xf0>; /* 11110000: 625 ns high and 625 ns low */
24 spi-zero-frame = <0xc0>; /* 11000000: 312.5 ns high and 937.5 ns low */
Dnucleo_g071rb.overlay11 compatible = "worldsemi,ws2812-spi";
13 /* SPI */
14 reg = <0>; /* ignored, but necessary for SPI bindings */
15 spi-max-frequency = <4000000>;
20 spi-one-frame = <0x70>;
21 spi-zero-frame = <0x40>;
Dnucleo_h743zi.overlay11 compatible = "worldsemi,ws2812-spi";
13 /* SPI */
14 reg = <0>; /* ignored, but necessary for SPI bindings */
15 spi-max-frequency = <DT_FREQ_M(4)>;
20 spi-one-frame = <0x70>;
21 spi-zero-frame = <0x40>;
Dnucleo_l476rg.overlay11 compatible = "worldsemi,ws2812-spi";
13 /* SPI */
14 reg = <0>; /* ignored, but necessary for SPI bindings */
15 spi-max-frequency = <4000000>;
20 spi-one-frame = <0x70>;
21 spi-zero-frame = <0x40>;
Dnrf52dk_nrf52832.overlay14 compatible = "worldsemi,ws2812-spi";
16 /* SPI */
17 reg = <0>; /* ignored, but necessary for SPI bindings */
18 spi-max-frequency = <SPI_FREQ>;
25 spi-one-frame = <ONE_FRAME>;
26 spi-zero-frame = <ZERO_FRAME>;
Dnucleo_f070rb.overlay17 compatible = "everlight,b1414", "worldsemi,ws2812-spi";
19 /* SPI */
20 reg = <0>; /* ignored, but necessary for SPI bindings */
21 spi-max-frequency = <B1414_SPI_FREQ>;
26 spi-one-frame = <B1414_ONE_FRAME>;
27 spi-zero-frame = <B1414_ZERO_FRAME>;
/Zephyr-latest/samples/drivers/jesd216/
Dsample.yaml5 - spi
24 filter: dt_compat_enabled("jedec,spi-nor") or dt_compat_enabled("jedec,mspi-nor")
25 depends_on: spi
36 depends_on: spi
/Zephyr-latest/samples/sensor/magn_polling/
DREADME.rst20 The Zephyr driver for the :dtcompatible:`ti,tmag5170`` requires an SPI driver
22 :dtcompatible:`raspberrypi,pico-spi-pio` SPI driver provides this support,
26 The GPIO pin assignments in the overlay file are arbitrary. The PIO SPI
27 driver allows using any four GPIO pins for the SPI bus. Just keep in mind
/Zephyr-latest/samples/sensor/bme280/
DKconfig13 # Enable SPI and I2C support by default so that the sample works with
16 config SPI config
/Zephyr-latest/samples/drivers/jesd216/boards/
Dnrf52840dk_nrf52840_spi.overlay14 * to provide quad-spi feature. In individual specifications each of the spi
21 compatible = "nordic,nrf-spi";
28 compatible = "jedec,spi-nor";
30 spi-max-frequency = <8000000>;
/Zephyr-latest/samples/subsys/fs/fs_sample/boards/
Dnucleo_f429zi.overlay9 compatible = "zephyr,sdhc-spi-slot";
17 spi-max-frequency = <25000000>;
18 spi-clock-mode-cpol;
19 spi-clock-mode-cpha;
/Zephyr-latest/samples/boards/microchip/mec172xevb_assy6906/qmspi_ldma/
Dsample.yaml6 harness: spi
8 tags: spi
10 - spi

1234