Jump to content

Search the Community

Showing results for tags 'cc3200'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • News
    • Announcements
    • Suggestions
    • New users say Hi!
  • Spotlight!
    • Sponsor Spotlight
    • Sponsor Giveaways
  • Energia
    • Energia - MSP
    • Energia - TivaC/CC3XXX
    • Energia - C2000
    • Energia Libraries
  • MSP Technical Forums
    • General
    • Compilers and IDEs
    • Development Kits
    • Programmers and Debuggers
    • Code vault
    • Projects
    • Booster Packs
    • Energia
  • Tiva-C, Hercules, CCXXXX ARM Technical Forums
    • General
    • SensorTag
    • Tiva-C, Hercules, CC3XXX Launchpad Booster Packs
    • Code Vault
    • Projects
    • Compilers and IDEs
    • Development Kits and Custom Boards
  • Beagle ARM Cortex A8 Technical Forums
    • General
    • Code Snippets and Scripts
    • Cases, Capes and Plugin Boards
    • Projects
  • General Electronics Forum
    • General Electronics
    • Other Microcontrollers
  • Connect
    • Embedded Systems/Test Equipment Deals
    • Buy, Trade and Sell
    • The 43oh Store
    • Community Projects
    • Fireside Chat
  • C2000 Technical Forums
    • General
    • Development Kits
    • Code Vault
    • Projects
    • BoosterPacks


There are no results to display.

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start



Website URL





