sandeepmistry / arduino-LoRa

An Arduino library for sending and receiving data using LoRa radios.
MIT License
1.62k stars 621 forks source link

Starting LoRa failed! Version = FF #91

Closed royheuer closed 6 years ago

royheuer commented 6 years ago

Good day

I am using a LoRa32U4 device from BSFrance and I get a Starting LoRa failed! response. I have looked through the various issues and have attempted to get the version using:

uint8_t version = readRegister(REG_VERSION); if (version != 0x12) { return Serial.println(version, HEX); }

The response is FF.

The pin settings are as follows:

//LoRa32u4 ports

define SS 8

define RST 4

define DI0 7

define BAND 433E6

royheuer commented 6 years ago

The different versions of the board has different SS pin. My version has SS pin as 1

aahondema commented 6 years ago

I use the same board: these are my PIN-settings lmic_pinmap pins = { .nss = 10, // Connected to pin D10 .rxtx = 0, // For placeholder only, Do not connected on RFM92/RFM95 .rst = 9, // Needed on RFM92/RFM95? (probably not) .dio = {2, 6, 7}, // Specify pin numbers for DIO0, 1, 2 connected to D4, D5, D7 };