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

clear irq status error #2

Open
porya-zarei opened this issue Sep 5, 2024 · 4 comments
Open

clear irq status error #2

porya-zarei opened this issue Sep 5, 2024 · 4 comments

Comments

@porya-zarei
Copy link

hello 👋,
I need help about sx1280 chip,
I have two lora32 sx1280 with pa and one gnicerf sx1280 module
two lora32 modules works fine with radiolib library
but gnicerf with sx1280 library that provided in lora-net repository not works in raspberry pi,
when I check irq status of chip after of going to the rx mode I get rx done and ... irqs but dio not change and there is no transmitter... and rx buffer len is zero.
image
image

@gaupen1186
Copy link

You can check sx128x_hal.c and your problem is most likely caused by sx128x_hal_read() and sx128x_hal_write() .
I used the repo without any problems and it worked perfectly.

@gaupen1186
Copy link

You can refer to my code. There are some Chinese notes, but I think it won't be a problem.
Good luck.
sx128x_hal.zip
Also, a logic analyzer mybe helpful. This is what I'm using.
https://www.dreamsourcelab.com/product/dslogic-series/

@porya-zarei
Copy link
Author

You can refer to my code. There are some Chinese notes, but I think it won't be a problem. Good luck. sx128x_hal.zip Also, a logic analyzer mybe helpful. This is what I'm using. https://www.dreamsourcelab.com/product/dslogic-series/

Thank you, but if my HAL functions are wrong, why do they work fine in other cases?
my repo with sx128x_hal.c : sx128x-driver

@gaupen1186
Copy link

Sorry, I'm not familiar with linux.

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

2 participants