LP-CC2652RSIP: CC2652RSIP UART

Part Number: LP-CC2652RSIP
Other Parts Discussed in Thread: CC2652RSIP, , SYSCONFIG

Tool/software:

without using XDS110 user uart  I need to connect external UART for RS232 communication that is when I connect my rs232 connector to my device I need to send receive the data using that port not xds110 port

any other driver to be install or whether I need to disable the xds110 port .

what I am trying to do is just send and receive data from rs232 to my board cc2652rsip

  • Hi Kumaravel,

    You simply need to remove the RXD & TXD jumpers from the XDS110 header row to disable the backchannel UART communication.  This will allow you to use DIO12 and DIO13 UART pins with an external device.  Otherwise, you could also choose to use a custom board in SysConfig which would allow you to select any other available GPIO which is not connected to the XDS110 hardware.

    Regards,
    Ryan

  • uart issue in cc2652rsip.docx

    1. I have attached the error file  in which when I use external Uart I am not able to receive data but the same code When I run in XDS110 dio 13 dio 13 default uart I am able to get the output also I have removed the jumper.

                                 I have change the sys conf for myexternal Uart 

                                      Tx- dio 2

                                       Rx- dio 3

    2.Other question is CC2652rsip has 2 UART 

                       one for UART0 and other as Uart1

                           If i need to use both uart , Uart0 as debuger and other is my uart data transmission what should I do 

  • 1. Are you sharing a common GND between your LP-CC2652RSIP and you external rs232 connector?  Does the external IC support the voltage level (3.3V) of the LaunchPad?  Beyond re-checking connections and parameters, you should confirm the UART RX/TX lines with an oscilloscope or spectrum analyzer

    2. Keep the original UART settings for the debugger, then add another UART module inside of SysConfig for your rs232 data transmission and add the second UART2 initialization and logic code to your application.

    Regards,
    Ryan

  •   

    i Have used same current and ground to both cc2652rsip board and rs232 but still not working .

    Even defaut uart dio 13 dio 12 pin data i am not able to capture the data in oscilloscope.

  • UART communication and set up a GPIO pin using the IOC driver i how to write the code 

    could you please share the code for uart communication using gpio pin

  • You should be using the higher-level UART2 TI Driver, but you can also refer to the lower-level uart driverlib and ultimately the UART0/1 registers.  The default baud rate of the UART2 examples is 115200, 8 data bits / 1 stop bit / no parity / no flow control, and you should consider these parameters as it concerns the needs on the other end of the RS232.  You will need to consider using a logic analyzer or oscilloscope to proceed.

    Regards,
    Ryan

  • even I change the ccxml file com port and baud rate still i am not able to connect my external uart port.

  • Dear Ryan Brown

     kindly help  how to write the code to send data and receive data using uart 2

    I have attached the code which i have change kindly check

    please refer any other documentation related to rs232 communication using ti cc2652rsip

    in sys config any other changed to done i have already attached the file in above.

    my question is 

    from pc i m useging seperate uart usb-to serial com via that i need to send and receive data

  • Changing the *.ccxml file will not resolve your issue.  No code has been attached in the latest correspondence, although I'm not sure how it will be able to assist with this thread.  You need to validate the uart2callback example using the backchannel XDS110 UART COM port with your local PC, and then determine what hardware issues are causing the RS232 conversion to fail.  TI does not have official documentation in this regard so you will need to search the E2E forum or further online in general.  I have no information of your RS232 board IC.

    Regards,
    Ryan