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.

CC3100R1 Simplelink Studio UART PROBLEM

Other Parts Discussed in Thread: CC3100, UNIFLASH

Hello

I'm been trying to get a custom board for CC3100R1 to work since a week without any success

I've followed the Schematic in the Datasheet for wide-voltage implementation. 100% same, 

I can get the driver version:

[04:25:30] INFO: > Executing Operation: GetVersion
[04:25:30] INFO: reading version info
[04:25:30] INFO: > Bootloader version: 2.0.4.0
[04:25:30] INFO: > Executing Operation: Disconnect
[04:25:30] Operation GetVersion returned.

I can format the device and the serial flash successfully:

[04:26:03] INFO: connection succeeded
[04:26:03] INFO: getting storage list
[04:26:03] INFO: > Executing Operation: Init
[04:26:03] INFO: reading version info
[04:26:03] INFO: DEVICE CC3100 ES1.33
[04:26:03] INFO: reading version info
[04:26:05] INFO: > Executing Operation: Format
[04:26:05] INFO: Erase storage SFLASH
[04:26:06] INFO: erase storage succeeded
[04:26:06] INFO: erase storage completed
[04:26:06] INFO: > Executing Operation: Disconnect
[04:26:06] Operation Format returned.

I can update the service pack as well to the latest:

[04:27:15] INFO: connection succeeded
[04:27:15] INFO: getting storage list
[04:27:15] INFO: > Executing Operation: Init
[04:27:15] INFO: reading version info
[04:27:15] INFO: DEVICE CC3100 ES1.33
[04:27:15] INFO: reading version info
[04:27:17] INFO: > Executing Operation: ServicePackUpdate
[04:27:17] INFO: Path to the service pack file: C:\ti\CC31xx_CC32xx_ServicePack_1.0.0.1.2\servicepack_1.0.0.1.2.bin
[04:27:17] INFO: reading version info
[04:27:17] INFO: ROM Device detected.
[04:27:17] INFO: Service pack version information:
[04:27:17] INFO: NWP version: 2.2.7.1
[04:27:17] INFO: MAC version: 1.2.4.2
[04:27:17] INFO: PHY version: 1.5.3.23
[04:27:17] INFO: NWP Patch version: 2.2.0.1
[04:27:17] INFO: MAC Patch version: 1.2.0.2
[04:27:17] INFO: PHY Patch version: 1.0.3.23
[04:27:17] INFO: Downloading file "/sys/servicepack.ucf" with size 6100
[04:27:21] INFO:

New Token is 0x18E0BAC1
[04:27:21] INFO: Download complete
[04:27:21] INFO: > Executing Operation: Disconnect
[04:27:21] Operation ServicePackUpdate returned.

What I cannot do is get the chip to work with SIMPLELINK studio getting_started_with AP or Station

I've defined

 #define SL_IF_TYPE_UART

I'm sure its not code problem, because as I said its working by connecting the same wires to CC3100 Boosetpack by wires to the CC3100 emulator

Do I have to format this chip in special way since its production chip not pre-production?

is there any extra software/firmware needs to be within the chip to get it to work with simplelink studio?

I've following the following proedures exactly on both boards, the custom and CC3100 booster:

- Format without any option checked

- update service pack

- Try it with simplelink studio

Any help is highly appreciated

Thanks

Khalefa

I've connected 

UART RX

UART TX

UART CTS

UART RTS

nHIB 

Ground

all to the CC3100 Emulator Board

Visual Studio get stuck in infinite loop at the line:

OSI_RET_OK_CHECK(sl_SyncObjWait(&g_pCB->ObjPool[ObjIdx].SyncObj, SL_OS_WAIT_FOREVER));

I've tried with CC3100 Boost pack, by connecting only these wires

UART RX

UART TX

UART CTS

UART RTS

nHIB 

Ground

and its working fine

