beagleboneloraadapter

Public

@violeteternity

Download board files

Files for version 1. Pick what you came for.

Share beagleboneloraadapter

Check access before sharing the link.

Who can open this board

Anyone can open this board. No sign-in is required.

This link opens the latest version. Copying it does not grant additional access.

Loading 3D model… large boards can take a moment.

README

Dual LoRa module adapter for BeagleBone

This PCBA connects widely available LoRa modules based on Semtech SX127x RFIC, such as this module (archive) sold on Aliexpress for less than $3, to the Texas Instruments BeagleBone family of single board computers.

Requirements

The module must have a size of 16 by 16 mm, and have 16 castellated pads with 2 mm spacing; for details, see the Kicad footprint. The module pinout must match the following, viewed from the top:

Pin 1?                                  
ANTGND
GNDDIO5
DIO3nRESET
DIO4nCS
3V3SCK
DIO0MOSI
DIO1MISO
DIO2GND

These modules do not have a clearly marked pin 1, so the actual pinout may be rotated 180° compared to the above.

See also the bill of materials.

Usage

BeagleBone pinout

The following table lists the BeagleBone pins and their connections:

Radio#FunctionBB pinCPU pin
radio0nRESETP9_15gpio1[16]
radio0IRQP9_16gpio1[19]
radio0nCSP9_17gpio0[5]
radio0SCKP9_22gpio0[2]
radio0MOSIP9_18gpio0[4]
radio0MISOP9_21gpio0[3]
radio1nRESETP9_25gpio3[21]
radio1IRQP9_27gpio3[19]
radio1nCSP9_28gpio3[17]
radio1SCKP9_31gpio3[14]
radio1MOSIP9_30gpio3[16]
radio1MISOP9_29gpio3[15]

Radio 0 is connected to CS0 of SPI0, radio 1 is connected to CS0 of SPI1.

BeagleBone pin mux configuration

To configure BeagleBone pins, run the following commands:

sudo modprobe spidev
sudo chown $USER /dev/spidev*

config-pin P9_15 gpio_pu
config-pin P9_16 gpio_pu
config-pin P9_17 spi_cs
config-pin P9_22 spi_sclk
config-pin P9_18 spi
config-pin P9_21 spi

config-pin P9_25 gpio_pu
config-pin P9_27 gpio_pu
config-pin P9_28 spi_cs
config-pin P9_31 spi_sclk
config-pin P9_30 spi
config-pin P9_29 spi

These commands were tested on Debian 12 (bookworm).

Basic functional test

To perform a basic test of module functionality, install spi-tools and run the following commands:

echo '0: 4200' | xxd -r | spi-pipe -b 2 -d /dev/spidev0.0 | xxd
echo '0: 4200' | xxd -r | spi-pipe -b 2 -d /dev/spidev1.0 | xxd

Both commands should return the following output:

00000000: 0012                                     ..

The number 12 is the module ASIC revision.

Full functional test

Steps for performing a full test of module functionality, including radio transmission and reception, will be provided later.

Revision history

A1 : Initial revision

Terms of distribution

The adapter is covered by the CERN-OHL-P (permissive) license. See LICENSE.txt for details.

Comments

No comments yet. Be the first to ask about this board.

Ask about this board

Sign in to BoardRepo

New here? Signing in creates your account; there is no separate sign-up.