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

Radio pin interrupt sometime not registered #91

Open
RobTWTG opened this issue Sep 18, 2024 · 0 comments
Open

Radio pin interrupt sometime not registered #91

RobTWTG opened this issue Sep 18, 2024 · 0 comments

Comments

@RobTWTG
Copy link

RobTWTG commented Sep 18, 2024

When further investigating this old issue: #77
I observed that sometimes a RX_DONE task is not finished properly, and the lbm will still panic like this:

[ERR ][LHAL]: function: rp_callback, line: 443 [ERR ][LHAL]: RP_FAILSAFE - #2

I noticed that in the rp_callback function the 1st thing that gets done is smtc_modem_hal_disable_modem_irq( ); disabling the timer and pin interrupts.

With overlapping tasks (like managing ping slots for class B) It looks like there is a chance that radio pin interrupts can be missed. Because rp_callback is called periodically.

I ran a simple test removing all functionality from smtc_modem_hal_disable_modem_irq so not disabling the interrupts anymore, and the panics disappeared.

Hopefully this can get looked into.

Many thanks,
Best regards

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