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.

How to transmit and receive the correct data format by using CC2530 and CC2531 usb dongle?

Other Parts Discussed in Thread: CC2531, CC2530

Hi, 

I tried to transmit/receive the data "123" by using CC2531 USB dongle through Serial Port Utility,

and i wanted CC2530(connected with SmartRF05EB) to receive/transmit the data.

The data sent from CC2530

and the data sent from CC2531 USB Dongle

The text "123" should be transfer into hex "31 32 33".

I have tried every setting on the serial port utility, and the data wasn't received correctly.

Is there any restricted format for CC2530 and CC2531 ??

How can i receive those data correctly??

Thank you !

  • 1. You should use MT command for serial communication (http://e2e.ti.com/cfs-file.ashx/__key/communityserver-discussions-components-files/158/6758.Z_2D00_Stack-Monitor-and-Test-API.pdf)  between your  serial application and. CC253x.

    2. You should use AF_DataReq to send data between  CC2531 and CC2530.

  • Thanks for helping,Yikai.

    I have solved my problem. 

    The baudrate was in wrong setting, it should be 38400, not 115200. The characters can be transmitted correctly now.

     

    Thanks,Yikai.