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.

CC3100MOD SimpleLink API Definition

Other Parts Discussed in Thread: CC3100, CC3100MOD

Hi,

How can I find the open description of CC3100 APIs ?

I want to use CC3100MOD, but I dont want use SimpleLink C APIs, I want use my own driver, but I can not find any open document to communicate with CC3100MOD. Everything is defined inside the SimpleLink drivers, which is quite complex and I dont want to solve puzzle to clarify how to command the CC3100MOD.

I need a clear documentation of CC3100MOD API.

Thanks.

Ozan

  • Hi Ozan,

    Description of API (SPI, UART commands) with CC3100 is not publicly available. You need use SimpleLink driver or write your own driver according source code of SimpleLink driver.

    Jan

  • Hello Ozan,

    Can you please share why you want to rewrite the driver?

    It is highly not recommended to go this path as the driver is getting updated frequently to fix bugs and add features.

    It is debugged and tested with each SDK/servicepack that is published.

    Regards,

    Shlomi

  • Dear Shlomi,

    I know that the SimpleLink driver is the best, but it is very complicated.

    I am not using any TI microcontroller to interface it. I am using a Microchip product because I have never used TI before. Therefore, I think may be I can make it more simple as I have expected.

    Moreover, even if I use SimpleLink, I need an open documentation for to communicate with CC3100MOD, because I MUST know which frames are transmitted and received.

    Definitly, CC31000MOD is the best is its class, but I am trying to command it in a more easier way. To resolve the packets transmited and reviced, I am lost in the depths of SimpleLink.

    Even if I have an OFF-THE_RECORD, NON-PUBLISHED document, it can be big help for me.

    Best Regards.

    Ozan

  • Hello Ozan,

    Maybe I am missing something but interfacing to CC3100 does not imply that you need to know the frames/protocol/procedures going on the interface. Otherwise, it would have been very complicated and this is where the host driver comes into play.

    Host driver provides with standard APIs for the application layer to use per functional module. You can use WiFi APIs under wlan.h, sockets APIs under socket.h, file system APIs under fs.h and so on.

    all you need to know is the APIs and there is a programmer's guide for that. You can find it here http://www.ti.com/lit/pdf/swru368

    Since you are using an MCU different than our references, you would need to go through porting effort and conenct it to your platform.

    All you need is to look in user.h header file of the simple link driver and make the adjustments.

    You can use as a reference some other platforms such as MSP430, Tiva, STM32, etc that are all under platform directory of the SDK.

    Regards,

    Shlomi

  • Dear Shlomi,

    First of all, thank you for the very clear answers. I will try to use SimpleLink API. May I consult you in case of problem ?

    And one final question :

    - Does CC3100MOD send Probe Request ? (I DONT mean AP Mode beacons)

    - If yes, in which cases does it send Probe Requests ?

    Best Regards.

    Ozan

  • Hi,

    I think best start point for you is here: processors.wiki.ti.com/.../CC31xx_Host_Interface and after you done low-level layer you can check it by processors.wiki.ti.com/.../CC31xx_SPI_Debug_Tool

    Jan
  • Hello Ozan,

    Sure CC3100 sends Probe Request but this is the type of information the user should not be worried from.

    This is all WiFi layers that are handled automatically by the device internals. Also the IP layer is applied internally.

    Specifically for your question, Probe Request packets are sent when scanning the air and prior to connecting to an access point when in station mode.

    Regards,

    Shlomi

  • Hello,

    Did the above post answer your query? please verify the answer.

    Shlomi

  • The Shlomi,

    Thank you for your support. The answer is OK for me.

    Thank you for the very fast and satisfying responses.

    Best Regards.

    Ozan