This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Antenna causes hang in SimpliciTI stack

Other Parts Discussed in Thread: SIMPLICITI

Hello folks,

I'm currently using Linx Technologies' ANT-433-CW-RH-SMA (http://www.mouser.com/ds/2/238/ANT-433-CW-RH_Data_Sheet-16937.pdf) in my RF circuit and while the range is not great, it is fairly reliable. I am thinking of switching to an antenna with a better gain, such as the GC-0710 (http://www.giga-concept.fr/media/uploads/products/documents/2011/12/GC-0710.pdf). Unfortunately, I'm hitting a hang in the SimpliciTI stack:

uint8_t MRFI_Transmit(mrfiPacket_t * pPacket, uint8_t txType)
{
...
      /* PA_PD signal goes from HIGH to LOW when going from RX to TX state.
       * This transition is trapped as a falling edge interrupt flag
       * to indicate that CCA passed and the transmit has started.
       */
      if (MRFI_PAPD_INT_FLAG_IS_SET())
      {
        /* ------------------------------------------------------------------
        *    Clear Channel Assessment passed.
        *   ----------------------------------
        */

        /* Clear the PA_PD int flag */
        MRFI_CLEAR_PAPD_PIN_INT_FLAG();

        /* PA_PD signal stays LOW while in TX state and goes back to HIGH when
         * the radio transitions to RX state.
         */
        /* wait for transmit to complete */
        while (!MRFI_PAPD_PIN_IS_HIGH());

        /* transmit done, break */
        break;
      }

Based on the comments, it hangs because the radio cannot transition back to RX. I do see an OPERR in the RF error register but I see it for when I use the antenna that works as well, so I'm not sure if the OPERR is benign or not. If this isn't a fair assumption, how do I identify the cause of the OPERR?

Another note, when switching to the other antenna, since my board connector was an RP SMA, I had to get a 50 ohm adapter. The antenna that works was an RP SMA and didn't need an adapter. However, I don't believe that would make a difference...

  • I just double checked the facts and it seems like the RF error register is 0. Also, I noticed that RF1AIN & 0x1 is normally 1 until I hit this hang. I am trying to identify what bit of code is setting the LSB of RF1AIN to 0 but somehow the write watchpoints do not seem to work for me. The RF1AIN register changes all the time but the write watchpoint is never fired. The read watchpoint works fine though :|
  • Well, I'm not sure how much education is there in this answer but here's what I've seen and hopefully this will help someone down the line.

    1. 2 dBi antenna + RF adapter + TX Power @ >7 dBm: Hangs
    2. 2 dBi antenna + RF adapter + TX Power @ <5 dBm: No hang
    3. -5.6 dBi antenna + no RF adapter + TX Power @ >7 dBm: No hang

    I'm guessing that the reflected signal when the TX power was high was causing some problems for the CC430. But I hope to hear some real explanations from the experts here.