Author Topic: Problem with SyncAddress Interrupt  (Read 1149 times)

huuchinh02

  • NewMember
  • *
  • Posts: 4
Problem with SyncAddress Interrupt
« on: March 15, 2016, 06:43:42 AM »
I am working this module. I am getting a hard problem and I haven't yet good results for 2 weeks.

My problems is the module sometime get Syncaddress interrupt without CrcOk interrupt (~10% drop) and I don't want to get it. This is my interrupt function code

void RMF69_ISR()
{
  stt1=Read(IRQ_FLAG1);
  stt2=Read(IRQ_FLAG2);

  if(stt2 & CRC_OK)
 {
    Read_fifo();
    Write(IRQ_FLAG2,FifoOverRun); // Clear FIFO and Flags
    Write(DIO_MAPPING1,DIO0_10); // Change interrupt to Syncaddress in Rx Mode
 }
 else if (stt1 & SYNC_ADD)
{
    Write(DIO_MAPPING1,DIO0_00); // Change interrupt to CrcOk in Rx Mode
 }
}
I enabled AutoRxRestart, Carrier Fre = 868, FDev=50khz, bitrates = 100kps, FSK_TYPE
Power: PA0 = 0, PA1=1, PA2=1, power = 28
LNA: 50Ohm, AFC enbale (Gain select auto) 

Thank you to read!

TomWS

  • Hero Member
  • *****
  • Posts: 1930
Re: Problem with SyncAddress Interrupt
« Reply #1 on: March 15, 2016, 06:28:57 PM »
I've moved this to its own thread and added this comment just to pop this back to the top of the list.

Tom

huuchinh02

  • NewMember
  • *
  • Posts: 4
Re: Problem with SyncAddress Interrupt
« Reply #2 on: March 15, 2016, 09:20:43 PM »
Hi Tom,

Thanks you very much.  ;D