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

Wait on busy- timeout error #4

Open
DobskyIvan opened this issue Mar 10, 2025 · 0 comments · May be fixed by #5
Open

Wait on busy- timeout error #4

DobskyIvan opened this issue Mar 10, 2025 · 0 comments · May be fixed by #5

Comments

@DobskyIvan
Copy link

Subject of the issue

It is not possible to use any lr11xx commands that use lr11xx_hal_write(xx, xx, xx, 0, 0) "under the hood".
After sending such a command, the mcu holds the spi cs- pin endlessly, and as a result the lr11xx busy- pin is always high.
Any subsequent command will cause a timeout error from lr11xx_hal_wait_on_busy().

My environment

Hardware- lilygo t3s3 (esp32s3+lr1121);
Software- zephyr v3.7.0.

Steps to reproduce

For example...
send
lr11xx_system_clear_errors(xx);
then
lr11xx_system_get_version(xx, xx);

Expected behaviour

Getting Version

Actual behaviour

Zephyr falls with:

E: Timeout of 600000ms hit when waiting for lr11xx busy!
E:  **  A0 0x82004920  SP 0x3fc91c40  A2 0x3  A3 0x45
E:  **  A4 0x927c0  A5 0x3fc8e8a8  A6 0x3fc8e7a8  A7 0x1
E:  **  A8 0x803787d0  A9 0x3fc91bc0 A10 0x3c021ab4 A11 0x3fc91c30
E:  ** A12 0x3fc91c10 A13 0x4 A14 0x10 A15 0x4
E:  ** LBEG 0x400570e8 LEND 0x400570f3 LCOUNT 0
E:  ** SAR 0x4
E:  **  THREADPTR 0x606432e
E: >>> ZEPHYR FATAL ERROR 3: Kernel oops on CPU 0
E: Current thread: 0x3fc93230 (unknown)
E: Halting system
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

Successfully merging a pull request may close this issue.

1 participant