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


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.


Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Location


Interests


Sparkfun


Github

Found 178 results

  1. 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
  2. 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?
  3. 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)
  4. 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!
  5. 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
  6. 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
  7. 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?
  8. 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
  9. 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
  10. 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 ??
  11. 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!
  12. 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?
  13. 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 192.168.1.224. 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 192.168.1.224 ? this is all local, so no port forwarding and no accessing the website from outside the router. Thanks, Dennis
  14. 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
  15. 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?
  16. 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!
  17. 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?
  18. 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!
  19. 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
  20. 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
  21. 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.
  22. 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.
  23. I'm getting very frustrated with this CC3200MOD, and the CC3200 in general. First it started with the A0 analog channel always reading 4096 but now on to some GPIO problems. This should be fairly straight forward but apparently they make everything difficult, so I don't know what to say. I have made a custom PCB for using the CC3200MOD. Its supposed to read the 4 ADCs, 3 for accelerometer, which is working great, 1 for an analog microphone, which isn't working at all, but I've given up on it and going to just mux with one of the 3 working ones. Now I have 3 LEDs on the board for general LED applications. These LEDs are on pins(pins of the MOD device) 6,7,8, which correspond to (according to PinMux Tool) GPIO 15,16,17. So ideally I should be able to just pinMode the pins to OUTPUT, and set them HIGH to have the LEDs working. I should mention right now that I have two populated boards both have issues in the same way. So if I was to do this in Energia it would just be: pinMode(15,OUTPUT); pinMode(16,OUTPUT); pinMode(17,OUTPUT); digitalWrite(15,HIGH); digitalWrite(16,HIGH); digitalWrite(17,HIGH); So this is where it gets strange, only 1 LED turns on, only GPIO16. But here is the kicker, GPIO16 turns on only when I enable GPIO15!! What the heck is going on, I think there is an issue with Energia incorrectly labelling pins but I cannot find the solution. I think this is also the issue with the analog pin, but I want to sort this out first. Does anyone know what is going on? Ill break it down: GPIO16 turns on when I digitalWrite(15,HIGH) GPIO15 and GPIO17 don't turn on at all and get some weird low voltage on them. Using Energia
  24. I'm working with the CC3200XL and the Grove starter kit. It contains a PIR sensor. When I try to run the sample, it complains about a missing file. I can't find the file anywhere and don't even understand why Energia is looking for it. But what I need to know is, where can I find the source and header for the file. java.io.FileNotFoundException: C:\Users\Dan\AppData\Local\Temp\build5629486675398969734.tmp\pir_motion_sensor.cpp (The system cannot find the path specified) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.java:179) at java.io.FileOutputStream.<init>(FileOutputStream.java:131) at processing.app.preproc.PdePreprocessor.writePrefix(PdePreprocessor.java:142) at processing.app.Sketch.preprocess(Sketch.java:1430) at processing.app.Sketch.preprocess(Sketch.java:1345) at processing.app.Sketch.build(Sketch.java:1624) at processing.app.Sketch.exportApplet(Sketch.java:1655) at processing.app.Sketch.exportApplet(Sketch.java:1641) at processing.app.Editor$DefaultExportHandler.run(Editor.java:2521) at java.lang.Thread.run(Thread.java:619) processing.app.debug.RunnerException: Build folder disappeared or could not be written at processing.app.Sketch.preprocess(Sketch.java:1437) at processing.app.Sketch.preprocess(Sketch.java:1345) at processing.app.Sketch.build(Sketch.java:1624) at processing.app.Sketch.exportApplet(Sketch.java:1655) at processing.app.Sketch.exportApplet(Sketch.java:1641) at processing.app.Editor$DefaultExportHandler.run(Editor.java:2521) at java.lang.Thread.run(Thread.java:619) Here's the example file: /* Grove PIR Motion Sensor (Passive Infrared) The following sketch demonstrates a simple application of sensing motion. When someone moves in the sensor's detecting range, it will output HIGH through its SIG pin and the LED will turn on. Otherwise, it will output LOW. Then you can use it to detect the motion of people. The circuit: * Grove PIR Motion Sensor attached to Pin 7 (J12 plug on Grove Base BoosterPack) * Note: Position the Motion Sensor's jumper on N_Retrig to ensure the light stays on while motion is present This example code is in the public domain. http://www.seeedstudio.com/depot/Grove-PIR-Motion-Sensor-p-802.html */ /* Macro Define */ #define PIR_MOTION_SENSOR 7 /* sig pin of the PIR sensor */ #define LED RED_LED /* LED */ /* the setup() method runs once, when the sketch starts */ void setup() { pinMode(PIR_MOTION_SENSOR, INPUT); /* declare the sig pin as an INPUT */ pinMode(LED, OUTPUT); /* declare the LED pin as an OUTPUT */ digitalWrite(LED, LOW); } /* the loop() method runs over and over again */ void loop() { if(isMotionDetected()) { digitalWrite(LED, HIGH); /* if we detect movement, turn on the LED */ } else { digitalWrite(LED, LOW); /* no movement, turn off the light */ } } /* check if motion has been detected */ boolean isMotionDetected() { int sensor_val = digitalRead(PIR_MOTION_SENSOR); /* read sig pin */ if(sensor_val == HIGH) { return true; /* motion detected */ } else { return false; /* no motion detected */ } }
  25. I have a Dig Pot the TPL0501 by Texas Instruments that I am trying to control with a micro controller. Link Here: http://www.ti.com/lit/ds/slis136a/slis136a.pdf I have been able to successfully control this with my CC3200 and the output signals look like Photo 1 attatched. I have since decided I want to do this with my MSP432 but I am not able to get it to work. The same code should work for each I assume. The output signals I am getting for the MSP432 are shown in photo 2. I have tried changing the mode but nothing seems to help. Any ideas? My code is listed below: #include <SPI.h> const int SS = 18; uint8_t value = 150; void setup() { pinMode(SS, OUTPUT); SPI.begin(); digitalWrite(SS, HIGH); SPI.setBitOrder(MSBFIRST); SPI.setDataMode(SPI_MODE3); SPI.setClockDivider(SPI_CLOCK_DIV32); } void loop() { digitalPotWrite(value); delay(100); } int digitalPotWrite(int x) { digitalWrite(SS, LOW); SPI.transfer(x); digitalWrite(SS, HIGH); }
×
×
  • Create New...