• Announcements

    • bluehash

      Forum Upgrade   03/11/2017

      Hello Everyone, Thanks for being patient while the forums were being fixed and upgraded. Please see details and report issues in this thread. Thanks!

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


  • Community Calendar

Found 124 results

  1. Hi 430h Energia Experts I'm using Energia along with cc3200, i feel using energia is simple and straight since I'm not a "c" expert. I understand that cc3200 has two UART ports (uart0 and uart1) uart0 is in GPIO P01 and P02 - when Jumper J6 and J7 are connected uart1 is in GPIO P57 and P55 - when Jumper J6 and J7 are NOT connected While working on a project with cc3200 I used P01 & P02 as UART1 (Jumper J6 and J7 are connected) to communicate to device1 and now I would like to add another UART based device for which I would like to use UART0 without disturbing UART1 - how to do it? can some one please explain how PIN MUX in energia can be achieved and how to make use of both UART0 and UART1 at the same time in cc3200? Thanks! RRG
  2. Dear All, I am interested in purchasing the following Wifi module based on CC3200 ... http://www.exp-tech.de/en/redbearlab-wi-fi-micro I have noticed that it can be programmed with Arduino like syntax using Energia. I have three questions please: 1) Is there any API to lower power consumption (hibernated mode) since I would like to send data every 2-3 hours? 2) I would like to send data over SSL and I noticed that it has a crypto engine. Could you please let me know if there is any API to upload certificates? If positive are there any examples in Energia? 3) I looked also at the Wifi examples of Energia 1.6.10 but I did not find any example with SSL. Could you please let me know if there is a library for SSL? Thank you in advance. Best, George
  3. Hello all ! Im going to cut straight to the matter. I was trying to follow this tutorial/project : http://jithinkrishnabs.blogspot.no/2015/05/cc3200-wifi-camera-webserver-attractive_13.html Essentially i am using the CC3200 to take a picture and upload it. However the problem im already running into is the following : When i include the adafruit serial camera library i get prompted for <SoftwareSerial.h>. The Adafruit library in question ofcourse uses and needs the SoftwareSerial library. I cannot find any SoftwareSerial library for the CC3200 even though i have sufficient google skills. Using the SoftwareSerial library from the MSP430 obviously doesnt work because its not compatible. I also want to note that im using V17 Energia. This is because when i used the new board management feature in V18 it didnt create a cc3200 folder under "energia\hardware" and as such i had no libraries availible at all. HOWEVER using v17 of energia i now correctly have a cc3200 folder with its coherrent library folder. tldr; Cannot find any usable SoftwareSerial library for cc3200, pls help.
  4. Hi, I'm implementing an application for CC3200MOD in Energia 1.6.10E18 environment in which host MCU (Atmel AT76C114) sends jpeg image data (size varies from 1MB to 3MB) over SPI to CC3200MOD which then sends it over WiFi to PC. So Atmel acts as SPI master and CC3200MOD SPI slave. The bottleneck is SPI receive rate in CC3200MOD end. I need to configure host MCU SPI clock to 10.5MHz in order to receive correct data on CC3200MOD. With higher clock rate the data gets corrupted. When receiving valid data the transfer rate is 0.17 MBps. This is way too low for our purposes. I have understood that by using SPI DMA one could receive higher transfer rate. Are there any SPI DMA examples available for SPI slave receive in Energia environment? Does SPI DMA work on SPI slave when SPI master sends data continuously or does it require changes also for the sending procedure from SPI master? Thanks, Yuzzie
  5. Hi there Currently I am using the Serial1 pin to I2C for the LCD. so, I can't use the Serial1 in the CC3200EMT (multitasking).When I see the source code of Board_init.c, there is Board_openUART() function which seems to initiate the PIN. I need to change the pin 3 and 4 to 7 and 8. but even I changed the source code, it wasn't able to apply them. It seems the complier linking the binaries directly. Did you already announce the procedure how to recreate libraries? or Can you suggest other ways? //MAP_PinTypeUART(PIN_03, PIN_MODE_7); MAP_PinTypeUART(PIN_07, PIN_MODE_5); //MAP_PinTypeUART(PIN_04, PIN_MODE_7); MAP_PinTypeUART(PIN_08, PIN_MODE_5);
  6. Hi Experts I'm using cc3200 MOD and currently using GPIO pin "P01 and P02" as UART modul I know cc3200 has two UART modules - one can be from P01andP02 and other is from P55 and P57. I have a requirement whare I need to retain UART0 and URAT1 for two different use case - one fore display and other to transmit data. I'm using Energia for coding and new to this pinmux etc., Question: from where I need to do the configuration? Should I need to update my INO file? if so with what? can you please help! appreciate your time. Regards,
  7. I've been searching for the Wi-Fi SensorTag firmware. Has anyone see it on TI's wiki or tool site? I just received mine. It works seamlessly, but I wanted to play around with the firmware a little.
  8. I have a CC3200 Launchpad with pre production silicon - CC3200HZ. Launchpad hardware version is 3.2. I've upgraded my PC and this Launchpad takes in older SDK and service pack versions. I don't have time to install and test it. The CC3200 will ship formatted. This helpful member, @Arkham00 has listed out compatible versions of the CC3200 SDK and Service Pack. Free for users with a reputation above 100. For members outside the US, there is a $5 postage charge + >100 reputation points. First come first serve.
  9. Hello chaps! What I'm basically trying to do is record as much audio as I can (about 30k samples from a line-in source) then dump it all over serial. I'd like to use the Audio Booster pack (http://www.ti.com/tool/cc3200audboost) which does all the codec magic for me. But - I can't get it to work with energia. (to be honest, the documentation for how to actually use the thing is pretty poor regardless of programming tool...) I did my best to duplicate the needed parts of the (also terrible) Wifi audio demo app from TI's official SDK but to no avail. Has anyone had success at getting audio off this thing? Thanks!
  10. Hi, I am using CC3200 LaunchXL for configuring LORA semtech 1272 over SPI Driver. I searched a lot example or reference for cc3200 for transmitting message using SPI but unable to get for Energia IDE. I have code for Arduino Lora implementation but unable to run it on Energia. Kindly help me as soon as possible Thanks and regards Rohit
  11. Hi All, I want to use a library which is made for Arduino. But Im having problems when Im trying to compile by using Energia. The First problem is ADC settings bvsm.setAudioInput(BVSM_AUDIO_INPUT, EXTERNAL); There is no EXTERNAL adc reference, How Can I correct this issue? ISR(TIMER2_COMPA_vect) { if (globalBVSMic != NULL && globalBVSMic->isRecording) { //Starts ADC conversion sbi(ADCSRA, ADSC); } } And in this part I get errors, I think I should change the value of ISR which is "TIMER2_COMPA_vect" to something suitable for CC3200, but I couldnt find anything. Can you help me please, I also attach the libraries that I try to use. BVSMic.cpp BVSMic.h
  12. Hello, I have been trying to make the SimpleWebServerWifi example in Energia to work for the past few days. The program is able to compile and upload to the board no problem and I have the most current servicepack installed on the MCU and have the most current Energia IDE installed. The problem I am having is the MCU gets stuck at the line "Wifi.beign(ssid, password)". I have tried connecting to my home router, my phone's hotspot, and also I made my phone's hotspot identical to the example settings so I did not have to change anything in the example to reduce mistakes. (Please find attached the settings I used for the hotspot). When I first go the MCU about a year ago it worked out of the box and I got the Lab0 to work and also wlanstation to work in Code Composer Studio. If anyone has any suggestions on what else I could try they would be greatly appreciated! Thanks in advance, Sheldon
  13. Nice surprise! It’s here! Get your Wi-Fi® SensorTag today Get data from 10 sensors to the cloud in minutes Connect to the cloud in minutes with this ready-to-use demo platform Run applications on 2 AAA batteries Learn more
  14. Hello, In the case there's no internet and I'm trying to connect to a TCP Server on the CC3200 using the following statement tcp.connect(remote_ip, remote_port) // WiFiClient.connect My program hangs for 30 SECONDS on the above statement. Is there a library file where I can reduce this timeout to something more reasonable like 5 seconds? Thanks!
  15. Hi there, Really excited to see the new release of Energia supporting the CC3200 launchpad! I just ordered some for myself. Does anyone know if there are plans to include the SSL demo for the CC3200 in Energia? Thank you!
  16. Hi, I am using MQTT client on CC3200 with Energia. Case1=> When CC3200 is connected to wifi router and there is Internet connection on the router, I received data on MQTT and there was no delay in connection of either tcp or mqtt client. Case2=> This case is valid only when CC3200 is connected to the router but there is no Internet on it. Now the issue is that as cc3200 is connected to the router with no Internet, it will try again and again to establish MQTT connection. But when it tries to establish tcp client connection it takes 28 seconds and when return code from tcp arrives only then the rest of the code resumes to work. It hangs in that part. Is there any way to reduce this time by changing any parameter in the library? I found one constructor in MQTTclient.h library. Client(Network& network, unsigned int command_timeout_ms =30000); I changed the command timeout value by different ones but no change was observed. It was still taking 28 seconds. After that tcp return code came as 0 which indicated that tcp connection was not made. I would like to ask that is there any way to reduce this time. Like can the time it is waiting for return code be changed.Can it be made less? Please reply asap. Waiting for your guidance robertinant@yahoo.com.
  17. Hi, I am currently working on a code in Energia that will allow me to upload and send a binary file wirelessly from a client site to the CC3200. So far, the code has successfully accomplished the following: -the board establishes a Wi-Fi network -commands from a laptop can interact with the board (the Energia Simple Wi-Fi Server example (LED ON/OFF) code was tested to ensure this was working) -a 9 byte binary file is sent through Wi-Fi to the board's volatile memory, saved from volatile memory into an on-baord flash memory file, and confirmed by sending it back to the laptop through a serial connection The code is eventually supposed to receive a larger binary file (we hope around 500 KB) that will represent points on a sinusoidal curve. This file will then be sent to the Audio Booster Pack board to play the audio file. I created a flash file which was opened, and written to through a buffer array containing the binary file contents. This method was successful for a 9 byte file, but I learned that a larger 500 KB file cannot be stored in a buffer array so easily. I think this is because of a lack of RAM space on the board. How can I implement a code in Energia in order save this larger binary file to the flash memory? Is the buffer array approach a good method? Latency isn't really an issue, as long as we can fit the whole file on the board, and then play it after. Thanks, any support is greatly appreciated!
  18. Hi, I am using CC 3200 in ap mode first then when I feed the cc3200 with ssid and password it starts its STA mode. But sometimes cc3200 hangs when shifting from ap 2 sta mode. And when the reset button is pressed my cc3200 connects to ssid that i sent. Why is that happening? Is there any way by which I can do a software reset? I know about the watchdog timer but how to use it in this case. I am pasting my connection code here. #ifndef __CC3200R1M1RGC__ #include <SPI.h> #endif #include <WiFi.h> #include <udma_if.h> const char ssid[] = "CC3200"; const char wifipw[] = "password"; const char s[2] = "-"; char *token; String y = ""; char Rssid[100],Rpsk[100]; unsigned int Port =2390; char packetBuffer[255]; IPAddress Ip(255,255,255,255); char d_name[]="Device Name:Texas Instruments CC3200 Board,\n"; char d_id[]="Device Id:1,\n"; char d_type[]="Device type:Controller with Wi-Fi,\n"; char ReplyBuffer[] = "Device IP is:"; char b[1024]; int j=0; WiFiUDP Udp; void setup() { Serial.begin(115200); pinMode(RED_LED, OUTPUT); // LED will toggle when clients connect/disconnect digitalWrite(RED_LED, LOW); 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."); printWifiStatus(); Udp.begin(Port); } unsigned int num_clients = 0; void loop() { unsigned int a, i; a = WiFi.getTotalDevices(); // Did a client connect/disconnect since the last time we checked? if (a != num_clients) { if (a > num_clients) { // Client connect digitalWrite(RED_LED, !digitalRead(RED_LED)); Serial.println("Client connected! All clients:"); for (i = 0; i < a; i++) { Serial.print("Client #"); Serial.print(i); Serial.print(" at IP address = "); Serial.print(WiFi.deviceIpAddress(i)); Serial.print(", MAC = "); Serial.println(WiFi.deviceMacAddress(i)); } } else { // Client disconnect digitalWrite(RED_LED, !digitalRead(RED_LED)); Serial.println("Client disconnected."); } num_clients = a; } int packetSize = Udp.parsePacket(); if (packetSize) { int len = Udp.read(packetBuffer, 255); if (len > 0)packetBuffer[len] = 0; //unit=atoi(packetBuffer); Serial.println(packetBuffer); /* get the first token */ token = strtok(packetBuffer, s); int w = 0; while( token != NULL ) { if(w == 0){ strcpy(Rssid,token); Serial.println(Rssid); w++; }else if(w == 1){ strcpy(Rpsk,token); Serial.println(Rpsk); } token = strtok(NULL, s); } /* int retVal; retVal = sl_WlanSetMode(ROLE_STA); retVal = sl_Stop(30); retVal= sl_Start(NULL, NULL, NULL); */ UDMAInit(); sl_Start(NULL, NULL, NULL); sl_WlanDisconnect(); sl_NetAppMDNSUnRegisterService(0, 0); sl_WlanRxStatStart(); sl_WlanSetMode(ROLE_STA); /* Restart Network processor */ sl_Stop(30); sl_Start(NULL, NULL, NULL); // attempt to connect to Wifi network: Serial.print("Attempting to connect to Network named: "); delay(5000); // print the network name (SSID); Serial.println(Rssid); // Connect to WPA/WPA2 network. Change this line if using open or WEP network: WiFi.begin(Rssid, Rpsk); 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 printWifiStatus(); } } void printWifiStatus() { Serial.print("SSID: "); Serial.println(WiFi.SSID()); IPAddress ip = WiFi.localIP(); sprintf(b,"%d.%d.%d.%d,",ip[0],ip[1],ip[2],ip[3] ); Serial.print("IP Address: "); Serial.println(ip); long rssi = WiFi.RSSI(); Serial.print("signal strength (RSSI):"); Serial.print(rssi); Serial.println(" dBm"); }
  19. Hello All, Iam working with Redbear micro cc3200, and using energia 17 version for my development. Iam facing some issue EEPROM handling , Where are the EEPROM library available how to install this EEPROM lbrary to energia 17 version I have got EEPROM.h file but still i think some path is issue , as iam still getting issue EEPROM.H no such file or directory found. Thanks in advance , Regards Narasimhaj +91-9901544165 sketch_jan21a.cpp:31:14: fatal error: .h: No such file or directory #include <.h> ^ compilation terminated.
  20. Hello, If I use Energia IDE with CC3200 then Is Energia can support CC3200 APIs during programming? If Yes, then in which language programming I do in Energia with APIs? Regards, Pratik
  21. Hello! I recently started playing with Energia and the CC3200 LaunchPad. I tried the example for "attachInterrupt" in the link: http://energia.nu/reference/attachinterrupt/ I changed the code a little by modifying pinMode and attachIntterrupt #define PUSH 4 ... pinMode(PUSH, INPUT); // I want Pin 4 as my interrupt or SW3 on the board, only Input because the board has a pull down resistor already attachInterrupt(PUSH, blink, FALLING); } void loop() { ... } When I run this example, the interrupt is serviced multiple times at random without me touching the button. I wanted to know if anybody else has encountered the same problem or could someone try it and let me know if the interrupt works for them? I'm not sure what I'm doing wrong. Any advice is welcomed! Thank You!
  22. Hi, I am working with cc3200. I want my device to be able to connect to any network. I want to enable ap mode on energia and then enter networks ssid and password and switch to station mode?? I am new to cc3200 ? can somebody post his/her code of energia here along with changes required in header files or cpp files. Please reply asap
  23. I put together a prototype Booster Pack that attaches to the CC3200 and has a RFID-RC522 card (sometimes called a MIFARE module), two buttons, and two LEDs. The CC3200 is connected to the cloud using Temboo. Currently it sends an email to me with information on the card used when accessed but it would be easy to modify to record time of access, card used, etc and put it into say a spreadsheet. This was a one afternoon plus an evening project for both hardware and software using Energia - very easy to do. The cards have security holes but I am pretty sure they pose too high a technical challenge for my local hooligans. I'm more afraid they might rip it apart and take my CC3200 than anything else. This is the Booster Pack, top view. Here it is attached to an upside down CC3200. In this photo it has been mounted in an enclosure and is reporting a successful read and transmission with the green LED. And if you are really interested, here is the schematic. I am using the RFID library located here. And if you aren't familiar with Temboo, find it here.
  24. friends i'm trying to work with CC3200 with NFC boosterpack by SPI communication.i have downloaded a file (http://www.ti.com/lit/zip/sloc297) .which is compatible with msp430g2553. since i'm not professional enough to change the headers and libraries to work with cc3200. i need help from you guys to make it compatible with cc3200. any kind of help towards this is welcome thanks in advancesloc297.zip
  25. I try to switch ap mode to sta mode but it seem to be freezed. Can anybody help me Here is my code #include "Energia.h" // Include application, user and local libraries #ifndef __CC3200R1M1RGC__ #include <SPI.h> // Do not include SPI for CC3200 LaunchPad #endif #include <WiFi.h> extern "C" { #include "utility/udma_if.h" #include "utility/simplelink.h" } // Define structures and classes // Define variables and constants char wifi_name[] = "energia"; char wifi_password[] = "launchpad"; char ssid[15], passwd[15]; WiFiServer myServer(80); uint8_t oldCountClients = 0; uint8_t countClients = 0; int sign = 0; // Add setup code void setup() { Serial.begin(115200); delay(500); Serial.println("*** LaunchPad CC3200 WiFi Web-Server in AP Mode"); // Start WiFi and create a network with wifi_name as the network name // with wifi_password as the password. Serial.print("Starting AP... "); WiFi.beginNetwork(wifi_name, wifi_password); while (WiFi.localIP() == INADDR_NONE) { // print dots while we wait for the AP config to complete Serial.print('.'); delay(300); } Serial.println("DONE"); Serial.print("LAN name = "); Serial.println(wifi_name); Serial.print("WPA password = "); Serial.println(wifi_password); pinMode(RED_LED, OUTPUT); // set the LED pin mode digitalWrite(RED_LED, LOW); pinMode(GREEN_LED, OUTPUT); // set the LED pin mode digitalWrite(GREEN_LED, LOW); pinMode(YELLOW_LED, OUTPUT); // set the LED pin mode digitalWrite(YELLOW_LED, LOW); IPAddress ip = WiFi.localIP(); Serial.print("Webserver IP address = "); Serial.println(ip); Serial.print("Web-server port = "); myServer.begin(); // start the web server on port 80 Serial.println("80"); Serial.println(); } // Add loop code void loop() { countClients = WiFi.getTotalDevices(); // Did a client connect/disconnect since the last time we checked? if (countClients != oldCountClients) { if (countClients > oldCountClients) { // Client connect // digitalWrite(RED_LED, !digitalRead(RED_LED)); Serial.println("Client connected to AP"); for (uint8_t k = 0; k < countClients; k++) { Serial.print("Client #"); Serial.print(k); Serial.print(" at IP address = "); Serial.print(WiFi.deviceIpAddress(k)); Serial.print(", MAC = "); Serial.println(WiFi.deviceMacAddress(k)); Serial.println("CC3200 in AP mode only accepts one client."); } } else { // Client disconnect // digitalWrite(RED_LED, !digitalRead(RED_LED)); Serial.println("Client disconnected from AP."); Serial.println(); } oldCountClients = countClients; } WiFiClient myClient = myServer.available(); if (myClient) { // if you get a client, Serial.println(". Client connected to server"); // print a message out the serial port char buffer[150] = {0}; // make a buffer to hold incoming data int8_t i = 0; String mystring; while (myClient.connected()) { // loop while the client's connected if (myClient.available()) { // if there's bytes to read from the client, char c = myClient.read(); // read a byte, then Serial.write(c); // print it out the serial monitor if (c == '\n') { // if the byte is a newline character // if the current line is blank, you got two newline characters in a row. // that's the end of the client HTTP request, so send a response: if (strlen(buffer) == 0) { // HTTP headers always start with a response code (e.g. HTTP/1.1 200 OK) // and a content-type so the client knows what's coming, then a blank line: myClient.println("HTTP/1.1 200 OK"); myClient.println("Content-type:text/html"); myClient.println(); // the content of the HTTP response follows the header: myClient.println("<html><head><title>Energia CC3200 WiFi Web-Server in AP Mode</title></head><body align=center>"); myClient.println("<h1 align=center><font color=\"red\">LaunchPad CC3200 WiFi Web-Server in AP Mode</font></h1>"); myClient.print("Red LED <button onclick=\"location.href='/RH'\">HIGH</button>"); myClient.println(" <button onclick=\"location.href='/RL'\">LOW</button><br>"); myClient.print("Green LED <button onclick=\"location.href='/GH'\">HIGH</button>"); myClient.println(" <button onclick=\"location.href='/GL'\">LOW</button><br>"); myClient.print("Yellow LED <button onclick=\"location.href='/YH'\">HIGH</button>"); myClient.println(" <button onclick=\"location.href='/YL'\">LOW</button><br>"); // The HTTP response ends with another blank line: myClient.println(); // break out of the while loop: break; } else { // if you got a newline, then clear the buffer: memset(buffer, 0, 150); i = 0; } } else if (c != '\r') { // if you got anything else but a carriage return character, buffer[i++] = c; // add it to the end of the currentLine } mystring = buffer; int seperate = mystring.indexOf(' '); String ssid1 = mystring.substring(0, seperate); String passwd1 = mystring.substring(seperate + 1); ssid1.toCharArray(ssid, sizeof(ssid1)); passwd1.toCharArray(passwd, sizeof(passwd1)); Serial.println("my wifi is"); Serial.println(ssid); Serial.println(passwd); } } // close the connection: myClient.stop(); Serial.println(". Client disconnected from server"); Serial.println(); WiFi._initialized = false; WiFi._connecting = false; UDMAInit(); sl_Start(NULL, NULL, NULL); sl_WlanDisconnect(); sl_NetAppMDNSUnRegisterService(0, 0); sl_WlanRxStatStart(); sl_WlanSetMode(ROLE_STA); /* Restart Network processor */ sl_Stop(0xFF); sl_Start(0, 0, 0); sign = 1; } if (sign == 1){ Serial.println(WiFi.begin((char*) ssid,(char*) passwd), DEC); while ( WiFi.status() != WL_CONNECTED) { // print dots while we wait to connect Serial.print("."); delay(300); } Serial.println("connected"); } }