Lines Matching +full:bus +full:- +full:select +full:- +full:gpios

1 .. zephyr:code-sample:: bme280
3 :relevant-api: sensor_interface
14 https://www.bosch-sensortec.com/products/environmental-sensors/humidity-sensors-bme280/
24 or SPI. Configuration is done via :ref:`devicetree <dt-guide>`. The devicetree
34 https://www.bosch-sensortec.com/media/boschsensortec/downloads/datasheets/bst-bme280-ds002.pdf
36 Boards with a built-in BME280
42 .. zephyr-app-commands::
43 :zephyr-app: samples/sensor/bme280
53 .. zephyr-app-commands::
54 :zephyr-app: samples/sensor/bme280
56 :gen-args: -DDTC_OVERLAY_FILE=arduino_spi.overlay
59 works on any board with a properly configured Arduino pin-compatible SPI
68 .. zephyr-app-commands::
69 :zephyr-app: samples/sensor/bme280
71 :gen-args: -DDTC_OVERLAY_FILE=arduino_i2c.overlay
74 works on any board with a properly configured Arduino pin-compatible I2C
80 The default assignment of the built-in spi0 device on the :zephyr:board:`rpi_pico` is
84 .. zephyr-app-commands::
85 :zephyr-app: samples/sensor/bme280
94 .. zephyr-app-commands::
95 :zephyr-app: samples/sensor/bme280
98 :gen-args: -DDTC_OVERLAY_FILE=rpi_pico_spi_pio.overlay
100 Note that miso-gpios, mosi-gpios, and clk-gpios need to be assigned to the
101 selected PIO device in pinctrl, while cs-gpios should not; chip select is
105 Board-specific overlays
109 a board-specific devicetree overlay adding one in the :file:`boards` directory.
119 .. zephyr-app-commands::
120 :zephyr-app: samples/sensor/bme280
134 .. code-block:: none
136 [00:00:00.379,760] <dbg> BME280.bme280_init: initializing "BME280_SPI" on bus "SPI_3"
138 [00:00:00.379,821] <dbg> BME280.bme280_init: initializing "BME280_I2C" on bus "I2C_0"
141 *** Booting Zephyr OS build zephyr-v2.4.0-2940-gbb732ada394f ***
150 .. code-block:: none
152 [00:00:00.377,777] <dbg> BME280.bme280_init: initializing "BME280_SPI" on bus "SPI_3"
155 [00:00:00.379,638] <dbg> BME280.bme280_init: initializing "BME280_I2C" on bus "I2C_0"
158 *** Booting Zephyr OS build zephyr-v2.4.0-2940-gbb732ada394f ***