Skip to content

Commit 646389f

Browse files
committed
boards: shields: support for x_nucleo_s2868a1
Added a new shield for the x_nucleo_s2868a1 expansion module Signed-off-by: Nikos Oikonomou <nikoikonomou92@gmail.com>
1 parent 42a4cf3 commit 646389f

File tree

5 files changed

+106
-0
lines changed

5 files changed

+106
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Copyright (c) 2021 Nikos Oikonomou <nikoikonomou92@gmail.com>
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
if SHIELD_X_NUCLEO_S2868A1
5+
6+
if IEEE802154
7+
8+
config SPI
9+
default y
10+
depends on IEEE802154
11+
12+
config IEEE802154_S2LP
13+
default y
14+
depends on IEEE802154
15+
16+
config NET_CONFIG_IEEE802154_DEV_NAME
17+
default "IEEE802154_S2LP"
18+
depends on IEEE802154_S2LP
19+
20+
endif # IEEE802154
21+
22+
endif # SHIELD_X_NUCLEO_S2868A1
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Copyright (c) 2021 Nikos Oikonomou <nikoikonomou92@gmail.com>
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
config SHIELD_X_NUCLEO_S2868A1
5+
def_bool $(shields_list_contains,x_nucleo_s2868a1)
85.6 KB
Loading
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
.. _x-nucleo-s2868a1:
2+
3+
X-NUCLEO-S2868A1: S2LP radio shield
4+
###################################
5+
6+
Overview
7+
********
8+
The X-NUCLEO-S2868A1 expansion board is based on the S2-LP radio and operates
9+
in the 868 MHz ISM frequency band. The expansion board is compatible with ST
10+
morpho and Arduino UNO R3 connectors. The X-NUCLEO-S2868A1 interfaces with
11+
the STM32 Nucleo microcontroller via SPI connections and GPIO pins. You can
12+
change some of the GPIOs by mounting or removing the resistors.
13+
14+
.. image:: img/x-nucleo-s2868a1.jpg
15+
:width: 350px
16+
:height: 489px
17+
:align: center
18+
:alt: X-NUCLEO-S2868A1
19+
20+
More information about the board can be found at the `X-NUCLEO-S2868A1 website`_
21+
22+
Hardware
23+
********
24+
25+
X-NUCLEO-S2868A1 provides the following key features:
26+
27+
- Based on S2-LP radio
28+
- S2-LP narrow band ultra-low power sub-1 GHz transceiver tuned for 860 - 940 MHz frequency band
29+
- Programmable RF output power up to +16 dBm
30+
- Modulation schemes: 2-FSK, 2-GFSK, 4-FSK, 4-GFSK, OOK and ASK
31+
- Air data rate from 0.1 to 500 kbps
32+
- Ultra-low power consumption: 7 mA RX and 10 mA TX at +10 dBm
33+
- IEEE 802.15.4g hardware packet support with whitening, FEC, CRC and dual SYNC word detection
34+
- RX and TX 128 byte FIFO buffers
35+
- Support to wireless M-Bus
36+
- Excellent performance of receiver sensitivity (up to -130 dBm)
37+
- Automatic acknowledgment, retransmission and timeout protocol engine
38+
- Compatible with STM32 Nucleo boards
39+
- Compatible with Arduino UNO R3 connectors
40+
- Support to SMD and SMA antennas
41+
- BALF-SPI2-01D3 IPD balun for matching network and harmonics filter
42+
- Sigfox compatible
43+
- 6LoWPAN compatible
44+
- RoHS compliant
45+
46+
47+
More information about X-NUCLEO-S2868A1 can be found in the
48+
`X-NUCLEO-S2868A1 data sheet`_.
49+
50+
References
51+
**********
52+
53+
.. target-notes::
54+
55+
.. _X-NUCLEO-S2868A1 website:
56+
https://www.st.com/en/ecosystems/x-nucleo-s2868a1.html
57+
58+
.. _X-NUCLEO-S2868A1 data sheet:
59+
https://www.st.com/resource/en/data_brief/x-nucleo-s2868a1.pdf
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
/*
2+
* Copyright (c) 2021 Nikos Oikonomou <nikoikonomou92@gmail.com>
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
&arduino_spi {
8+
status = "okay";
9+
cs-gpios = <&arduino_header 1 GPIO_ACTIVE_LOW>; /* A1 */
10+
11+
s2lp@0 {
12+
status = "okay";
13+
compatible = "st,s2lp";
14+
reg = <0x0>;
15+
label = "s2lp";
16+
spi-max-frequency = <4000000>;
17+
sdn-gpios = <&arduino_header 13 GPIO_ACTIVE_LOW>; /* D7 */
18+
rx-rdy-irq-gpios = <&arduino_header 5 (GPIO_PULL_UP|GPIO_ACTIVE_LOW)>; /* A5 */
19+
};
20+
};

0 commit comments

Comments
 (0)