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.

CCS/LAUNCHXL-CC1350: using RF and UART Example together

Expert 1790 points

Replies: 8

Views: 4750

Part Number: LAUNCHXL-CC1350

Tool/software: Code Composer Studio

hi,

i am working with LAUNCHPAD-CC1350 and i am new in it.

i have launched the primiray examples and now i wrote my own project.

I've combined two examples(rfPacketRx and uartecho with the help of adcbufcontinuous) for getting packets and give theme to pc terminal through UART.

my program just work one time and after that it stop and doesn't work any more.

could anybody help me?

the Sending Launchpad is Working fine and this is my Receiver Side program.

Reciever.c

did anyone know a complete example or project?

8 Replies

  • Genius 9705 points

    Hello,

    Please refer to the following post for example implementation of RF and UART functions:

    Assuming that you have checked for good RF link between the devices when UART is not included, do you see any error on status message after RX command execution when the device stops receiving packets? If the packet interval is short, please consider creating a new task for UART and calling it using semaphore instead of executing UART write in callback function. 

    Regards,

    SVS

  • In reply to SVS:

    I have an example that you can try. Below is a short description

    1. One single project that does both Tx,Rx.

    2. Receives uart data from the terminal. Once you press enter, it will transmit the uart data.

    3. The other end receives the data and prints it on the uart.

    Once you build and run, open two terminals with local echo ON at baud rate 115200. Type something and press enter. The other terminal receives the data and prints it along with the string  “rx data: “

    RF is at 500 kbps. Please feel free to modify as required.

    4034.uartRxTx_CC1350_LAUNCHXL_TI.zip

  • In reply to PrashanthS:

    thank you guys for your fantastic helps!!!

    that was really helpful.

    my problem is i am not familiar with TI_RTOS setup and i don't know how to modify it or adding functions.

    how can i solve my problem and read about RTOS and its setup?

    is there any docs or helpfull link?

  • In reply to msadegh agha:

    You can find all information about TI-RTOS including links to traning videos here http://processors.wiki.ti.com/index.php/TI-RTOS

    Regards,

    Prashanth

  • In reply to PrashanthS:

    Hello PrashanthS

    I tried to run that code it gives no error but its not working.
    I look at the ROV and i see the tasks mode is ready.So what would the problem be ?

    I need a project just like this for cc1310 if you have any source code for it would be great .
    I create the project that use like that I have opened a rfpacket cc310 project and replace the rfpacked.c with this codes c file.My project doesnt give any error.

    Regards,
    Emre OZDEMIR
  • In reply to EMRE:

    Hello EMRE / PrashantS,

    I have also tried  same for  cc1310 launchpad, it does not give error but it doesn't reach to BIOS_start() when I put breakpoint there. 

    What cane be the reason?

  • In reply to Omkar Inamdar:

    Hello Omkar, 

    Can you try starting with the rfPacketRx example from the resource explorer for CC1310 (or CC1350). This should build and run fine on your set up. Once that is done, overwrite the source files that are in this thread. Please let us know how that goes. 

    Regards,

    Prashanth

  • In reply to PrashanthS:

    Hello Prashanth,
    After posting my query, I checked one of the answer of TI employee from this forum which says to check 'scan for errors' in ROV. There I saw error as ' number of priorities is less ..." , so in cfg file I changed num of task priorites from default 4 to 5 and now it is working fine. I have followed the same what you have mentioned above.
    Thank you !

    Regards,

    Omkar

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.