File tree Expand file tree Collapse file tree 4 files changed +85
-0
lines changed
boards/shields/eval_adxl372_ardz Expand file tree Collapse file tree 4 files changed +85
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Copyright (c) 2024 Analog Devices, Inc.
2
+ # SPDX-License-Identifier: Apache-2.0
3
+
4
+ config SHIELD_EVAL_ADXL372_ARDZ
5
+ def_bool $(shields_list_contains,eval_adxl372_ardz)
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright (c) 2024 Analog Devices, Inc.
3
+ *
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+
7
+ / {
8
+ aliases {
9
+ accel0 = &adxl372_eval_adxl372_ardz;
10
+ };
11
+ };
Original file line number Diff line number Diff line change
1
+ .. eval_adxl372_ardz:
2
+
3
+ EVAL-ADXL372-ARDZ
4
+ #################
5
+
6
+ Overview
7
+ ********
8
+
9
+ The EVAL-ADXL372-ARDZ is a 3-axis digital accelerometer Arduino shield powered
10
+ by the Analog Devices ADXL372.
11
+
12
+ Programming
13
+ ***********
14
+
15
+ Set ``--shield eval_adxl372_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_adxl372_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
+ - `EVAL-ADXL372-ARDZ product page `_
34
+ - `EVAL-ADXL372-ARDZ user guide `_
35
+ - `EVAL-ADXL372-ARDZ schematic `_
36
+ - `ADXL372 product page `_
37
+ - `ADXL372 data sheet `_
38
+
39
+ .. _EVAL-ADXL372-ARDZ product page :
40
+ https://www.analog.com/en/resources/evaluation-hardware-and-software/evaluation-boards-kits/eval-adxl372-ardz.html
41
+
42
+ .. _EVAL-ADXL372-ARDZ user guide :
43
+ https://wiki.analog.com/resources/eval/user-guides/eval-adicup3029/hardware/adxl372
44
+
45
+ .. _EVAL-ADXL372-ARDZ schematic :
46
+ https://www.analog.com/media/en/evaluation-documentation/evaluation-design-files/eval-adxl372-ardz-designsupport.zip
47
+
48
+ .. _ADXL372 product page :
49
+ https://www.analog.com/en/products/adxl372.html
50
+
51
+ .. _ADXL372 data sheet :
52
+ https://www.analog.com/media/en/technical-documentation/data-sheets/adxl372.pdf
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright (c) 2024 Analog Devices, Inc.
3
+ *
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+
7
+ &arduino_spi {
8
+ status = "okay";
9
+
10
+ adxl372_eval_adxl372_ardz: adxl372@0 {
11
+ compatible = "adi,adxl372";
12
+ reg = <0x0>;
13
+ spi-max-frequency = <DT_FREQ_M(1)>;
14
+ int1-gpios = <&arduino_header 13 GPIO_ACTIVE_HIGH>;
15
+ status = "okay";
16
+ };
17
+ };
You can’t perform that action at this time.
0 commit comments