I really don't understand whats going on, 

  • Hi Khalefa,

    I just tried SLS example using the UART interface with a CC3100 module and it worked fine without any issue.

    Few points/questions:

    • Are you using the simplelink studio example provided in SDK? I hope you are defining 'SL_IF_TYPE_UART' in the project properties.
    • Please make sure you setting the 'COMM_PORT_NUM' value to the port you use for flashing with uniflash.
    #define COMM_PORT_NUM 7
    • Can you share the logic traces capturing RX, TX, CTS, RTS and nHIB?

    Regards,

    Ankur

  • Thanks Ankur for trying to help out

    As I've said earlier, its working fine with cc3100 Boosterpack but its not working with the custom board (own board) which has production chip CC3100R1

    I'm using the cc3100 emulator board, plugging 6 jumper wires from the emulator board to cc3100 booster pack
    - nHib
    - uart-Rx
    - uart-Tx
    - uart_nRts
    - uart- nCts
    - Ground

    its working fine with TI CC3100 Booster pack

    but the same wires I plug them in my own custom board, which has different chip CC3100R1 (production rom device ES1.33)
    doesn't work

    I can get version, format, do service update.

    But I cannot use Simplelink Studio, I've tried making another custom board that is connected by Spi to Tiva Launch pad, exactly same behavior

    I tried the following on both, same order
    using uniflash new confi:
    - format (all option unchecked)
    - servicepack update (latest)
    - get version

    All of the procedure work both on my board and TI cc3100 booster board

    But simplelink studio doesn't communicate with my custom board, as if there is no software within the chip ROM that responding to the requests

    Do I have to flash CC3100R1 in different way? does it have the internal efuse burned? there is not info about all of this anywhere

    Thanks again
  • Khalefa,

    Uniflash doesn't use the uart flow control (RTS and CTS) line but simplelink studio does. So if CC3100's CTS line pulled high on your custom board then cc3100 won't send any data and the application will keep waiting for uart RX interrupt.

    You don't need to do anything different on CC3100R1 chip.

    As I requested in my previous post please share the logic traces capturing RX, TX, CTS, RTS and nHIB signal to help us analyse the issue.

    Regards,
    Ankur
  • Ankur

    I believe u r absolutely right

    I did something crazy

    I took out the pre-production chip out of the boosterpack and soldered CC3100R1 instead

    It Worked!!!

    This got me to recheck everything on my custom board

    I noticed something weird with the crsytals

    Although they are oscillating aat the correct frequncy

    I notice that there is some flikiring, as if the chip quickly restart in mili seconds

    Could it be power problem? Or Crystal only? The 33khz crystal is exactly the same, but the 40mhz is from different manufacturer

    This behavior is not hapenning on the booster pack

  • I don't know why the RTS line behaving like this, I've checked with continuity test between RTS and XTAL pin, nothing, since they are next to each other and RTS line being pulsed with frequency of 12.4 KHz

    Actually it was pulsing with 32khz, but after removing the pull down resistor from RTS line, same as boostpack ver 3.3, the pulsing changed to 12.4khz!!

    hope this help you in guiding me to source of the problem

  • Here is a screen shot, of another custom board. again, I can get version, format, update service pack

  • Can you probe on the power supply line of your board to see if it is stable throug-out. During the SL-start, the device would initiate a calibration cycle which can draw high currents upto 500mA. Please ensure that your board is able to source that current.

  • The voltage regulator rated for 1A 3.3v

    There are additional two 100uf ceramic capacitors next to CC33100

    just to make it more clear, the first picture was by using 32khz OSC

    The second running by this crystal:

    ABS07-32.768KHz-1-T

    its almost same as the one being used in Ref. Design, except this one has 10ppm compared to 20 in the Ref design

  • Hi Khalefa,

    Were you able to resolve the with your board?

    If not can you please probe the VCC of CC3100 device during sl_Start() and share the screen shot.
    Also please confirm the serial flash part number.

    Regards,
    Ankur
  • Hi Khalefa,

    I hope the issue is resolved.
    I am closing this thread, if issue still exists please open a new thread with link to this one for reference.

    Regards,
    Ankur