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.

CC3200-LAUNCHXL: CC3200 UART receive packet error

Part Number: CC3200-LAUNCHXL
Other Parts Discussed in Thread: CC3200,

Hi,

I am using CC3200 LAUNCHXL to fetch the Pressure & Temperature from my external device using UART and then transferring those data to TCP server.

Snapshot-1 shows that the data's are coming properly (my pressure is 1.5bar and Temperature is 0degC) where as Snapshot-2 shows that the data's are shifted randomly. I have checked the sending packets with some serial monitor software and it's shows that the packets are correct.

I'm suspecting that there is some time delay between sending packets and receiving packets. 

I'm using 9600 baudrate for UART0.

  • Hi,

    Sorry I don't understand. Can you better describe your issue?

    Jan
  • Hi Jan,

    I'm connecting CC3200-LaunchXL, Rx pin (J6) to my external device.

    My external device is sensing the Pressure&Temperature data's using sensors and transferring those data through UART (Tx). Both (CC3200 & My external device) GND pins are tied for common ground.

    My device will send the packet as "$Pr:045Tr:035#", here 045 and 035 are sensor data. Sometimes I'm getting correct packet in CC3200 but not always.

    Once the packets are received by CC3200 then I'm sending the data through TCP socket using wifi connectivity. My TCP client packets as "Pressure:04.5b&Temperature:035C".

    Refer my previous attached image for TCP packet details.

    Thanks in Advance.

    Saravanakumar

  • Hi Saravanakumar,

    You need to analyse your code and find reason of your issue, step by step. You can have wrong:

    - bug in code of you external device

    - bug in your CC3200 code (problem with UART code, problem with parsing or UART data, problem in your socket code, etc.)

    I think as first thing you need to be sure that you receive your UART data properly and that you not have bug in your UART code. You can add print to another UART when you receive data and show information on console application, etc.

    Jan