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.

LP-CC2652R7: LP-CC2652R7, Uart communication problem

Part Number: LP-CC2652R7
Other Parts Discussed in Thread: CC2652R

Hello TI team,

I am using LP-CC2652R7 and XDS110 debug probe on code composer studio.

firstly, I tested the uart_callback example on SDK because i'm newbie.

I continued to type "Z" on the keyboard.
You can see "Z" in captured image.
But there are too many garbage character.


Also, I connected between the XDS110 and Launchpad as shown below.

DI02 : UART RX of XDS110
DI03 : UART TX of XDS110
GND : GND of XDS110
VCC 3V3 : TGTSUPPLYOUT of XDS110

I hope your friendly help.

Regards,
jg

  • Hello jg,

    Are you referring to the XDS110 on-board the LP-CC2652R7?  What did you set as the baud rate on the CCS terminal?  The initial setting may be 9600 but the uart_callback example defaults to 115200.

    Regards,
    Ryan

  • Hi Ryan,

    It is used in connection with the external XDS110, not the XDS100 in LP-CC2652R7.
    Because our custom board only has a CC2652R. So I wanted to check under the same method.
    And the serial terminal setting in CCS is 115200 baud rate.

    Additionally, I tried the XDS110 on LP-CC2652R.
    Unfortunately it didn't go any further with the error below.
    Error connecting to the target:
    (Error -242 @ 0x0)
    A router subpath could not be accessed.
    The board configuration file is probably incorrect.
    (Emulation package 9.10.0.00080)


    To use XDS110 on LP-CC2652R, do I only need to connect the USB of LP-CC2652R with host PC?

    thanks for your support,

    jg

  • You can refer to the "Advanced use of the LaunchPad hardware" section of the CC2652R7 LaunchPad User Guide along with XDS110 Debug Probe documentation.  The position of XDS jumpers is particularly important.  If you continue to experience issues then you may consider providing an image of your hardware setup.

    Regards,
    Ryan

  • I verified that the uart_callback example works well using the onboard XDS110 of the LP-CC2652R.
    As you said, there was a problem with the jumper settings.

    But what I want is to connect the external XDS110 with the onboard CC2652R of the LP-CC2652R.

    I connected external XDS110 and LP-CC2652R like the picture below.
    Blue : XDS110 UART RX <-> LP-CC2652R DIO2
    Yellow : XDS110 UART TX <-> LP-CC2652R DIO3
    Red: XDS110 TGTSUPPLYOUT <-> LP-CC2652R 3V3
    Black : XDS110 GND <-> LP-CC2652R GND


    However, it is not operating normally like the CCS image below.

    Please give me some more advice.

    thanks,

    jg

  • Thank you for providing more images.  I don't see anything particularly wrong with the setup.  Make sure that the XDS110 TX connects to the CC2652R RX and vice versa.  You could also test with a different communication terminal such as PuTTY or Tera Term.

    Regards,
    Ryan