Comments (2)
LMIC-node uses the LMIC library for LoRaWAN support.
As far as I'm aware LMIC can only use the default SPI port (the instance named SPI).
In order to make LMIC use the second SPI port the pins for the default SPI instance will have to be redefined.
How this can be done is hardware and (in this case MBED) Arduino core dependent.
The ESP32 Arduino core allows SPI pins to be (re)defined via parameters in SPI.begin()
.
Other cores support methods like SPI.setMOSI()
, SPI.setMISO()
etc.
The standard Arduino core for the Pico does not provide any of these.
The IO pin mapping on the Pico appears to be very flexible so there should be some way to redefine the IO pins used for the standard SPI instance but I don't know how. I haven't looked into this.
For an example of how to use different pins for SPI with LMIC-node see BSF bsf_disco_l072cz_lrwan1.h
.
This uses methods that are not supported by the standard Arduino core for the Pico but it at least gives an example where in LMIC-node code the SPI pins will have to be (re)mapped.
You could ask iLabs for how to remap the pins for the standard SPI instance when using the Arduino framework.
from lmic-node.
Thank you for your reply. Very helpful. I'll do more digging.
from lmic-node.
Related Issues (20)
- Sub-band selection HOT 1
- TTGO T-Beam V1.1 - analogRead - Uplink not scheduled because TxRx pending HOT 8
- Definition: _LMIC_CONFIG_PRECONDITIONS_H_ HOT 3
- Event: Uplink not scheduled because TxRx pending issue HOT 4
- Failing build: multiple definition of `hal_init' HOT 3
- Sparkfun ESP32 WROOM with RFM95W support HOT 1
- USE_DISPLAY Not working TTGO-Lora32 V1.3 HOT 4
- Spreading Factor can't be set HOT 1
- Bootloop with TTGO LoRa32 V2.1.6 board with platform-espressif32 v4.30 and higher HOT 27
- Add support for heltec LoraWAN Wifi OLED board version 3 HOT 3
- rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) - infinite loop bug HOT 3
- Support for STM32l0xx HOT 1
- Support for Dragino Arduino Uno + Dragino LoRa-shield (BSF?) HOT 1
- Error ESP32s + Lilygo T-Highrow lora shield 20191223 HOT 2
- Lilygo TTGO v2.1 Bootloop issue caused by wrong Reset pin
- What does LMIC stand for? Add it to the README HOT 2
- Doesn't build with target platform set to 'nodemcu2' HOT 2
- axp2101 please
- Wrong Pi Pico pinout
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lmic-node.