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: Radio tools UART connection failure

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

Hello Team,

my customer encountered a UART connection issue using EMUBOOST + cc3120. We follow this user guide Table 5 to connect these pins  but UART connecting unsuccessful in radio tools. In addition, i found that if I connect the IRQ pin, I can capture some packets on SPI interface. is this normal?

If i stack up two boards through P1~P4, it works normally.

Has anyone experienced the same thing?

best,

Jo

  • I add the logic analyzer records here. the signal is on SPI pins, file name with SPI meaning I selected SPI interface in radio tools; file name with UART meaning I selected UART in radio tools. The service pack is 3.8.0.3.31.2.0.0.0.2.2.0.6

    cc3120_radiotool_spi_uart.zip

  • Hi Jo,

    Sorry for the delay. Have you tried using the new service pack (sp_3.9.0.6_2.0.0.0_2.2.0.6)?

    Best regards,
    Kristen
  • Hi Kristen,
    Yes, I've tried on two different emuboost & boostpack, and still cannot connect to the chip via UART.

    I also tried disconnecting SPI-CLK pin only, stacking up boostpack and emuboost, and selecting UART in radio tools, the connection did not success. Please help!

    regards,
    Jo

  • Hello Kristen,

    Any update for this? Are you able to see this problem? My customer is waiting for a way to perform RF TX/RX test, if Radio Tool thing can not be resolved soon, please advice alternative way to do the test, thanks!

    regards, 

    Jo

  • Hi Jo,

    Are you trying to connect the emuboost to a custom board with a CC3120, or with a CC3120 boosterpack?
    Can you also take a picture of the wiring that you currently have so that I can look over it and double-check to see that it is correct?

    Regards,
    Michael
  • Hello Michael,

    I'm trying to connect the emuboost with CC3120 boosterpack. I stacked up the two boards, but disconnected SPI-CLK pin, as shown in below figure. No other changes or modifications on HW. And launch Radio tools, select CC3120 UART for connection. You should be able to see the connection failure.

    regards,

    Jo

  • Hi Jo,

    Even if you are trying to use UART to connect, you don't need to disconnect the SPI clock.

    Using my CC3120 + EMUBOOST set I can connect using radiotool without issues. If you directly connect both boards using the LP headers, it should just work as-is.

    When you check your PC's device manager, do you see all of the COM ports from the emuboost?

    Also, are you able to connect to the CC3120 using Uniflash?

    Regards,

    Michael

  • Hello Michael,

    I disconnect SPI clock for demonstrating the problem, that is, I chose UART for connection in Radiotool, but the actual signal was on SPI. Therefore the connection failed.

    My customer only keeps UART interface on their own board, if the radio tools needs SPI, that's the problem.

    And yes, the uniflash is fine with UART.

    Can you connect with CC3120 boostpack via UART only in Radio tools? 

    As you can see, the actual data is on SPI.

    BR

    Jo

  • Hi Jo,

    Radiotool only needs UART (+CTS/RTS). It does not need to use SPI.
    With my CC3120 + emuboost setup, I can connect to it with radiotool without issue. I'm using the same version of radiotool as you are, version 1.0.2.

    Have you tried connecting over UART to each one of the CC3100BP COM ports?

    Regards,
    Michael
  • Dear Michael

    when CC31XXEMUBOOST connect to PC, Device manager will show 4 COM ports  (COM11 to COM14)

     

    I only connect the SPI needed signal from CC31XXEMUBOST to CC3120BOOST

    (MISO, MOSI, CS*, CLK, IRQ, RST, nHIB, VCC, GND)

    Radio tool can use both SPI and UART to control CC3120BOOST , but the wires only connect SPI interface

    But I only connect UART needed signal (TX, RX, CTS, RTS, RST, nHIB, VCC, GND) and it can't control CC3120BOOST

    I choose one of four COM ports and got the same result (can't connect)

    BR.

    Youwin

  • Hi Youwin,

    Thank you for providing your setup images as well as your detailed description of your problem.

    I have replicated what you're seeing with regards to the CC3120 UART not connecting. It seems like the CC3120/CC3220 radiotool uses SPI to connect to the CC3120 even if you pick "CC3120 UART" in the GUI. This issue is still present if you use the CLI. I have inquired about this potential bug with our software tools team, and they should come back with a response by the end of the week.

    Regards,
    Michael
  • Hi Jo,

    I have spoken to the tools team, and they have a new build of Radiotool that fixes the bug and allows for connections to the CC3120 over UART.
    This is the pre-release of the build that is planned for release at the end of Q4 2018.
    I have sent you an email with a link to this new build. If you could provide that to the end customer for test and verification and see if this resolves their issue that would be great. I have verified with my CC3120 + emuboost setup that this build resolves the issue on my end.

    Regards,
    Michael
  • Dear Michael

    We got CC3120 Radio tool 1.0.3.5 software.

    and connect Power, GND, TX, RX, CTS, RTS, nHIB, IRQ bewteen CC31xxEMUBOOST and CC3120BOOST.

    The tool can connect to CC3120BOOST.

    When using TX packetized, the RF instrument can't catch WiFi signal easily,

    but TX Continuous is OK.

      

    And  sometimes will see Abort at TX or RX

    Is the nHIB & IRQ signal needed or not ??

    Because we can't keep so many test point pins (8 pins) for factory testing

    We try to remove either nHIB or IRQ signal and the CC3120BOOST disconnect to PC 

    BR.

    Youwin

  • Hi Youwin,

    I am not able to replicate the issue you are seeing with packetized TX mode. One thing you can try is updating the servicepack of the CC3120 to the latest version available from the CC3120 plugin or the CC3220 SDK (v2.30.xx.xx):
    www.ti.com/.../simplelink-cc3220-sdk
    www.ti.com/.../simplelink-wifi-cc3120-sdk-plugin
    As for the hardware connections, the nHIB line is needed, but the IRQ line shouldn't be necessary.

    Regards,
    Michael
  • Dear Michael

    We upgrade CC3120BOOST (3.3V) to 3.9.0.6

    TX packetized and RX function of Radio tool 1.0.3.5 are both normal operatiing.

    Thanks your great support

    BR.

    Youwin