WM1302 starting problem

i set up wm1302 and raspberry following wiki instruction.
and i get this error:

Opening SPI communication interface
Note: chip version is 0x00 (v0.0)
ERROR: Failed to set SX1250_0 in STANDBY_RC mode
ERROR: failed to setup radio 0
ERROR: [main] failed to start the concentrator

someone can point what is not working properly??
This is my second wm1302 gateway,with the firstone i used the USB version and it worked properly. This time is the SPI version, i dont know if i should do something more than the recip i followed in the wiki…
spi comunications are enable, and reset pin changed to 25 and 17.then i generate the gateway in the platform and set up the conf file…

thanks in advance!!!

1 Like

I have the same issue.
Looks like the pin definitions are not correct. I even cannot get meaningful responses to test programs querying the PSI bus

Baris DINC
TA7W/OH2UDS

Fully agree. The listed pinout in this document does not match the code block here:

# GPIO mapping has to be adapted with HW
#
 
SX1302_RESET_PIN=25     # SX1302 reset
SX1302_POWER_EN_PIN=18  # SX1302 power enable
SX1261_RESET_PIN=17     # SX1261 reset (LBT / Spectral Scan)
AD5338R_RESET_PIN=13    # AD5338R reset (full-duplex CN490 reference design)

I’m trying to make sense of the pinout diagram compared to the packet forwarder config but it does not make any sense to me at all.

Anyone from seeed that can help?

1 Like

I found this post, but the changes don’t work for me.

Hope seedstudio team will look into this matter.

i have test this with the usb model and it worked fine but with this Spi model it doesnt work for me as well

I followed the wiki: LoRaWAN Gateway Module WM1302 - Seeed Wiki
And everything works as it should.

According to the R&D team, the “chip version is 0x00 (v0.0)” might be caused by the SX1302 not recognized. There are 2 possible causes:

  1. The hardware connection is not stable.
  2. “SX1302_RESET_PIN=17” was not set up correctly, leading to the SX1302 reset failure

Do you found a solution for this?

I’m having trouble setting up my LoRaWAN module (WM1302) with my BeagleBone. I’ve connected everything, but I keep getting these errors:
ERROR: sx1250 Image Calibration Error ERROR: radio calibration failed ERROR: radio calibration failed
ERROR: [main] failed to start the concentrator

full error show here,

debian@beaglebone:~/lora/sx1302_hal/packet_forwarder$ ./lora_pkt_fwd -c global_conf.json.sx1250.EU868
*** Packet Forwarder ***
Version: 2.1.0
*** SX1302 HAL library version info ***
Version: 2.1.0;


INFO: Little endian host
INFO: found configuration file global_conf.json.sx1250.EU868, parsing it
INFO: global_conf.json.sx1250.EU868 does contain a JSON object named SX130x_conf, parsing SX1302 parameters
INFO: com_type SPI, com_path /dev/spidev0.0, lorawan_public 1, clksrc 0, full_duplex 0
INFO: antenna_gain 0 dBi
INFO: Configuring legacy timestamp
INFO: Configuring Tx Gain LUT for rf_chain 0 with 16 indexes for sx1250
INFO: radio 0 enabled (type SX1250), center frequency 867500000, RSSI offset -215.399994, tx enabled 1, single input mode 0
INFO: radio 1 enabled (type SX1250), center frequency 868500000, RSSI offset -215.399994, tx enabled 0, single input mode 0
INFO: Lora multi-SF channel 0> radio 1, IF -400000 Hz, 125 kHz bw, SF 5 to 12
INFO: Lora multi-SF channel 1> radio 1, IF -200000 Hz, 125 kHz bw, SF 5 to 12
INFO: Lora multi-SF channel 2> radio 1, IF 0 Hz, 125 kHz bw, SF 5 to 12
INFO: Lora multi-SF channel 3> radio 0, IF -400000 Hz, 125 kHz bw, SF 5 to 12
INFO: Lora multi-SF channel 4> radio 0, IF -200000 Hz, 125 kHz bw, SF 5 to 12
INFO: Lora multi-SF channel 5> radio 0, IF 0 Hz, 125 kHz bw, SF 5 to 12
INFO: Lora multi-SF channel 6> radio 0, IF 200000 Hz, 125 kHz bw, SF 5 to 12
INFO: Lora multi-SF channel 7> radio 0, IF 400000 Hz, 125 kHz bw, SF 5 to 12
INFO: Lora std channel> radio 1, IF -200000 Hz, 250000 Hz bw, SF 7, Explicit header
INFO: FSK channel> radio 1, IF 300000 Hz, 125000 Hz bw, 50000 bps datarate
INFO: global_conf.json.sx1250.EU868 does contain a JSON object named gateway_conf, parsing gateway parameters
INFO: gateway MAC address is configured to AA555A0000000000
INFO: server hostname or IP address is configured to “localhost”
INFO: upstream port is configured to “1730”
INFO: downstream port is configured to “1730”
INFO: downstream keep-alive interval is configured to 10 seconds
INFO: statistics display interval is configured to 30 seconds
INFO: upstream PUSH_DATA time-out is configured to 100 ms
INFO: packets received with a valid CRC will be forwarded
INFO: packets received with a CRC error will NOT be forwarded
INFO: packets received with no CRC will NOT be forwarded
INFO: GPS serial port path is configured to “/dev/ttyS0”
INFO: Reference latitude is configured to 0.000000 deg
INFO: Reference longitude is configured to 0.000000 deg
INFO: Reference altitude is configured to 0 meters
INFO: Beaconing period is configured to 0 seconds
INFO: Beaconing signal will be emitted at 869525000 Hz
INFO: Beaconing datarate is set to SF9
INFO: Beaconing modulation bandwidth is set to 125000Hz
INFO: Beaconing TX power is set to 14dBm
INFO: Beaconing information descriptor is set to 0
INFO: global_conf.json.sx1250.EU868 does contain a JSON object named debug_conf, parsing debug parameters
INFO: got 2 debug reference payload
INFO: reference payload ID 0 is 0xCAFE1234
INFO: reference payload ID 1 is 0xCAFE2345
INFO: setting debug log file name to loragw_hal.log
WARNING: [main] impossible to open /dev/ttyS0 for GPS sync (check permissions)
CoreCell reset through GPIO11…
SX1261 reset through GPIO11…
CoreCell power enable through GPIO18…
CoreCell ADC reset through GPIO13…
Opening SPI communication interface
Note: chip version is 0xFF (v15.15)
freq_hz=867500000
0
ERROR: sx1250 Image Calibration Error
ERROR: radio calibration failed
ERROR: radio calibration failed
ERROR: [main] failed to start the concentrator