LoRa icon indicating copy to clipboard operation
LoRa copied to clipboard

observing an issue with reading the data

Open jchari opened this issue 3 years ago • 0 comments

Hi,

I am trying to bring up sx1278 with the file-ops branch and observing an issue with data reception. we are not able to read data from the device. I am observing data on MOSI. Please find the below capture. could you please help me to resolve the issue?

logs: [ 729.421470] sx1278: init SX1278 compatible kernel module [ 729.421476] lora: register sx1278 [ 729.421485] lora: sx1278 driver(major 240) installed [ 729.421523] lora: sx1278 class created [ 729.421740] lora: probe a LoRa SPI device [ 729.421790] sx1278 spi0.0: init sx127X [ 729.424079] sx1278 spi0.0: chip version 1.2 [ 729.425304] sx1278 spi0.0: the original OP mode is 0xF [ 729.426516] sx1278 spi0.0: before setting state to sleepmode to 0x8 [ 729.429436] sx1278 spi0.0: after setting state to sleepmode to 0xF [ 729.430653] sx1278 spi0.0: op mode before change: 8f [ 729.433075] sx1278 spi0.0: after write current OP mode is 0xF [ 729.434288] sx1278 spi0.0: before setting state to sleepmode to 0x9 [ 729.436708] sx1278 spi0.0: after setting state to sleepmode to 0xF [ 729.437931] sx1278 spi0.0:the current OP mode is 0xF [ 729.440351] sx1278 spi0.0: going to set RX base address [ 729.446376] sx1278 spi0.0: before setting state to sleepmode to 0xD [ 729.448802] sx1278 spi0.0: after setting state to sleepmode to 0xF [ 729.448807] lora: probe a LoRa SPI device with chip ver. 1.2

test.txt

image

jchari avatar Dec 10 '21 14:12 jchari