File tree Expand file tree Collapse file tree 3 files changed +71
-0
lines changed
boards/shields/eval_adxl367_ardz Expand file tree Collapse file tree 3 files changed +71
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Copyright (c) 2025 Analog Devices, Inc.
2
+ # SPDX-License-Identifier: Apache-2.0
3
+
4
+ config SHIELD_EVAL_ADXL367_ARDZ
5
+ def_bool $(shields_list_contains,eval_adxl367_ardz)
Original file line number Diff line number Diff line change
1
+ .. _eval_adxl367_ardz :
2
+
3
+ EVAL-ADXL367-ARDZ
4
+ #################
5
+
6
+ Overview
7
+ ********
8
+
9
+ The EVAL-ADXL367-ARDZ is a 3-axis digital accelerometer Arduino shield powered
10
+ by the Analog Devices ADXL367.
11
+
12
+ Programming
13
+ ***********
14
+
15
+ Set ``--shield eval_adxl367_ardz `` when you invoke ``west build ``. For example:
16
+
17
+ .. zephyr-app-commands ::
18
+ :zephyr-app: samples/sensor/sensor_shell
19
+ :board: apard32690/max32690/m4
20
+ :shield: eval_adxl367_ardz
21
+ :goals: build
22
+
23
+ Requirements
24
+ ************
25
+
26
+ This shield can only be used with a board which provides a configuration for
27
+ Arduino connectors and defines node aliases for SPI and GPIO interfaces (see
28
+ :ref: `shields ` for more details).
29
+
30
+ References
31
+ **********
32
+
33
+ - `ADXL367 product page `_
34
+ - `ADXL367 data sheet `_
35
+
36
+ .. _ADXL367 product page :
37
+ https://www.analog.com/en/products/adxl367.html
38
+
39
+ .. _ADXL367 data sheet :
40
+ https://www.analog.com/media/en/technical-documentation/data-sheets/adxl367.pdf
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright (c) 2025 Analog Devices, Inc.
3
+ *
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+
7
+ #include <zephyr/dt-bindings/sensor/adxl367.h>
8
+
9
+ / {
10
+ aliases {
11
+ accel0 = &adxl367_eval_adxl367_ardz;
12
+ };
13
+ };
14
+
15
+ &arduino_spi {
16
+ status = "okay";
17
+
18
+ adxl367_eval_adxl367_ardz: adxl367@0 {
19
+ compatible = "adi,adxl367";
20
+ reg = <0x0>;
21
+ spi-max-frequency = <DT_FREQ_M(1)>;
22
+ int1-gpios = <&arduino_header 8 GPIO_ACTIVE_HIGH>;
23
+ fifo-mode = <ADXL367_FIFO_MODE_STREAM>;
24
+ status = "okay";
25
+ };
26
+ };
You can’t perform that action at this time.
0 commit comments