Search the Community

Showing results for tags 'cc3200'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • 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

Calendars

There are no results to display.


Found 130 results

  1. 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
  2. Dear all, I would like to send over Wifi 350Kb of data using the "WiFiClient.print" API. Could you please let me know what is the maximum length of data I could send in every POST? Is it possible to increase it? Thanks in advance. Best, George
  3. Hello, I have an issue related to SoftwareSerial.h related header file. I place this header file in ..\energia-0101E0017\hardware\cc3200\libraries. But still I got following error: D:\..\energia-0101E0017\hardware\cc3200\libraries\SoftwareSerial\SoftwareSerial.cpp: In member function 'virtual size_t SoftwareSerial::write(uint8_t)': D:\\..\\energia-0101E0017\hardware\cc3200\libraries\SoftwareSerial\SoftwareSerial.cpp:450:21: error: 'SREG' was not declared in this scope uint8_t oldSREG = SREG; ^ D:\..\energia-0101E0017\hardware\cc3200\libraries\SoftwareSerial\SoftwareSerial.cpp:451:7: error: 'cli' was not declared in this scope cli(); // turn off interrupts for a clean txmit ^ D:\..\energia-0101E0017\hardware\cc3200\libraries\SoftwareSerial\SoftwareSerial.cpp:455:26: error: 'XMIT_START_ADJUSTMENT' was not declared in this scope tunedDelay(_tx_delay + XMIT_START_ADJUSTMENT); ^ D:\..\energia-0101E0017\hardware\cc3200\libraries\SoftwareSerial\SoftwareSerial.cpp: In member function 'virtual void SoftwareSerial::flush()': D:\..\energia-0101E0017\hardware\cc3200\libraries\SoftwareSerial\SoftwareSerial.cpp:498:21: error: 'SREG' was not declared in this scope uint8_t oldSREG = SREG; ^ D:\..\energia-0101E0017\hardware\cc3200\libraries\SoftwareSerial\SoftwareSerial.cpp:499:7: error: 'cli' was not declared in this scope cli(); ^ So, please give me a solution. Regards, Pratik
  4. I've been tinkering with AWS IoT in conjunction with CC3200 + Energia for a while now with varying degrees of success. The purpose of this post is using the RESTful API to update a "thing" status in the cloud. The code is listed below and I'm seeing some authentication errors. I was hoping someone can correct me if there are any errors in the way I'm using "client.ssConnect". I used a slightly modified WiFiClient.cpp and WiFiClient.h from here. I know its not a library issue since I'm able to connect using MQTT. char aws_endpoint[] = "xxxxxxxxxxxxxx.iot.us-east-1.amazonaws.com"; if (client.sslConnect(aws_endpoint, 443)) { Serial.println("Connected to server"); String PostData = "{\"value1\" : \"testValue\", \"value2\" : \"Hello\", \"value3\" : \"World!\" }"; request = "POST /things/"; request += thingname; request += "/shadow"; request += " HTTP/1.1"; Serial.print("Request:\t"); Serial.println(request); Serial.print("Post data:\t"); Serial.println(PostData); client.println(request); client.println("Host: "); client.println(aws_endpoint); //client.println(":443"); client.println("User-Agent: Energia/1.1"); client.println("Connection: close"); client.println("Content-Type: application/json"); client.print("Content-Length: "); client.println(PostData.length()); client.println(); client.println(PostData); client.println(); } else { Serial.println("Connection failed"); } Serial.println(); // Capture response from the server. (10 second timeout) long timeOut = 5000; long lastTime = millis(); while((millis()-lastTime) < timeOut) { // Wait for incoming response from server while (client.available()) { // Characters incoming from the server char c = client.read(); // Read characters Serial.write(c); } } Here is the output that I see: RootCA found! Client certificates found! Device ID is: 3250763216 Attempting to connect to WiFi network . Connected to WiFi network: ABCDEFGH Waiting for IP IP is: 192.168.1.107 Connected to server Request: POST /things/MyCC3200/shadow HTTP/1.1 Post data: {\"value1\" : \"testValue\", \"value2\" : \"Hello\", \"value3\" : \"World!\" } HTTP/1.1 403 Forbidden content-type: application/json content-length: 91 date: Tue, 26 Jul 2016 11:46:59 GMT x-amzn-RequestId: 4d5388a9-e3c4-460a-b674-c3f971f3330d connection: Keep-Alive x-amzn-ErrorType: ForbiddenException: {"message":"Missing Authentication Token","traceId":"4d5388a9-e3c4-460a-b674-c3f971f3330d"}
  5. Dear All, I am writing to you because I am experiencing problems with uploading code to CC3200 module. I have purchased the RedbearLab WifiMicro Kit (http://www.exp-tech.de/en/redbearlab-wi-fi-micro-kit) which worked for a few uploads but after that I had the following error: //--------------------------------------------------------------------------------------------------- Sketch uses 2,936 bytes (1%) of program storage space. Maximum is 262,144 bytes. Can't open device Opening COM5 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 --- Connection failed trying to reconnect... (1 attempt) 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 erasing file "/sys/mcuimg.bin" deleting file "/sys/mcuimg.bin" erase file completed Downloading file "/sys/mcuimg.bin" with size 2936 .Download complete DEBUG cc3200prog.c:2667: write failed DEBUG cc3200prog.c:2673: write failed DEBUG cc3200prog.c:2679: write failed DEBUG cc3200prog.c:2685: write failed //--------------------------------------------------------------------------------------------------- After a few uploads both the WifiMicro and the MK20 Usb dongle stop functioning. I cannot see the MK20 at the Com Ports anymore. So, instead of using the MK20 to upload code I used the FTDI Friend by Adafruit and I connected (GND, CTS, VCC, Tx, Rx, RTS) of the FDTI to the corresponding pins of the WifiMicro (GND, NRST, VDD, Rx, Tx, D13) http://discuss.redbear.cc/t/cc3200-wifi-micro/897. Unfortunately I am getting the following error in uploading ... Any help will be really appreciated! Best, George //---------------------------------------------------------------------------------------------------- Energia: 1.6.10E18 (Windows 8.1), Board: "RedBearLab WiFi Micro w/ CC3200 (80MHz)" Sketch uses 22,576 bytes (8%) of program storage space. Maximum is 262,144 bytes. Opening COM7 Can't open device Triggering bootloader.... Trigger bootloader failed. Retrying... (1 attempt) Trigger bootloader failed. Retrying... (2 attempt) Trigger bootloader failed. Retrying... (3 attempt) Trigger bootloader failed after 3 attempts Failed to trigger bootloader An error occurred while uploading the sketch //----------------------------------------------------------------------------------------------------
  6. Hi everyone, I am trying multitasking energia example provided in energia webpage as well as example available with energia IDE. (http://energia.nu/guide/multitasking/) However, the multitasking is not working. From the codes given in (http://energia.nu/guide/multitasking/) the section with setup/loop par is only operational while operations defined in setupGreenLed() / loopGreenLed() and setupRedLed()/loopRedLed() pairs are not executed. Kindly note that as mentioned each pair is declared as separate task. If multiple task panels does not contain standard setup/loop pair following error is generated: --------------------------------------------------- C:\Users\Tiwari\AppData\Local\Temp\build4973a9ae8611f59efc23ab687631bc5a.tmp/core\core.a(main.cpp.o): In function `main': C:\Users\Tiwari\AppData\Local\Energia15\packages\energia\hardware\cc3200\1.0.2\cores\cc3200/main.cpp:39: undefined reference to `setup' C:\Users\Tiwari\AppData\Local\Energia15\packages\energia\hardware\cc3200\1.0.2\cores\cc3200/main.cpp:42: undefined reference to `loop' collect2.exe: error: ld returned 1 exit status exit status 1 Error compiling for board CC3200-LAUNCHXL (80MHz). ------------------------------------------------------- In essence in multiple tasks atleast one of the task must be declared specifically using "setup/loop" pair and not just any unique pair like " setup_x/loop_x ". For reference I have added the Ino sketches. I am wondering is multitasking requires some specific jumper connections or settings prior to usage. Kindly suggest. Thank you multitask_energia_ex.zip
  7. I am using launchpad cc3200 and i saw the attachInterrupt function. Is there a function to set the priorities of multiple interrupts ? I wish to declare the interrupt priorities of two or more tasks Thanking you
  8. Hi All , I am using cc3200 launchpad and energia as IDE in my application . I wrote some code in that around 16 gpio of cc3200 so some of gpio are toggling automatically can anyone suggest me what modification I need to do ?
  9. 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.
  10. 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
  11. 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
  12. 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);
  13. 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,
  14. 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.
  15. 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.
  16. 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!
  17. 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
  18. 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
  19. 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
  20. 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
  21. 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!
  22. 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!
  23. 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.
  24. 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!
  25. 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"); }