Open
Description
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
Metadata
Metadata
Assignees
Labels
No labels