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

Freeze #350

Open
gc9n opened this issue Apr 25, 2024 · 1 comment
Open

Freeze #350

gc9n opened this issue Apr 25, 2024 · 1 comment

Comments

@gc9n
Copy link

gc9n commented Apr 25, 2024

with LR1121 i have a loop that i change the modem mode SFK to LORA and back to SFK etc etc
every time i swap i execute those commands

context = apps_common_lr11xx_get_context( );
HAL_DBG_TRACE_WARNING( "1\n" );
apps_common_lr11xx_system_init( ( void* ) context );
HAL_DBG_TRACE_WARNING( "2\n" );
apps_common_lr11xx_fetch_and_print_version( ( void* ) context );
HAL_DBG_TRACE_WARNING( "3\n" );
apps_common_lr11xx_radio_init( ( void* ) context );
HAL_DBG_TRACE_WARNING( "4\n" );
ASSERT_LR11XX_RC( lr11xx_system_set_dio_irq_params( context, IRQ_MASK, 0 ) );
HAL_DBG_TRACE_WARNING( "5\n" );
ASSERT_LR11XX_RC( lr11xx_system_clear_irq_status( context, LR11XX_SYSTEM_IRQ_ALL_MASK ) );
HAL_DBG_TRACE_WARNING( "6\n" );
apps_common_lr11xx_handle_pre_rx( );
ASSERT_LR11XX_RC( lr11xx_radio_set_rx_with_timeout_in_rtc_step( context, RX_CONTINUOUS ) );
HAL_DBG_TRACE_WARNING( "exit_LORA_CHIP\n" );

Without a notice and randomly when enters here apps_common_lr11xx_system_init( ( void* ) context );

it freeze....

@gc9n
Copy link
Author

gc9n commented Apr 25, 2024

the exact position is on
apps_common.c
ASSERT_LR11XX_RC( lr11xx_system_set_reg_mode( ( void* ) context, regulator ) );

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