/Zephyr-latest/drivers/sensor/st/ism330dhcx/ |
D | ism330dhcx_trigger.c | 1 /* ST Microelectronics ISM330DHCX 6-axis IMU sensor driver 8 * https://www.st.com/resource/en/datasheet/ism330dhcx.pdf 18 #include "ism330dhcx.h" 20 LOG_MODULE_DECLARE(ISM330DHCX, CONFIG_SENSOR_LOG_LEVEL); 29 struct ism330dhcx_data *ism330dhcx = dev->data; in ism330dhcx_enable_t_int() local 36 ism330dhcx_temperature_raw_get(ism330dhcx->ctx, &buf); in ism330dhcx_enable_t_int() 44 ism330dhcx_read_reg(ism330dhcx->ctx, ISM330DHCX_INT2_CTRL, in ism330dhcx_enable_t_int() 47 return ism330dhcx_write_reg(ism330dhcx->ctx, ISM330DHCX_INT2_CTRL, in ism330dhcx_enable_t_int() 58 struct ism330dhcx_data *ism330dhcx = dev->data; in ism330dhcx_enable_xl_int() local 64 ism330dhcx_acceleration_raw_get(ism330dhcx->ctx, buf); in ism330dhcx_enable_xl_int() [all …]
|
D | Kconfig | 1 # ST Microelectronics ISM330DHCX 6-axis IMU sensor driver 6 menuconfig ISM330DHCX config 7 bool "ISM330DHCX I2C/SPI accelerometer and gyroscope Chip" 16 Enable driver for ISM330DHCX accelerometer and gyroscope 19 if ISM330DHCX 95 endif # ISM330DHCX
|
D | ism330dhcx_i2c.c | 1 /* ST Microelectronics ISM330DHCX 6-axis IMU sensor driver 8 * https://www.st.com/resource/en/datasheet/ism330dhcx.pdf 17 #include "ism330dhcx.h" 21 LOG_MODULE_DECLARE(ISM330DHCX, CONFIG_SENSOR_LOG_LEVEL);
|
D | CMakeLists.txt | 1 # ST Microelectronics ISM330DHCX 6-axis IMU sensor driver 9 zephyr_library_sources(ism330dhcx.c)
|
D | ism330dhcx_spi.c | 1 /* ST Microelectronics ISM330DHCX 6-axis IMU sensor driver 8 * https://www.st.com/resource/en/datasheet/ism330dhcx.pdf 14 #include "ism330dhcx.h" 21 LOG_MODULE_DECLARE(ISM330DHCX, CONFIG_SENSOR_LOG_LEVEL);
|
D | ism330dhcx.c | 1 /* ST Microelectronics ISM330DHCX 6-axis IMU sensor driver 8 * https://www.st.com/resource/en/datasheet/ism330dhcx.pdf 22 #include "ism330dhcx.h" 24 LOG_MODULE_REGISTER(ISM330DHCX, CONFIG_SENSOR_LOG_LEVEL); 692 struct ism330dhcx_data *ism330dhcx = dev->data; in ism330dhcx_init_chip() local 695 ism330dhcx->dev = dev; in ism330dhcx_init_chip() 697 if (ism330dhcx_device_id_get(ism330dhcx->ctx, &chip_id) < 0) { in ism330dhcx_init_chip() 710 if (ism330dhcx_reset_set(ism330dhcx->ctx, 1) < 0) { in ism330dhcx_init_chip() 735 ism330dhcx->gyro_freq = ism330dhcx_odr_to_freq_val(cfg->gyro_odr); in ism330dhcx_init_chip() 742 if (ism330dhcx_fifo_mode_set(ism330dhcx->ctx, ISM330DHCX_BYPASS_MODE) < 0) { in ism330dhcx_init_chip() [all …]
|
D | ism330dhcx.h | 1 /* ST Microelectronics ISM330DHCX 6-axis IMU sensor driver 8 * https://www.st.com/resource/en/datasheet/ism330dhcx.pdf
|
/Zephyr-latest/samples/shields/x_nucleo_iks02a1/sensorhub/src/ |
D | main.c | 82 static void ism330dhcx_config(const struct device *ism330dhcx) in ism330dhcx_config() argument 86 /* set ISM330DHCX accel sampling frequency to 208 Hz */ in ism330dhcx_config() 90 if (sensor_attr_set(ism330dhcx, SENSOR_CHAN_ACCEL_XYZ, in ism330dhcx_config() 92 printk("Cannot set sampling frequency for ISM330DHCX accel\n"); in ism330dhcx_config() 98 if (sensor_attr_set(ism330dhcx, SENSOR_CHAN_ACCEL_XYZ, in ism330dhcx_config() 100 printk("Cannot set fs for ISM330DHCX accel\n"); in ism330dhcx_config() 104 /* set ISM330DHCX gyro sampling frequency to 208 Hz */ in ism330dhcx_config() 108 if (sensor_attr_set(ism330dhcx, SENSOR_CHAN_GYRO_XYZ, in ism330dhcx_config() 110 printk("Cannot set sampling frequency for ISM330DHCX gyro\n"); in ism330dhcx_config() 116 if (sensor_attr_set(ism330dhcx, SENSOR_CHAN_GYRO_XYZ, in ism330dhcx_config() [all …]
|
/Zephyr-latest/samples/shields/x_nucleo_iks02a1/standard/src/ |
D | main.c | 108 static void ism330dhcx_config(const struct device *ism330dhcx) in ism330dhcx_config() argument 112 /* set ISM330DHCX sampling frequency to 416 Hz */ in ism330dhcx_config() 116 if (sensor_attr_set(ism330dhcx, SENSOR_CHAN_ACCEL_XYZ, in ism330dhcx_config() 118 printk("Cannot set sampling frequency for ISM330DHCX accel\n"); in ism330dhcx_config() 124 if (sensor_attr_set(ism330dhcx, SENSOR_CHAN_ACCEL_XYZ, in ism330dhcx_config() 126 printk("Cannot set sampling frequency for ISM330DHCX accel\n"); in ism330dhcx_config() 130 /* set ISM330DHCX gyro sampling frequency to 208 Hz */ in ism330dhcx_config() 134 if (sensor_attr_set(ism330dhcx, SENSOR_CHAN_GYRO_XYZ, in ism330dhcx_config() 136 printk("Cannot set sampling frequency for ISM330DHCX gyro\n"); in ism330dhcx_config() 142 if (sensor_attr_set(ism330dhcx, SENSOR_CHAN_GYRO_XYZ, in ism330dhcx_config() [all …]
|
/Zephyr-latest/samples/shields/x_nucleo_iks02a1/sensorhub/ |
D | README.rst | 13 This sample enables IIS2DLPC and ISM330DHCX sensors. Since all other shield 14 devices are connected to ISM330DHCX, the ISM330DHCX driver is configured in sensorhub 21 - ISM330DHCX 6-Axis acceleration and angular velocity 22 - ISM330DHCX (from IIS2MDC) 3-Axis magnetic field intensity 67 ISM330DHCX: Accel (m.s-2): x: 0.383, y: -0.234, z: 9.763 68 ISM330DHCX: GYro (dps): x: 0.004, y: 0.003, z: -0.005 69 ISM330DHCX: Magn (gauss): x: 0.171, y: 0.225, z: -0.363 71 7:: ism330dhcx acc trig 2494 72 7:: ism330dhcx gyr trig 2494
|
/Zephyr-latest/samples/boards/st/steval_stwinbx1/sensors/src/ |
D | main.c | 188 static void ism330dhcx_config(const struct device *ism330dhcx) in ism330dhcx_config() argument 192 /* set ISM330DHCX sampling frequency to 416 Hz */ in ism330dhcx_config() 196 if (sensor_attr_set(ism330dhcx, SENSOR_CHAN_ACCEL_XYZ, in ism330dhcx_config() 198 printk("Cannot set sampling frequency for ISM330DHCX accel\n"); in ism330dhcx_config() 204 if (sensor_attr_set(ism330dhcx, SENSOR_CHAN_ACCEL_XYZ, in ism330dhcx_config() 206 printk("Cannot set sampling frequency for ISM330DHCX accel\n"); in ism330dhcx_config() 210 /* set ISM330DHCX gyro sampling frequency to 208 Hz */ in ism330dhcx_config() 214 if (sensor_attr_set(ism330dhcx, SENSOR_CHAN_GYRO_XYZ, in ism330dhcx_config() 216 printk("Cannot set sampling frequency for ISM330DHCX gyro\n"); in ism330dhcx_config() 222 if (sensor_attr_set(ism330dhcx, SENSOR_CHAN_GYRO_XYZ, in ism330dhcx_config() [all …]
|
/Zephyr-latest/dts/bindings/sensor/ |
D | st,ism330dhcx-i2c.yaml | 5 STMicroelectronics ISM330DHCX 6-axis IMU (Inertial Measurement Unit) sensor 8 compatible: "st,ism330dhcx" 10 include: ["i2c-device.yaml", "st,ism330dhcx-common.yaml"]
|
D | st,ism330dhcx-spi.yaml | 5 STMicroelectronics ISM330DHCX 6-axis IMU (Inertial Measurement Unit) sensor 8 compatible: "st,ism330dhcx" 10 include: ["spi-device.yaml", "st,ism330dhcx-common.yaml"]
|
D | st,ism330dhcx-common.yaml | 6 ism330dhcx.h and use the macros defined there. 9 #include <zephyr/dt-bindings/sensor/ism330dhcx.h> 11 ism330dhcx: ism330dhcx@0 {
|
/Zephyr-latest/boards/shields/x_nucleo_iks02a1/ |
D | x_nucleo_iks02a1_shub.overlay | 13 * Only ISM330DHCX and IIS2DLPC sensors are accessible from the main board mcu. 14 * IIS2MDC is connected directly to ISM330DHCX SCx/SDX (I2Cx) pins, so it is not 34 ism330dhcx_6b_x_nucleo_iks02a1_shub: ism330dhcx@6b { 35 compatible = "st,ism330dhcx";
|
D | x_nucleo_iks02a1.overlay | 13 * ISM330DHCX, IIS2MDC and IIS2DLPC sensors are accessible from the main board mcu. 38 ism330dhcx_6b_x_nucleo_iks02a1: ism330dhcx@6b { 39 compatible = "st,ism330dhcx";
|
/Zephyr-latest/samples/shields/x_nucleo_iks02a1/standard/ |
D | README.rst | 18 - ISM330DHCX 6-Axis acceleration and angular velocity 64 ISM330DHCX: Accel (m.s-2): x: 0.182, y: -0.306, z: 9.753 65 ISM330DHCX: GYro (dps): x: 0.005, y: 0.001, z: -0.004 67 5:: ism330dhcx acc trig 3332 68 5:: ism330dhcx gyr trig 1666
|
/Zephyr-latest/samples/boards/st/steval_stwinbx1/sensors/ |
D | README.rst | 17 - ISM330DHCX: IMU, 3D accelerometer and 3D gyroscope with Machine Learning Core and Finite State Ma… 71 ISM330DHCX: Accel (m.s-2): x: 0.000, y: 5.704, z: 7.982 72 ISM330DHCX: Gyro (dps): x: 0.026, y: -0.006, z: -0.008 78 1:: ism330dhcx acc trig 4447 79 1:: ism330dhcx gyr trig 2223
|
/Zephyr-latest/boards/shields/x_nucleo_iks02a1/doc/ |
D | index.rst | 11 is designed around the ISM330DHCX 3-axis accelerometer and 3-axis gyroscope, 30 - ISM330DHCX MEMS 3D accelerometer (±2/±4/±8/±16 g) and 36 - I2C sensor hub features on ISM330DHCX available 47 - IIS2DLPC and ISM330DHCX are on I2C2 69 In SensorHub mode ISM330DHCX and IIS2DLPC are connected to I2C2 and are accessible from the main bo… 70 Instead, the IIS2MDC device is connected only to ISM330DHCX sensor through its SCx/SDX (I2Cx) pins.
|
/Zephyr-latest/boards/st/stm32wb5mm_dk/ |
D | stm32wb5mm_dk.dts | 12 #include <zephyr/dt-bindings/sensor/ism330dhcx.h> 60 accel0 = &ism330dhcx; 191 ism330dhcx: ism330dhcx@6b { label 192 compatible = "st,ism330dhcx";
|
D | stm32wb5mm_dk.yaml | 16 - ism330dhcx
|
/Zephyr-latest/drivers/sensor/st/ |
D | CMakeLists.txt | 14 add_subdirectory_ifdef(CONFIG_ISM330DHCX ism330dhcx)
|
D | Kconfig | 13 source "drivers/sensor/st/ism330dhcx/Kconfig"
|
/Zephyr-latest/boards/st/steval_stwinbx1/ |
D | steval_stwinbx1.dts | 165 ism330dhcx: ism330dhcx@1 { label 166 compatible = "st,ism330dhcx";
|
/Zephyr-latest/boards/st/b_u585i_iot02a/ |
D | b_u585i_iot02a-common.dtsi | 181 ism330dhcx@6b { 182 compatible = "st,ism330dhcx";
|