69 lines
2.0 KiB
ReStructuredText
69 lines
2.0 KiB
ReStructuredText
.. _semtech_sx1272mb2das:
|
|
|
|
Semtech SX1272MB2DAS LoRa Shield
|
|
################################
|
|
|
|
Overview
|
|
********
|
|
|
|
The Semtech SX1272MB2DAS LoRa shield is an Arduino
|
|
compatible shield based on the SX1272 LoRa transceiver
|
|
from Semtech.
|
|
|
|
More information about the shield can be found
|
|
at the `mbed SX1272MB2xAS website`_.
|
|
|
|
Pins Assignment of the Semtech SX1272MB2DAS LoRa Shield
|
|
=======================================================
|
|
|
|
+-----------------------+-----------------+
|
|
| Shield Connector Pin | Function |
|
|
+=======================+=================+
|
|
| A0 | SX1272 RESET |
|
|
+-----------------------+-----------------+
|
|
| D2 | SX1272 DIO0 |
|
|
+-----------------------+-----------------+
|
|
| D3 | SX1272 DIO1 |
|
|
+-----------------------+-----------------+
|
|
| D4 | SX1272 DIO2 |
|
|
+-----------------------+-----------------+
|
|
| D5 | SX1272 DIO3 |
|
|
+-----------------------+-----------------+
|
|
| D10 | SX1272 SPI NSS |
|
|
+-----------------------+-----------------+
|
|
| D11 | SX1272 SPI MOSI |
|
|
+-----------------------+-----------------+
|
|
| D12 | SX1272 SPI MISO |
|
|
+-----------------------+-----------------+
|
|
| D13 | SX1272 SPI SCK |
|
|
+-----------------------+-----------------+
|
|
|
|
The SX1272 signals DIO4 and DIO5 are not available at the shield connector.
|
|
|
|
Requirements
|
|
************
|
|
|
|
This shield can only be used with a board which provides a configuration
|
|
for Arduino connectors and defines node aliases for SPI and GPIO interfaces
|
|
(see :ref:`shields` for more details).
|
|
|
|
Programming
|
|
***********
|
|
|
|
Set ``-DSHIELD=semtech_sx1272mb2das`` when you invoke ``west build``. For
|
|
example:
|
|
|
|
.. zephyr-app-commands::
|
|
:zephyr-app: samples/lorawan/class_a
|
|
:board: nucleo_f429zi
|
|
:shield: semtech_sx1272mb2das
|
|
:goals: build
|
|
|
|
References
|
|
**********
|
|
|
|
.. target-notes::
|
|
|
|
.. _mbed SX1272MB2xAS website:
|
|
https://os.mbed.com/components/SX1272MB2xAS/
|