chandrawi / LoRaRF-Arduino

Arduino library for basic transmitting and receiving data using LoRa and FSK modulation
MIT License
60 stars 15 forks source link

Trouble using the DreamLNK LLCC68 #27

Open LimesKey opened 5 months ago

LimesKey commented 5 months ago

I'm using a DreamLNK LLCC68 915MHz SPI LORA module available from LCSC and I'm having trouble getting it to work with the "SX126x receiver continuous" example code. I've filled in the pin fields and yet I'm getting the Something wrong, can't begin LoRa radio issue.

Here is the only code I changed from the example,

  int8_t nssPin = 5, resetPin = 22, busyPin = 15, irqPin = 2, txenPin = 19, rxenPin = 23;

and I tried adding this in but without success,

  LoRa.setSPI(SPI, 16000000);
LLCC68 ESP32
GND GND
VCC VCC
SCK 18
MISO 19
MOSI 23
NSS 5
RESET 22
BUSY 15
ANT Antenna (to a actual antenna)
LimesKey commented 5 months ago

Apparently the default SPI interface in the SPI library on the ESP32 is HSPI and not VSPI like I thought, but even after switching all the wires it still refuses to work.