chandrawi / LoRaRF-Arduino

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

Trouble using the DreamLNK LLCC68 #27

Open LimesKey opened 1 month ago

LimesKey commented 1 month 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 1 month 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.