Arduino Due + RFM95W + Non AVR LMIC examples hangs after os_init

(R Sdavid) #1

Trying to get the RFM95W to work with the Due. I’ve had success with uno boards and have changed the library for Non AVR boards and changed the pinouts for MISO MOSI SCK and NSS according to this website The sketch hangs at os_init. Has anyone got a solution to this?

(Wolfgang Klenk) #2

I have no experience with Arduino Due, but most probably your sketch hangs due to communication issues over SPI. For MISO, MOSI, SCK and Reset the given website recommends to use the pin headers between the CPU and the button, right?

Which pin did you use to connect NSS? Pin 10 ?

How does the lmic_pinmap in your sketch look like? Is pin 10 assigned for NSS?

const lmic_pinmap lmic_pins = {
    .nss = 10,

(R Sdavid) #3

Hi, Thanks, using the ICSP worked I had been using Pins 50, 51, 52 for MISO, MOSI, and SCK thinking they would work the same. Obiviously not!