Skip to content

Radio pin interrupt sometime not registered #91

Closed
@RobTWTG

Description

@RobTWTG

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions