The Top sequencer

HI,everybody!

I am doing SX1272FSK mode function of the sequencer, encounter a problem, can’t start the sync on software interrupt, but before I have completed the sync function using preamble interrupt, will affect other devices into the test, but the preamble interrupt cannot continue in T1, T2 to continue testing, so I want to directly use the sync interruption, and and DIO pin related content has been set up, looking forward to your reply!

  • Attached is part of the code
void sx1272_Sequencer_config_4ms(uint8_t time1_ms,uint8_t time2_ms)
{
 
		SX1272SetSleep();														
		SX1272Write(REG_SEQCONFIG1, 0XA6);								
		SX1272Write(REG_SEQCONFIG2, 0X52);	
		SX1272Write(REG_TIMERRESOL, 0X0A);	
		SX1272Write(REG_TIMER1COEF, time1_ms);  
		SX1272Write(REG_TIMER2COEF, time2_ms); 
}
void config_sync(uint8_t restartRxMode,uint8_t enable,uint8_t SyncSize,uint8_t *syncval){
		uint8_t i=0,REG_SYNCVALUE[]={REG_SYNCVALUE1,REG_SYNCVALUE2,REG_SYNCVALUE3,REG_SYNCVALUE4,\
															REG_SYNCVALUE5,REG_SYNCVALUE6,REG_SYNCVALUE7,REG_SYNCVALUE8};
		
		SX1272Write(REG_SYNCCONFIG, SX1272Read(REG_SYNCCONFIG)|(restartRxMode<<7)|(1<<5)|(enable<<4)|SyncSize);
		
		while(i<=SyncSize+1){
		SX1272Write(REG_SYNCVALUE[i++],*syncval++);
		}
}