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.

LAUNCHXL-CC26X2R1: uart2echo not working

Part Number: LAUNCHXL-CC26X2R1

Hello fellow passionate people, 

I recently started using TI products and I am trying to connect the CC26XR1 to TM4C1294XL. I started by running the example on the CC26XR1 and it didn't seem to work.

Debugging indicated that it can't find cpu.h then driverlib.c  for which I provided the paths, respectively :

  • C:\ti\simplelink_cc13xx_cc26xx_sdk_7_10_01_24\source\ti\devices\cc13x2_cc26x2\driverlib
  • C:\ti\simplelink_cc13xx_cc26xx_sdk_7_10_01_24\source\ti\devices\cc13x2_cc26x2\rom

I got back to debugging and the step by step execution shows that it's going back and forth between cpu.h, driverlib.c, PowerCC26X2_tirtos.c, sys_ctrl.h and RingBuf.c without eventually executing uart2echo.c

Therefore, nothing ever showed up in the serial communication (XDS110 Class Application/User UART COM) 

Any ideas of the reason why? Knowing that I tried the nortos and tirtos versions and exactly had the same issue.

  • Hi Farah,

    For the missing paths I would reccomend you to remove and reinstall the system. Usually our examples work out of the box.

    I would recommend you to start with our Simplelink Academy to understand how our system, TIRTOS and the BLE stack work together.

    Regards,

    Alex

  • Hello Alex, thanks for your prompt response. 

    I assume you meant reinstalling the SDK which I tried and didn't solve the paths issue nor the error above. 

    I thought I wouldn't have an issue with a No RTOS set but it wasn't the case which made me try the others. Any other suggestion?

  • Hi Farah,

    Actually it worked out of the box for me. 

    For me the UART2Echo works as expected out of the box using hterm. 

    Some steps that I woulr recommend: 

    1.) Make sure all the libraries you are using are from the same SDK. This can be done by deleting your project in CCS and reimport a new project.

    Actually you should not be forced to provide any path yourself except if you are using freertos.

    Then you will have to provide the freertos installation directory. This is descibed in our Simplelink FreeRTOS Basic training

    2) Try to run the project using the XDS debugger and your PC and see if it works. 

    To continue here I would recommend you to delete your current imported project folder and reimport it. Afterwards post occuring errors here. 

    Please be aware that I have limited possibilities to help here as I cannot reproduce this issue on my side.

    Regards,

    Alex

  • Thank you so much for your assistance! 

    I dug a bit more on the board's side and turns out I forgot to put back the jumpers, my bad...