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.

USART stops after sometime with SmartRF04EB and CC2430EM?

Other Parts Discussed in Thread: SIMPLICITI

I am using for SmartRF04EB with CC2430EM for my wireless sensor network. USART is used to transmit data back to PC.

The sensor network is used to monitor the envirnoment such as tenpuature etc...    Therefore the network has to be opened for a long period of time. 

After a few experiments, for some reason USART stops whereas the transmition between sensor node and coordinator still continue.

What might be the problem with this??  Thanks very much

 

  • Hi ArLin,

    In order to help diagnose your problem, please provide a little more information:

    Are you using one of TI's protocol software products, such as ZStack or SimpliciTI?

    If so, what verison are you using, such as ZStack-1.4.3 or SimpliciTI-1.0.6?

    What serial I/O characteristics are you using, such as baud rate, message size, message rate, etc?

    How long does the experiment run as expected before having the problem? How many messages are sent back to PC before it stops? Is the behavior repeatable, such as stopping after the same number of message each time, totally unpredictable, etc?

  • Hi,

       Tnanks for reply.

        i am using TI-MAC 1.2.1 

        the configuration of serial communication is

       halUARTCfg_t uartConfig;
     
      /* UART Configuration */
     
      uartConfig.configured           = TRUE;
     
      uartConfig.baudRate             = HAL_UART_BR_38400;
     
      uartConfig.flowControl          = FALSE;
     
      uartConfig.flowControlThreshold = 5;
     
      uartConfig.rx.maxBufSize        = 120;
     
      uartConfig.tx.maxBufSize        = 120;
     
      uartConfig.idleTimeout          = 5;
     
      uartConfig.intEnable            = TRUE;
     
      uartConfig.callBackFunc         = MT_UartProcessRxData;
     
      HalUARTOpen (0, &uartConfig); //0 for port 0 and 1 for port 1

     

    I tried 4 times in total. First time, it stopped around 6 hours after. Second time. it stopped about 2 hours after.  third time, it stopped around 4 hours after.

    Last time, it only last for 1 and half a hour.  I am sending the message 1 once every 2 second. I think the stopping behavior is not predictable.