1# Copyright (c) 2023 Trackunit Corporation
2# SPDX-License-Identifier: Apache-2.0
3
4menuconfig BMI323
5	bool "BMI323 measurement unit"
6	default y
7	depends on DT_HAS_BOSCH_BMI323_ENABLED
8	help
9	  Enable driver for BMI323 IMU sensor.
10	  The driver implements the following features:
11
12	  * Enable and disable accelerometer and gyroscope respectively
13	  * Set full scale for accelerometer and gyroscope respectively
14	  * Set data rate for accelerometer and gyroscope respectively
15	  * Get samples (x,y,z) from accelerometer and gyroscope respectively
16	  * Get die temperature
17	  * Set trigger to accelerometer data ready, and accelerometer any motion.
18
19	  The driver implements device and device runtime power management. If
20	  runtime management is used, it is initialized into the suspended state,
21	  which soft-resets the device to achieve the lowest possible power
22	  consumption, otherwise it is resumed when initialized. When resumed,
23	  the bus is initialized, the feature engine is enabled, and INT1 is
24	  initialized.
25
26	  The driver only implements the SPI bus at this time. The driver is
27	  prepared to be expanded with I2C support in the future.
28
29if BMI323
30
31config BMI323_BUS_SPI
32	bool "BMI323 driver support for SPI bus"
33	default y
34	depends on $(dt_compat_on_bus,$(DT_COMPAT_BOSCH_BMI323),spi)
35	select SPI
36
37endif # BMI323
38