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.

  • Resolved

CC1310: My transmitter not send data in normal, its work well in debug mode.

Expert 1350 points

Replies: 19

Views: 193

Part Number: CC1310

Hello,

I am using cc1310.

I am send some ack data after receiving some data. But it can not send after some time.

When i am send data with debug mode then its work well.

can anybody help me to solve the problem? 

Thanks,

Dinkar

  • Hi Dinkar,

    Are you having this problem on a Launchpad or on a custom board?

    Thanks,
    Alexis
  • In reply to Alexis Crandall20:

    Hi Alexis,

    This problem on my custom board. what is the reason for that?

    Dinkar

  • Guru 227890 points

    In reply to dinkar patel:

    Debug mode vs normal mode: When in debug mode, the device is prevented from going to standby. Since the board works in debug mode and not without a debugger connected it could be caused by issues with standby. Do you use an external 32 kHz xtal and is this running as intended?

     

  • In reply to TER:

    I use same code with launchpad and its working smoothly. But when that code used with my custom board its not working after some time.
    how can i check 32kHz xtal?
  • Guru 227890 points

    In reply to dinkar patel:

    The easiest way to check if the 32 kHz is an issue is to change to use the internal 32 kHz RC osc (see the CCFG.c file)

     

  • In reply to TER:

    I checked 32khz crystal by set following statement in ccfg.c
    #define SET_CCFG_MODE_CONF_SCLK_LF_OPTION 0x3 // LF RCOSC
    but it send data some time.
  • In reply to TER:

    I send more then 400 bytes of data then it send some time and some time not send.
    And if i send reduced data 10-20 bytes then it send every time.
    I use RF_cmdPropTxAdv for both data transmission.
  • Guru 227890 points

    In reply to dinkar patel:

    Could you show some of your code to get a better overview of what you are doing in the code?

     

  • In reply to TER:

    As per your reply. I find problem that my device goto standby mode.

    I am using tirtos. I use Task_sleep function in any task for delay. Task_sleep standby controller so change logic to semaphore based. 

    Now my problem is solved. Device work smoothly.

    If i want to prevent from standby of microcontroller then which delay function is use?

    Dinkar

  • Guru 227890 points

    In reply to dinkar patel:

    Why do you need a delay? The functionality to TI-RTOS is to go to standby if nothing has to be done which is typically the case using sleep(). Could you elaborate a bit more on the need for delay to get an understanding what has to be suggested instead.

     

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.