Found 180 results

  1. This is a Websocket client library written mostly in highlevel c(++) to make it easyier to take in. It was tested on a CC3200 and earlier on a TM4C1294 but I think it should work on anything that provides the WifiClient/EthernetClient interface, and has decent amounts of RAM. Current code is a bit rough, it contains debug prints and I have not made much optimization work with it, especially concerning long strings where it just allocates up to 64kbyte of ram, but hopefully the user has some control over what is returned and can keep it short(ish). It does not support frames over 65kbyte nor binary data at the moment, but its not too hard to implement if needed. At the moment there is only 1 callback, when data is recieved, more callbacks could be added for connect, disconnect, ping, pong, etc. Well work in progress Like my dht lib the source code is maintained on github and my part of the code is released to public domain. The zip includes sha1 and base64 code that I didnt write, links to their home is included in top of WebSocketClient files. WebSocketClient.zip
  2. Hi, I have a problem with analogRead and Wifi.begin. I'm using CC3200 and Energia to test. I connect one potentiometer to Pin_60 (ADC_CH3) and a PIR sensor to Pin_50. Here comes the joke. If i try to read the values : a= analogRead(24); b= digitalRead(30); the sketch works perfectly. But if i include the Wifi library, and I write Wifi.begin() in the setup, the values read aren't correct. What happen here? Are there something i'm forgetting? Affect Wifi to ADC?
  3. Hi All, This is my first post on the forum so apologize of any mistakes. So, yesterday I bought Redbearlab CC3200 Wifi Mini from Amazon. The out-of-box test successfully executed with the LED toggling on/off based on the button pressed on 192.168.11. But when I tried to upload the program using Energia, it was failed. Here is the message from Energia which I copy and paste it directly. Ubable to find RedBearLabs board: 1 Using HID to reset for RedBearLab board Opening \\.\COM40 Triggering bootloader.... Getting storage list Bootloader Version: 4 Silicon version ES1.32 or higher Bootloader version is 2, 1, 4, 0 It's a CC3200 device: PG1.33 or higher Switch UART pinmux to APPS Switch to NWP bootloader complete Load common boot command for PG1.33 or higher Bootloader version is 2, 0, 4, 0 BlockSize is 4096, number of blocks is 16 erasing 13 blocks starting from 0 I am using Eenergia-0101E0017. I have followed the "getting startup guide" from Energia, pay attention closely to the driver and check the COM port (mine is COM40), also have updated MK20 firmware. But still, those error occured. And this wasn't the end of story.... After that, I put my laptop to sleep, went to office, turned on my laptop, and I used the same USB port to charge my android phone. 8 hours later, I put my laptop back to sleep, went to home and then I turned back on my laptop.This time, I tried again to upload my Wifi Mini using Energia, and boom, Done flashing successfully. So until now, if I have a problem "failed to upload" using Energia, I repeat those steps: 1. make my laptop sleep. 2. wake up my laptop, connect android phone to the USB port. 3. make my laptop sleep again. 4. disconnect my android phone from USB port. 5. wake up my laptop. 6. connect wifi mini to USB port, open Energia and start flashing. Done. So, anyone have the explanation about this? Thank you.
  4. Hi , im looking for a sketch that is similar to ConnectWithWPA but that can work on WPA2-Enterprise. I have been unable to connect to my AP with WPA2-Enterprise login/password authentification. Here is what ConnectWithWPA looks like : /* This example connects to an unencrypted Wifi network. Then it prints the MAC address of the Wifi BoosterPack / LaunchPad, the IP address obtained, and other network details. Circuit: * CC3200 WiFi LaunchPad or CC3100 WiFi BoosterPack with TM4C or MSP430 LaunchPad created 13 July 2010 by dlf (Metodo2 srl) modified 31 May 2012 by Tom Igoe modified 2 July 2014 by Noah Luskey */ #ifndef __CC3200R1M1RGC__ // Do not include SPI for CC3200 LaunchPad #include <SPI.h> #endif #include <WiFi.h> // your network name also called SSID char ssid[] = "SSID"; // your network password char pass[] = "supersecret"; void setup() { //Initialize serial and wait for port to open: Serial.begin(9600); // attempt to connect to Wifi network: Serial.print("Attempting to connect to Network named: "); // print the network name (SSID); Serial.println(ssid); // Connect to WPA/WPA2 network. Change this line if using open or WEP network: WiFi.begin(ssid, pass); while ( WiFi.status() != WL_CONNECTED) { // print dots while we wait to connect Serial.print("."); delay(300); } Serial.println("\nYou're connected to the network"); Serial.println("Waiting for an ip address"); while (WiFi.localIP() == INADDR_NONE) { // print dots while we wait for an ip addresss Serial.print("."); delay(300); } Serial.println("\nIP Address obtained"); // you're connected now, so print out the status printCurrentNet(); printWifiData(); } void loop() { // check the network connection once every 10 seconds: delay(10000); printCurrentNet(); } void printWifiData() { // print your WiFi IP address: IPAddress ip = WiFi.localIP(); Serial.print("IP Address: "); Serial.println(ip); Serial.println(ip); // print your MAC address: byte mac[6]; WiFi.macAddress(mac); Serial.print("MAC address: "); Serial.print(mac[5], HEX); Serial.print(":"); Serial.print(mac[4], HEX); Serial.print(":"); Serial.print(mac[3], HEX); Serial.print(":"); Serial.print(mac[2], HEX); Serial.print(":"); Serial.print(mac[1], HEX); Serial.print(":"); Serial.println(mac[0], HEX); } void printCurrentNet() { // print the SSID of the network you're attached to: Serial.print("SSID: "); Serial.println(WiFi.SSID()); // print the MAC address of the router you're attached to: byte bssid[6]; WiFi.BSSID(bssid); Serial.print("BSSID: "); Serial.print(bssid[5], HEX); Serial.print(":"); Serial.print(bssid[4], HEX); Serial.print(":"); Serial.print(bssid[3], HEX); Serial.print(":"); Serial.print(bssid[2], HEX); Serial.print(":"); Serial.print(bssid[1], HEX); Serial.print(":"); Serial.println(bssid[0], HEX); // print the received signal strength: long rssi = WiFi.RSSI(); Serial.print("signal strength (RSSI):"); Serial.println(rssi); // print the encryption type: byte encryption = WiFi.encryptionType(); Serial.print("Encryption Type:"); Serial.println(encryption, HEX); Serial.println(); } Regards. Salah
  5. Hi community, I have a problem using the LCD_5110 Display library with my CC3200 Launchpad. The Compiler does not throw any error but the main Example sketch is not working. The Display just stay white like dead. I double checked the pin configuration but I con not find the problem. With the example Sketch: https://github.com/sparkfun/GraphicLCD_Nokia_5110/blob/master/Firmware/Nokia_5110_Arduino_Example/Nokia_5110_Arduino_Example.ino everything works fine but with the same pin configuration and wiring the example sketch https://github.com/energia/Energia/blob/master/examples/7.Display/LCD_5110/Examples/LCD_5110_main/LCD_5110_main.ino Is not working at all. I use the following pin configuration: LCD_5110::LCD_5110() { // pins names in MSP430G2553 LCD_5110(6, // P2_2 Chip Select 3, // P2_4 Serial Clock 4, // P2_0 Serial Data 5, // P2_3 Data/Command 7, // P1_0 Reset 2, // P2_1 Backlight PUSH2); // Push Button 2 } Does anybody have some advice for me?
  6. Hi, I've been following the ConnectWithWPA example to see the encryption type. However, it keeps showing me "Encryption Type: 0". What does this mean? Also what does the AUTO return value mean? (from this reference: http://energia.nu/reference/wifi/wifi_encryptiontype)
  7. Hi I'm using external RTC which has DS1307 where it communicates to my cc3200 using (SDA and SCL) I2C. Please note as oer block diagram there are two I2C interface available in cc3200 LP I'm using RTC lib specified for ds1307 from here Option #1: when I connect my RTC module to Pin P01 and P02 (SCL and SDA) as detailed in CC3200 block diagram I see valid clock/time in my COM port Option #2: Now, When I try the with other I2C port in P4 40 and 39 (top two pins) I'm not seeing any clock/timer value Please help me to understand what might be the reason? why one I2C interface works while other does not? I'm not changing anything in my code/circuit I'm using Serial1 (which is also P01 and P02 similar to one of the I2c port interface) to communicate with other components.. thus we have only one choice to make use of P4 -40 and 39 ports to perform I2C... please help. Thanks!
  8. Hello all, Love the site and have found a ton of useful information here! I have a question regarding hardware serial on a CC3200 launchpad (rev 4.1). I have found the pinmaps at http://energia.nu/pin-maps/guide_cc3200launchpad/ and they reference TX/RX, TX(0)/RX(0), and TX(1)/RX(1). I was looking for clarification on how these relate to Serial, Serial1, etc. I have a project that uses I2C and UART and would like to keep the FTDI UART as well for debug. P.S. a similar question was asked here, but this particular part was not answered Thanks, Andy
  9. Hi experts!! I'm a beginner and working on CC3200 LP along with Energia IDE. I'm working on a simple project where I've an external device which has RS485 o/p and I need to fetch the values in specified addr location in that device to CC3200 LP. My doubts are #1) we have external module that has device ID+parameter Address and we need to transmit the value in LP through UART, here I'm not sure how to use the UART function to specifically target device+address and return/get the same.... #2) what I'm looking/exploring is that in above example (UART code which Andy shared here ) what function specifically reads DeviceID+parameter Addr and returns that string value to my LP My experiments: I've been checking uart.h file and following lines looks close to what I need to do - but not sure... extern void UARTConfigSetExpClk(unsigned long ulBase, unsigned long ulUARTClk, unsigned long ulBaud, unsigned long ulConfig); extern void UARTConfigGetExpClk(unsigned long ulBase, unsigned long ulUARTClk, unsigned long *pulBaud, unsigned long *pulConfig); I'm planning to have my framework Energia sketch might be like calling below functions in specified order 1) UARTIntClear ==> to initialize/clear in LP 2) UARTIntEnable ==> enable UART of my LP 3) UARTConfigSetExpClk ==> to set what I need to read from the external device to my LP 4) UARTConfigGetExpClk ==> to GET what I need to read from the external device to my LP 5) perform step 1 to 4 after 5 sec ==> loop it Am I missing something in above flow?? My Setup I've installed Tera Term in my PC to monitor com port I've got Rs485 to RS232/TTL converter which can be connected to my cc3200 LP UART PIN_02, PIN_01 (RX_1 & TX_1) ... or nay other UART pin which is applicable. my external device which has RS485 o/p ==> Baud rate of 9600, Parity = Even, Device Address = 1, Stop bit = 1, Data type = 32 bit float real, Data to be red from address (Float) 3913, 3909, 3903, 3965, please advice
  10. Is there a way to wake the CC3200 via WiFi? I read this post but can someone let me know if this is operational in the latest version of Energia?
  11. For low power application (in our case a standalone RedBear Micro with CC3200 on solar cells) it would be desirable to limit transmission power of the 3200 to the minimum necessary. According to the TI datasheet, this could reduce power consumption for transmit from 229mA to ~140mA. Is there any API approach to do this ? ( Would reduction of the M0 clock rate reduce power, too, and if yes, how could it be done ?) Thanks
  12. Hi All, Does anyone knows CC3200 breakout already build?, very minimum system not like LaunchPad XL. Something like arduino pro mini for CC3200 http://arduino.cc/en/Main/ArduinoBoardProMini Thanks, Ali
  13. i am trying to interface msp430 and cc3200 using UART .i am using the IDE energia ,basically i am reading analog sensor value through msp430g2553 and send it to cc3200 using UART can any one help me with code ??
  14. This is in continuation with this post where I was working with two cc3200 one for transmit second for receive so my Energia code as described in other posted was /* Serial Transmit:*/ and for receive Please note: TX pin (P01) in transmit CC3200 is connected to RX pin (P02) of receiver CC3200 PS: P01 == P1-10 P02 == P1-9 The above is working fine and could see character "c" printed in console Now... when I change the Transmitter code as below where I have replaced "serial1" with "Serial" as shown below ... I'm NOT see any results - what is that I'm missing Please note - I've connected TX pin (P03) in transmit CC3200 is connected to RX pin (P02) of receiver CC3200 PS: P04 == P1- 3 P03 == P1-4 Thanks!
  15. I'm trying to update CC3200 Launchpad firmware as described in Energia web site (energia CC3200 guide) Everything seems working correctly but I get the following error message: [10:12:25] INFO: DEVICE CC3200 ES1.32 [10:12:25] INFO: reading version info [10:12:26] INFO: reading version info [10:12:28] ERROR: NWP file is missing from the bundle file. Operation cancelled. [10:12:28] INFO: > Executing Operation: Disconnect [10:12:28] Operation ServicePackProgramming returned. I cannot find references to this kind of error on Energia web site, 43OH forums or TI forums. Any suggestion?
  16. Hi, I know that wifi.begin uses DHCP and grabs an IP assigned to the cc3200. my question is, can I convert the IP to a website name instead of just the IP numbers ? Right now, I am using the simplewebserver example and I get the IP for the device to be It says to open and see the webpage, type that IP into a browser. But Instead of putting that IP into the browser,is there a way that I could put something like mywebsite.com and still get to the same page on IP ? this is all local, so no port forwarding and no accessing the website from outside the router. Thanks, Dennis
  17. i tried without luck all the WS2812 / WS2811 related libraries shown at http://energia.nu/reference/libraries/ they all seem to address different mcu types (?) like https://github.com/ILAMtitan/WS2811Driver complains: 0: fatal error: msp430.h: No such file or directory #include <msp430.h> ^ compilation terminated. and the adafruit neopixel lib for arduino: simple.cpp:5:23: fatal error: avr/power.h: No such file or directory #include <avr/power.h> ^ compilation terminated. actually i need to address only one single WS2812 led. could please point me to the right lib/solution if it already exists ? thanks a lot
  18. Hello, I am building CMSIS DSP library but it takes lots of time in compilation. I want to make a precompiled library of CMSIS DSP. What are the procedures to do it?
  19. Hello, I'm evaluating the CC3200 for use in a somewhat basic wifi application, and I'm wondering what kind of throughput data rates I can expect using Energia? I'm coming from the Bluegiga platform, where the use of the BGScript was painfully slow and very limiting for my purposes - I need to extract a few bytes of each packet from a stream of received packets, and send this data off via UART or SPI -- my maximum need is probably around 1Mb/s. I realize that the rate can very depending on a large number of factors, but I'm just looking for a good guess. Is using energia slower than say using CCS? Do you think I'd be able to achieve this data rate? Thanks!
  20. I need to convert my CC3200's IP address to a series of four bytes. From what I can tell, the IPAddress struct(?) isn't identically equivalent to a four-byte array -- is there any way to do this conversion?
  21. Hi all, At Temboo, we recently released some new machine-to-machine programming tools that let you generate code for M2M networks that use CC3200 LaunchPads as edge devices. You can learn about them here, or pass any questions along to us!
  22. I've just made available an example whose code could be used in various application that use REST APIs and OAuth authentication. It uses the HTTP Client Library that comes with the CC3200 SDK 1.1.0 and TI-RTOS for SimpleLink. All code is in C. It performs the following steps:- Obtains the current time from a SNTP server (this is required by TLS encyrption) Obtain the OAuth 2.0 Authentication token from the Telstra API using HTTP GET over a secure TLS connection Send an SMS message using the Telstra SMS API using HTTP POST over a secure TLS connection There are many more details on the Github Repository:- SMS Doorbell - https://github.com/remixed123/CC3200_SmsDoorBell Here is a video demo of the SMS Doorbell being used - https://vimeo.com/132525037 Glenn
  23. hello, i'm new here and confused where i should place my redbearlab CC3200 wifi mini topics ? my first question would be if there is any WS2812 (neopixel) support for the wifi mini ? thanks
  24. RedBear Labs WIFI mini CC3200 board I tried compiling the blink example and it compiles fine, but fails to upload. Tried using both Windows 7 32bit environment and Ubuntu 14.4 64bit environment. I have installed all the required drivers on Windows. I also had to copy the ftd2xx,dll to the folder where the C3200Prog.exe file is. Received error on both platforms is : Open UART COM1 Can't open device Failed to open uart COM1 Could not open UART COM1 The board seems to work ok because I can connect to it via WIFI. What do I need to do to upload the compiled file. I would prefer a Linux solution.
  25. As an alternative to SmartConfig I want to use the inbuilt web server to allow the user to enter his/her network details I also want to be able to allow a push button type WPS function There are TI examples provisioning_ap and provisioning_wps, essentially, I want to port these to Energia starting with the AP my simplistic attempts have not yielded any results. I flashed the provisioning_ap example to my launchpad and also to a custom board and it worked as advertised. I then flashed my Energia sketch expecting it to trigger the callback. I can log into the Energia AP and the TI web pages are displayed but it didn't print my message. I have read the sections in the SWRU368A.PDF and looked at the sample code but the TI examples are so verbose and often seem to have unnecessary levels of abstraction (especially for an example) So can anyone offer some suggestions on how to use the inbuilt web server with Energia? This is the code/sketch because someone is going to ask to see it. #include <WiFi.h> #include <WiFiClient.h> #include <WiFiServer.h> #include <WiFiUdp.h> // AP Provisioning const char ssid[] = "MyEnergiaAP"; const char wifipw[] = "password"; long retVal = -1; int i; void setup() { Serial.begin(115200); Serial.print("Setting up Access Point named: "); Serial.println(ssid); Serial.print("AP uses WPA and password is: "); Serial.println(wifipw); WiFi.beginNetwork((char *)ssid, (char *)wifipw); while (WiFi.localIP() == INADDR_NONE) { // print dots while we wait for the AP config to complete Serial.print('.'); delay(300); } Serial.println(); Serial.println("AP active.\r\n"); } void loop() { } void SimpleLinkHttpServerCallback(SlHttpServerEvent_t *pSlHttpServerEvent, SlHttpServerResponse_t *pSlHttpServerResponse) { Serial.println("I'm Here SimpleLinkHttpServerCallback"); } Trevor.
  • Create New...