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.

CC3120: Are RTS/CTS required for custom hardware with RadioTool?

Part Number: CC3120
Other Parts Discussed in Thread: UNIFLASH, , CC31XXEMUBOOST

Hi,

I am having trouble connecting successfully from CC3120 Radio Tool to our custom board.  I can however connect correctly from Uniflash.

The Radio Tool documentation shows RTS and CTS connections.  We don't use these in our application.  Surely these aren't necessary for Radio Tool, particularly if not used in Uniflash?

Any other suggestions on what could be wrong with my setup?

Thanks in advance for your help on this.

  • Hi Bob,

    It looks like for the UART connection to a CC31XXEMUBOOST you would need CTS and RTS.

    Do you have the SPI pins available?

    Best,
    Kevin
  • Hi Kevin,

    Thanks for your response.

    Connecting via SPI would be an option, but is not ideal.  What we're trying to achieve is checking the crystal frequency tuning, per 

    http://processors.wiki.ti.com/index.php?title=CC3100_%26_CC3200_Frequency_Tuning&redirect=no

    For this, we need to be able to get the CC3120 into TX CW mode.  Presumably this just requires us to send the correct messages to the CC3120 across the serial interface.  Can you provide details of what messages to send to achieve this?

    Best regards,

    Bob

  • Hi Bob,

    Are you using an MSP432 as your host MCU by chance? If so, the Network_Terminal example in the simplelink_sdk_wifi_plugin_1_55_00_42 has a limited Radio Tool built in and might be useful to you.

    Example and Documentation Location:

    C:\ti\simplelink_sdk_wifi_plugin_1_55_00_42\examples\rtos\MSP_EXP432P401R\demos\network_terminal\README.html

    If not you still may be able to review the example code and documentation for what messages to transmit.

    Best,
    Kevin
  • Hi Kevin,

    I'm not using MSP432, but there was enough info in the source code to allow me to set up the test.  Thanks for your suggestion - just what I needed.

    Best regards,

    Bob.

  • Hi Bob,

    I'm having the same issue, and connecting RTS/CTS didn't help for me. How did you manage to fix it?

    Thanks :)


    Daniel.

  • Hi Daniel,

    We ended up controlling this through a special image of our operational image.  

    There's a simple radio tool implementation in one of the examples that comes with the SDK.  On my PC it's located at

    C:\ti\simplelink_sdk_wifi_plugin_1_60_00_07\examples\rtos\MSP_EXP432P4111\demos\network_terminal\radio_tool.c

    I couldn't use this directly, but it was pretty straightforward to work out the correct function calls from this.

    Since then I have also noticed there's a tiny amount of info on this in the CC3120 programmer's guide, section 12.5.

    Basically you set up a raw socket using sl_Socket(), with the last parameter being the WiFi channel that you're interested in.  Then you do an sl_Send with NULL buffer and 0 length.

    Good luck!

    Regards Bob.

  • Hi Bob,

    Thanks a lot!!

    At the moment I'd still like to connect the Radio Tool, but this will be very useful for creating an automated test setup.

    Thanks again and the best luck in your projects!

    Daniel.