[riot-notifications] [RIOT-OS/RIOT] SX127x Join procedure failed (The Things Network) (#16419)

Jacco Veldscholten notifications at github.com
Fri May 14 12:13:48 CEST 2021


> Did you check the `DIOx` connections ? Also, are the pins for `sx1276` configured correctly in board.h ?
> 
> ```
> #define SX127X_PARAM_RESET                  GPIO_PIN(PORT_x, PIN_NO)
> #define SX127X_PARAM_DIO0                   GPIO_PIN(PORT_x, PIN_NO)
> #define SX127X_PARAM_DIO1                   GPIO_PIN(PORT_x, PIN_NO)
> #define SX127X_PARAM_DIO2                   GPIO_PIN(PORT_x, PIN_NO)
> #define SX127X_PARAM_DIO3                   GPIO_PIN(PORT_x, PIN_NO)
> ```

Yes this should be good. 
I followed the folling instructions from: https://github.com/RIOT-OS/RIOT/blob/master/drivers/sx127x/include/sx127x_params.h
#define SX127X_PARAM_SPI_NSS                GPIO_PIN(1, 6)       /* D10 */
#define SX127X_PARAM_RESET                  GPIO_PIN(0, 0)       /* A0 */
#define SX127X_PARAM_DIO0                   GPIO_PIN(0, 10)      /* D2 */
#define SX127X_PARAM_DIO1                   GPIO_PIN(1, 3)       /* D3 */
#define SX127X_PARAM_DIO2                   GPIO_PIN(1, 5)       /* D4 */

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/issues/16419#issuecomment-841151478
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210514/5e663358/attachment.htm>


More information about the notifications mailing list