You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2020/08/16 18:27:43 UTC
[GitHub] [mynewt-core] danielkucera opened a new issue #2354: LoRa with RFM95
danielkucera opened a new issue #2354:
URL: https://github.com/apache/mynewt-core/issues/2354
Hello,
I'm unable to join with RFM95 radio module. I defined my own BSP, tried both sx1276 and sx1272 drivers but without luck. The result is always the following:
```
400851 Attempting to join...
compat> Join cb. status=7 attempts=1
```
The same hardware works with mbed framework.
The signal seems to be very week in comparison with mbed, See attached gqrx screenshots:
mynewt sx1272:

mynewt sx1276:

mbed:

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [mynewt-core] danielkucera commented on issue #2354: LoRa with RFM95
Posted by GitBox <gi...@apache.org>.
danielkucera commented on issue #2354:
URL: https://github.com/apache/mynewt-core/issues/2354#issuecomment-775518981
Ok, the last missing value to correctly connect to TTN was:
```
LORA_NODE_PUBLIC_NWK: 1
```
so the final config is:
```
SPI_0_MASTER: 1
SPI_0_MASTER_PIN_SCK: 30
SPI_0_MASTER_PIN_MOSI: 2
SPI_0_MASTER_PIN_MISO: 3
# repos/apache-mynewt-core/net/lora/node/include/node/lora_band.h
LORA_NODE: 1
LORA_NODE_REGION: 6
LORA_MAC_TIMER_NUM: 0
LORA_NODE_PUBLIC_NWK: 1
# lora pins
#SX1276
SX1276_SPI_IDX: 0
SX1276_SPI_CS_PIN: 29 # NSS?
SX1276_HF_USE_PA_BOOST: 1
```
and pins in `bsp.h`:
```
#define SX1276_DIO0 (31)
#define SX1276_DIO1 (4)
#define SX1276_DIO2 (5)
#define SX1276_DIO3 (26)
#define SX1276_DIO4 (28)
#define SX1276_DIO5 (25)
#define SX1276_NRESET (27)
```
But I have to say that the documentation is very poor. :-1:
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [mynewt-core] danielkucera commented on issue #2354: LoRa with RFM95
Posted by GitBox <gi...@apache.org>.
danielkucera commented on issue #2354:
URL: https://github.com/apache/mynewt-core/issues/2354#issuecomment-775482914
I managed to fix the signal strength issue with:
```
SX1276_HF_USE_PA_BOOST: 1
```

But it is still not registering using `las_join 1`. I don't see any RX packets in my gateway. I'll keep investigating.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org