Skip to content

SX1262 crashes during RadioIrqProcess #1238

Answered by mluis1
ghalencar asked this question in Q&A
Discussion options

You must be logged in to vote

Could you check that all RadioEvents_t callbacks are properly initialized?

Do you observe hard fault interrupts?
If yes, most of the time it means that some callback are not properly initialized. However this should not happen as all callbacks execution are protected.

Examples:
IRQ_CRC_ERROR

if( ( RadioEvents != NULL ) && ( RadioEvents->RxError ) )
{
RadioEvents->RxError( );
}

IRQ_PREAMBLE_DETECTED no code is executed when this happens

if( ( irqRegs & IRQ_PREAMBLE_DETECTED ) == IRQ_PREAMBLE_DETECTED )
{

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by ghalencar
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants