Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

observing an issue with reading the data #21

Open
jchari opened this issue Dec 10, 2021 · 0 comments
Open

observing an issue with reading the data #21

jchari opened this issue Dec 10, 2021 · 0 comments

Comments

@jchari
Copy link

jchari commented Dec 10, 2021

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 jchari changed the title observing issue with changing the state and mode of the device observing an issue with reading the data Dec 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant