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.

EK-TM4C1294XL: EK-TM4C1294XL + CC3100: cc3100_http_example not working

Part Number: EK-TM4C1294XL
Other Parts Discussed in Thread: CC3100, ENERGIA, , CC3100BOOST

Dear community, 

I am trying to run the cc3100_http_example (located in "X:\ti\TivaWare_C_Series-2.1.3.156\examples\boards\ek-tm4c1294xl-boost-cc3100\cc3100_http_server") with CCS. The only output that I can observe on the serial port is the following: 

[2J[HHTTP Server Application on CC3100

Press and hold USR_SW1 during reset to upload webpages to CC3100
Boosterpack's Serial Flash.
Existing webpages on CC3100 Boosterpack's Serial Flash will be used.

 

From the debug session I think the program hangs at sl_Start(0,0,0); I think it fails at _SlDrvSyncObjWaitForever inside sl_Start.  How can I resolve this problem?

My hardware is ok, because when I load the example with Energia it works properly. 

Regards, 

Michele

 

 

 

  • Hello Michele

    I have asked the concerned engineer to respond to your post/.
  • Hello Michele,

    Since it is problem during the start-up, I suspect that the connection between the CC3100 Boosterpack and the LaunchPad might note be correct. Which Boosterpack header are you using? According to the readme.txt of the example, Boosterpack 2 header on the EK-TM4C1294XL should be used.

    If the right Boosterpack header is used then I will need more information to help debug. Based on the output from the serial port (posted here on the first post), I think the application is getting stuck in the function "ConfigureSimpleLinkToDefaultState". Please provide the API call after which the application gets stuck.

    There is one known issue with this application. It does not format the serial flash on the CC3100 BoosterPack. Please refer the following forum post on details of the issue and a work around e2e.ti.com/.../2019393

    Thanks,
    Sai
  • Thank you for your answer!

    Yes, it gets stucked in "ConfigureSimpleLinkToDefaultState".

    You are rigth: the connection between the CC3100 Boosterpack and the LaunchPad was not correct. I used Boosterpack 1 because the other example on Energia worked with this connection. Besides, some pictures in different documentation shows it on Boosterpack1. Also the Boosterpack Checker shows the CC3100boost on Boosterpack1.

    So, now it's working!

    Thank you.
  • Hello Michele,

    I'm working on a board similar to yours TM4c123gxl.

    Can u please suggest me what WiFi module to use.. For iot .. Right now I have the microcontroller board ..

    What shd I buy..?

    And also.. I'm working with energia software..

    Please help

    Regards

    Sujith

  • Hello Sujith,

    I am working with the boosterpack cc3100boost.

    www.ti.com/.../CC3100BOOST

    I started today with this WiFi module and TM4C1294 and I think it's pretty simple to start a new project. In a few hours, with the quick help of the community, I set-up a new project (using TivaWare library in CCS). So, I suggest you thist boosterpack. You can also verify the pin compatibility between your launchpad and the boosterpack at: https://dev.ti.com/bpchecker/

    Let me know if I can help you.

    Regards,
    Michele
  • Hello Michele,
    thank you for the valuable information you sent me.
    I checked it online it showed it is compatible... so shall i buy the booster pack?
    also can u please tell me how many pins are required to interface between launchpad and cc3100...because out of 40 pins in my tm4c launchpad,I require 25 of them for interfacing sensors.... so can i manage with the remaining pins...(i need to send the data sensed by the sensors over the internet)
  • Also is Energia software fine to work with to send data over the internet using cc3100 and tm4c123gxl?


    Regards,
    Sujith
  • Yes, the example provided in Energia for my board works with this boosterpack.

    You can check the pins used in boosterpack checker. The used pins are highlighted in green. However, the cc3100boost can use UART or SPI for communication between the launchpad and the boosterpack.
    So, if you check your example you can verify which peripheral (UART or USB) is used. Therefore, you can save some pins for your application.

    I hope this can help.

    Michele

  • thank you,

    one more problem!
    I have to send the data sensed by the sensors to a person who is far apart over the internet using cc3100 & tm4c what should i do to make this happen??(my project is based on IOT)