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-CC2652RSIP: CC2652RSIP

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

Tool/software:

I need to  transmit data form RS485 and received the data in CC2652RSIP

what communication protocol should I use ?

whether the UART communication can be used in this case?

whatever the data received from rs485 should be display in UART and again I need to transmit the data from to UART of CC2652RSIP and received the data in CC2651RSIPA

I am planning to use Uart2echo_LP_CC2652RSIP_nortos_gcc example code . Is it Okay

if I want to change the code to send my payload what part of the code I need to change?

  • Hello Kumaravel N,

    whatever the data received from rs485 should be display in UART and again I need to transmit the data from to UART of CC2652RSIP and received the data in CC2651RSIPA

    -Transmitting from one TI device to another TI device should be straightforward. 

    From Datasheet: The UARTs implement universal asynchronous receiver and transmitter functions. They support flexible baud-rate generation up to a maximum of 3 Mbps

    -If you need a higher baud-rate UART will not be able to support it. 

    Uart2Echo should be okay, payload should be dependent on if you are sending data per character or a string (basically the read should be able to differentiate between 1 byte read and more than 1). 

    Thanks,
    Alex F

  • I am using RfUart Bridge  No rtoos CC2652RSIP device example

    I am able to received the data 

    Now I want to send the data from Uart to smartRF or other TI device 

    RF_runCmd(rfHandle, (RF_Op*)&RF_cmdPropTx, RF_PriorityNormal, NULL, 0);

    After this line I need to send my payload

    how to send the packect please guide me 

  • Hello Kumaravel,

    Referencing the readme of RfUartBridge: 

    "The Uart Bridge illustrates how to do simple packet transmitting and receiving from one UART to another over the RF driver. This example is meant to be used with two RF devices. For every packet received, the packet is printed on the UART (terminal). The red led changes state when a packet is received, while the green led changes state when a packet is being transmitted. Packets are sent when the UART data is longer than the chosen maximum packet length."

    So we will need two CC2652RSIP devices, flashed with the RfUartBridge project, then open up a putty session on both devices (to see the uart) and then type in one terminal and the typed words should appear on the other. 

    See the "example usage" section of the README.md for more info. 

    The RF_runCmd will send the packet, so before this we will need to load up the payload into the tx buffers which is what the following lines do:

                RF_cmdPropTx.pktLen = bytesReadCount;
                int i;
                for (i=0; i<bytesReadCount; i++)
                {
                    uint8_t* buffer8 = (uint8_t*) input;
                    packet[i] = buffer8[i];
                }

    Thanks,
    Alex F