Semtech, in its commitment to enhance user experience and streamline content, has successfully integrated the LoRa Developer Portal content into Semtech.com. As a result of this consolidation effort, the LoRa® Developer Portal will be discontinued on May 1st. After this date, you will be automatically redirected to Semtech.com.
For any technical support related to LoRa, please feel free to reach out to our experts here. If you have sales inquiries, please contact us here.
Knowledge Base
HOME » KNOWLEDGE BASE » FORUM

SX1231 (RFM69HCW)

Newbie here, needing help with the SX1231 basics. (aka RFM69HCW) I can't seem to get anything out the antenna, although I can read and write the registers. I'm using RasPi3 and RFM69 driven by LM3940 5V TO 3V regulator. What am I missing?

#intended for testing transmitter with spectrum analyzer
import spidev
import time
SPI_BUS = 0
SPI_SS = 0
SPI_CLOCK = 2000000 #Mhz
spi = spidev.SpiDev(SPI_BUS, SPI_SS)
spi.max_speed_hz = SPI_CLOCK
i = 1
rx = spi.xfer([0x81,0x0c]) #set TX mode
while True:
rx = spi.xfer([0x80,0x55]) #address and data
time.sleep(1)
print(i)
i = i+1
spi.close()