Issue: I’m only getting CRC_ERRORS on my RAK7258. I’m using MSP430FR5972 as a node with a lora Module RA-02 AI THINKER. The code that i’m using is https://github.com/EccoB/MSP430_LoRaWAN, but I’m only receiving CRC_ERRORS. I already checked everything, but didn’t work. I’m also seeing [truncated] instead of CRC_OK in the system log…
Ideally you need a known good working node to check your gateway, is there anything you borrow? If your gateway then picks up the that node, you can concentrate on your node, if it doesn’t, then you know to work on the gateway.
The RSSI of -116 would imply that your MSP430 + RA-02 radio is either a fair distance away or in a metal box or has no antenna - so it may be that your node isn’t transmitting successfully but you are picking up another nodes signal that is some distance away.
Is there any debug output from your node to confirm the LoRa module is happy? Is it set for OTAA or ABP? Can you change the spreading factor to improve the signal?
The GitHub code you reference is for a SX1276 (868MHz) but you will be using a SX1278 - you may need to look at the spec sheets for both to see what changes may be required.
I got two LoRa nodes made from ATMEGA328P (it’s an arduino). They can communicate with each other, but the gateway doesnt see anything, all I got is CRC_errors… The distance Node-Gateway is almost 5 meters, and I’m using antenna…
The arduino code that i’m testing is this https://github.com/sandeepmistry/arduino-LoRa/blob/master/examples/LoRaSender/LoRaSender.ino (but I changed the frequency to 433Hz)
I’m kind lost right now, i’ve been trying to make this work for about 4 weeks, but nothing works
The Sandeep library is only for node to node communication - nothing in it sets up anything that would make sense to a LoRaWAN gateway - so it may be that’s what your gateway is hearing.
Coding an entry level Arduino to use a LoRa radio to do LoRaWAN can be tricky - the latest LMIC library is too big for a 328P but I find v2.2.2 works well enough for simple applications - so you may want to implement that on a node as your first port of call.
To eliminate all doubt, you may want to try a WisNode or a RAK811 breakout - this moves all the LoRaWAN client code to the module, you just send it some simple AT commands to configure and send with a clear indication of results.
Ohh… I got it.
But anyways, is there any type of special configuration I need to do on the gateway? It’s everything from factory right now. I need to create an apliccation and a device to make it work?
Sorry for these dumb questions, I just want to make sure everything is ok with the gateway.
I’ve not used this gateway (yet) but mostly the only thing to check is you are using the appropriate TTN gateway for where ever you are. Where are you?
If TTN is reporting the gateway as active, that’s a good sign. Is your gateway showing green?
Then you need to setup your application & device and use those settings on the node. Once you’ve done a few, it starts to make sense.
LoRaWAN is a standard - if both ends are compliant and there is no reason they shouldn’t be, then they should work.
However company policy here is that we can only help those operating legally - can you tell me which country you are in so we can check if you are using the correct frequency band.