/Zephyr-latest/dts/bindings/i3c/ |
D | i3c-controller.yaml | 3 # SPDX-License-Identifier: Apache-2.0 9 bus: [i3c, i2c] 12 "#address-cells": 16 "#size-cells": 20 i3c-scl-hz: 23 Frequency of the SCL signal used for I3C transfers. When undefined, 26 i2c-scl-hz: 29 Frequency of the SCL signal used for I2C transfers. When undefined 30 and there are I2C devices attached to the bus, look at the Legacy 31 Virtual Register (LVR) of all connected I2C devices to determine
|
/Zephyr-latest/samples/sensor/lps22hh_i3c/boards/ |
D | mimxrt685_evk_mimxrt685s_cm33.overlay | 5 * There might be other connected I2C devices 10 i2c-scl-hz = <400000>; 11 i3c-scl-hz = <400000>; 12 i3c-od-scl-hz = <400000>; 14 clk-divider = <12>; 15 clk-divider-slow = <1>; 16 clk-divider-tc = <1>;
|
/Zephyr-latest/samples/sensor/lsm6dso_i2c_on_i3c/boards/ |
D | mimxrt685_evk_mimxrt685s_cm33.overlay | 5 * There might be other connected I2C devices 10 i2c-scl-hz = <400000>; 11 i3c-scl-hz = <400000>; 12 i3c-od-scl-hz = <400000>; 14 clk-divider = <12>; 15 clk-divider-slow = <1>; 16 clk-divider-tc = <1>;
|
/Zephyr-latest/samples/sensor/thermometer/boards/ |
D | frdm_mcxn947_mcxn947_cpu0.overlay | 4 * SPDX-License-Identifier: Apache-2.0 11 ambient-temp0 = &p3t1755; 18 i2c-scl-hz = <DT_FREQ_K(400)>; 19 i3c-scl-hz = <DT_FREQ_M(4)>; 20 i3c-od-scl-hz = <DT_FREQ_K(1500)>;
|
D | frdm_mcxn947_mcxn947_cpu0_qspi.overlay | 4 * SPDX-License-Identifier: Apache-2.0 11 ambient-temp0 = &p3t1755; 18 i2c-scl-hz = <DT_FREQ_K(400)>; 19 i3c-scl-hz = <DT_FREQ_M(4)>; 20 i3c-od-scl-hz = <DT_FREQ_K(1500)>;
|
/Zephyr-latest/boards/shields/p3t1755dp_ard_i3c/boards/ |
D | mimxrt1180_evk_mimxrt1189_cm33.overlay | 4 * SPDX-License-Identifier: Apache-2.0 9 * the MIMXRT1180-EVK board, and the J13 on the shield board is connected 11 * J13-1 -> J50-1; J13-2 -> J50-2; 12 * J13-3 -> J50-3; J13-4 -> J50-4; 24 i2c-scl-hz = <DT_FREQ_K(400)>; 25 i3c-scl-hz = <DT_FREQ_K(400)>; 26 i3c-od-scl-hz = <DT_FREQ_K(100)>;
|
D | mimxrt1180_evk_mimxrt1189_cm7.overlay | 4 * SPDX-License-Identifier: Apache-2.0 9 * the MIMXRT1180-EVK board, and the J13 on the shield board is connected 11 * J13-1 -> J50-1; J13-2 -> J50-2; 12 * J13-3 -> J50-3; J13-4 -> J50-4; 24 i2c-scl-hz = <DT_FREQ_K(400)>; 25 i3c-scl-hz = <DT_FREQ_K(400)>; 26 i3c-od-scl-hz = <DT_FREQ_K(100)>;
|
/Zephyr-latest/tests/drivers/build_all/i3c/boards/ |
D | qemu_cortex_m3.overlay | 4 * SPDX-License-Identifier: Apache-2.0 10 #address-cells = <3>; 11 #size-cells = <0>; 13 interrupt-parent = <&nvic>; 15 input-clock-frequency = <200000000>; 16 i3c-scl-hz = <12500000>; 17 i2c-scl-hz = <400000>;
|
/Zephyr-latest/samples/sensor/sht3xd/ |
D | README.rst | 1 .. zephyr:code-sample:: sht3xd 3 :relevant-api: sensor_interface 10 This sample application periodically (2 Hz) measures the ambient 17 …- `SHT3X-DIS sensor <https://www.sensirion.com/en/environmental-sensors/humidity-sensors/digital-h… 22 This sample uses the SHT3X_DIS sensor controlled using the I2C interface. 23 Connect Supply: **VDD**, **GND** and Interface: **SDA**, **SCL** 26 Depending on the baseboard used, the **SDA** and **SCL** lines require Pull-Up 33 sensor. It should work with any platform featuring a I2C peripheral 38 .. zephyr-app-commands:: 39 :zephyr-app: samples/sensor/sht3xd [all …]
|
/Zephyr-latest/samples/sensor/adt7420/ |
D | README.rst | 1 .. zephyr:code-sample:: adt7420 2 :name: ADT7420 high-accuracy digital I2C temperature sensor 3 :relevant-api: sensor_interface 10 This sample application periodically (1Hz) measures the ambient temperature 22 - ADT7420: https://www.analog.com/adt7420 27 This sample uses the ADT7420 sensor controlled using the I2C interface. 28 Connect Supply: **VDD**, **GND** and Interface: **SDA**, **SCL** 31 Depending on the baseboard used, the **SDA** and **SCL** lines require Pull-Up 38 sensor. It should work with any platform featuring a I2C peripheral interface. 43 .. zephyr-app-commands:: [all …]
|
/Zephyr-latest/drivers/i2c/ |
D | i2c_ll_stm32.h | 5 * SPDX-License-Identifier: Apache-2.0 12 #include <zephyr/drivers/i2c/stm32.h> 22 * @brief structure to convey optional i2c timings settings 25 /* i2c peripheral clock in Hz */ 27 /* i2c bus speed in Hz */ 29 /* I2C_TIMINGR register value of i2c v2 peripheral */ 39 struct gpio_dt_spec scl; member 44 I2C_TypeDef *i2c; member
|
D | i2c_sbcon.c | 4 * SPDX-License-Identifier: Apache-2.0 11 * @brief Driver for ARM's SBCon 2-wire serial bus interface 14 * hardware state of two-bit serial interfaces like I2C. 19 #include <zephyr/drivers/i2c.h> 24 #include "i2c-priv.h" 36 /* Bits values for SCL and SDA lines in struct sbcon registers */ 37 #define SCL BIT(0) macro 43 uint32_t bitrate; /* I2C bus speed in Hz */ 48 struct i2c_bitbang bitbang; /* Bit-bang library data */ 56 sbcon->SB_CONTROLS = SCL; in i2c_sbcon_set_scl() [all …]
|
D | i2c_ll_stm32_v2.c | 5 * SPDX-License-Identifier: Apache-2.0 7 * I2C Driver for: STM32F0, STM32F3, STM32F7, STM32L0, STM32L4, STM32WB and 19 #include <zephyr/drivers/i2c.h> 28 #include "i2c-priv.h" 33 /* Use the algorithm to calcuate the I2C timing */ 52 uint32_t freq; /* Frequency in Hz */ 53 uint32_t freq_min; /* Minimum frequency in Hz */ 54 uint32_t freq_max; /* Maximum frequency in Hz */ 58 uint32_t lscl_min; /* Minimum low period of the SCL clock in ns */ 59 uint32_t hscl_min; /* Minimum high period of SCL clock in ns */ [all …]
|
D | i2c_npcx_controller.c | 4 * SPDX-License-Identifier: Apache-2.0 12 * @brief Nuvoton NPCX smb/i2c module (controller) driver 15 * support for a two-wire SMBus/I2C synchronous serial interface. The following 16 * is the state diagrams for each Zephyr i2c api functions. 21 * +<----------------+<----------------------+ 23 * +------+ +------------+ | +------- ----+ | +------- -------+ | 24 * +->| IDLE |-->| WAIT_START |--->| WRITE_FIFO |-+--->| WRITE_SUSPEND |--+ 25 * | +------+ +------------+ +------------+ Yes +---------------+ | 27 * | +-----------+ | 28 * +--------------------------------------------| WAIT_STOP |<------------+ [all …]
|
/Zephyr-latest/samples/sensor/bmi270/ |
D | README.rst | 1 .. zephyr:code-sample:: bmi270 2 :name: BMI270 6-axis IMU sensor 3 :relevant-api: sensor_interface 11 measure data at 100Hz. The result is written to the console. 16 - BMI270: https://www.bosch-sensortec.com/products/motion-sensors/imus/bmi270.html 21 This sample uses the BMI270 sensor controlled using the I2C interface. 22 Connect Supply: **VDD**, **VDDIO**, **GND** and Interface: **SDA**, **SCL**. 24 Depending on the baseboard used, the **SDA** and **SCL** lines require Pull-Up 31 sensor. It should work with any platform featuring a I2C peripheral interface. 36 .. zephyr-app-commands:: [all …]
|
/Zephyr-latest/samples/sensor/mpr/ |
D | README.rst | 1 .. zephyr:code-sample:: mpr 3 :relevant-api: sensor_interface 10 This sample application periodically (1Hz) measures atmospheric pressure in 16 - MPR: https://sensing.honeywell.com/micropressure-mpr-series 21 This sample uses an MPRLS0025PA00001A sensor controlled using the i2c 22 interface. Connect **VIN**, **GND** and Interface: **SDA**, **SCL**. 32 .. zephyr-app-commands:: 33 :zephyr-app: samples/sensor/mpr 40 .. code-block:: console
|
/Zephyr-latest/doc/hardware/peripherals/ |
D | i3c.rst | 3 Improved Inter-Integrated Circuit (I3C) Bus 6 I3C (Improved Inter-Integrated Circuit) is a two-signal shared 18 .. _i3c-controller-api: 36 .. code-block:: c 72 * Configure the hardware (e.g. SCL clock frequency). 82 for example, at power-on. So it is a good idea to reset and 133 #. Do ``ENEC`` to re-enable events from devices. 135 * The helper function, :c:func:`i3c_bus_init`, only re-enables 136 hot-join events. IBI event should only be enabled when 139 In-Band Interrupt (IBI) [all …]
|
/Zephyr-latest/samples/sensor/lsm6dso_i2c_on_i3c/ |
D | README.rst | 1 .. zephyr:code-sample:: lsmd6dso_i2c_on_i3c 2 :name: LSM6DSO IMU sensor (I2C on I3C bus) 3 :relevant-api: sensor_interface 5 Get accelerometer and gyroscope data from an LSM6DSO sensor using I2C on I3C 11 12.5Hz and enables a trigger on data ready. It displays on the console 17 This sample uses the LSM6DSO sensor controlled using the I2C interface 19 the evaluation board STEVAL-MKI196V1 connected to the I3C header 25 - LSM6DSO https://www.st.com/en/mems-and-sensors/lsm6dso.html 31 sensor (for example, the one on evaluation board STEVAL-MKI196V1). 36 .. zephyr-app-commands:: [all …]
|
/Zephyr-latest/include/zephyr/drivers/ |
D | i3c.h | 5 * SPDX-License-Identifier: Apache-2.0 29 #include <zephyr/drivers/i2c.h> 42 * - BCR[7:6]: Device Role 43 * - 0: I3C Target 44 * - 1: I3C Controller capable 45 * - 2: Reserved 46 * - 3: Reserved 48 * - BCR[5]: Advanced Capabilities 49 * - 0: Does not support optional advanced capabilities. 50 * - 1: Supports optional advanced capabilities which [all …]
|
/Zephyr-latest/boards/st/stm32f769i_disco/doc/ |
D | index.rst | 7 from audio, multi-sensor support, graphics, security, security, video, 8 and high-speed connectivity features. Important board features include: 10 - STM32F769NIH6 microcontroller featuring 2 Mbytes of Flash memory and 512 Kbytes of RAM, in BGA216… 11 - On-board ST-LINK/V2-1 supporting USB reenumeration capability 12 - USB ST-LINK functions: virtual COM port, mass storage, debug port 13 - Five power supply options: 15 - ST LINK/V2-1 16 - USB HS connector 17 - 5 V from RJ45 (Power Over Ethernet) 18 - 5 V from Arduino™ or external connector [all …]
|
/Zephyr-latest/boards/st/stm32f469i_disco/doc/ |
D | index.rst | 6 The STM32F469 Discovery kit features an ARM Cortex-M4 based STM32F469NI MCU 8 some highlights of the STM32F469I-DISCO board: 11 - STM32 microcontroller in BGA216 package 12 - On-board ST-LINK/V2-1 debugger/programmer, supporting USB reenumeration capability 13 - Flexible board power supply: 15 - ST-LINK/V2-1 USB connector 16 - User USB FS connector 17 - VIN from Arduino* compatible connectors 19 - Four user LEDs 20 - Two push-buttons: USER and RESET [all …]
|
/Zephyr-latest/boards/st/b_l072z_lrwan1/doc/ |
D | index.rst | 6 This Discovery kit features an all-in-one open module CMWX1ZZABZ-091 (by Murata). 11 - CMWX1ZZABZ-091 LoRa* / Sigfox* module (Murata) 13 - Embedded ultra-low-power STM32L072CZ Series MCUs, based on 14 Arm* Cortex* -M0+ core, with 192 Kbytes of Flash 16 - Frequency range: 860 MHz - 930 MHz 17 - USB 2.0 FS 18 - 4-channel,12-bit ADC, 2xDAC 19 - 6-bit timers, LP-UART, I2C and SPI 20 - Embedded SX1276 transceiver 21 - LoRa* , FSK, GFSK, MSK, GMSK and OOK modulations (+ Sigfox* compatibility) [all …]
|
/Zephyr-latest/drivers/i3c/ |
D | i3c_mcux.c | 6 * SPDX-License-Identifier: Apache-2.0 101 /** I3C open drain clock frequency in Hz. */ 129 * @param reg Pointer to 32-bit Register. 135 * @retval -ETIMEDOUT Timedout without matching. 143 * quickly (some sub-microseconds) so no extra in reg32_poll_timeout() 147 return -ETIMEDOUT; in reg32_poll_timeout() 155 * @param reg Pointer to 32-bit Register. 173 * @param reg Pointer to 32-bit register. 190 * @param reg Pointer to 32-bit register. 209 uint32_t intmask = base->MINTSET; in mcux_i3c_interrupt_disable() [all …]
|
/Zephyr-latest/boards/st/stm32f746g_disco/doc/ |
D | index.rst | 7 from audio, multi-sensor support, graphics, security, security, video, 8 and high-speed connectivity features. Important board features include: 10 - STM32F746NGH6 microcontroller featuring 1 Mbytes of Flash memory and 340 Kbytes of RAM, in BGA216… 11 - On-board ST-LINK/V2-1 supporting USB re-enumeration capability 12 - Five power supply options: 14 - ST LINK/V2-1 15 - USB FS connector 16 - USB HS connector 17 - VIN from Arduino connector 18 - External 5 V from connector [all …]
|
/Zephyr-latest/boards/nxp/mimxrt595_evk/ |
D | mimxrt595_evk_mimxrt595s_cm33.dts | 2 * Copyright 2022-2023, NXP 4 * SPDX-License-Identifier: Apache-2.0 7 /dts-v1/; 10 #include <zephyr/dt-bindings/input/input-event-codes.h> 12 #include "mimxrt595_evk_mimxrt595s_cm33-pinctrl.dtsi" 16 model = "NXP MIMXRT595-EVK board"; 25 usart-0 = &flexcomm0; 30 pwm-0 = &sc_timer; 31 dmic-dev = &dmic0; 32 mcuboot-button0 = &user_button_1; [all …]
|