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 178 results

  1. Hello, my plan is to use the built in serial flash memory of the CC3200 launchpad board (it holds 8 mbit, its a 25PE80VP from ST) for storing multiple GIF files. Can anyone give me a hint how to save/load from the serial flash and what is the type of file system? Sorry if its a nonsense question, i am quite new to CC3200... Cheers, Max
  2. Hi, I am just getting started with CC3200 and Energia for my very first project. I wanted to know if it's possible to use pinmux to configure pins of the cc3200 on Energia? if yes/no, what is the procedure/alternative?
  3. Hello everyone, Is it possible to create a "host name" for the wifi server running on CC3200 Launchpad?, if yes, does anyone know how or have a sample code?. Thanks.
  4. Just got my CC3200 LaunchPad and am trying to install the Service Pack ( as described here: http://energia.nu/cc3200guide/#upgrade Apparently I can connect to the board (from UniFlash on Windows XP) on COM3, but the Service Pack installation gets to "Executing operation: Connect", then "setting break signal", and
  5. Hi, I am trying to connect my CC3200 to the home WiFi using the AP mode. I was wondering if there is any sample code for that? I have difficulty to communicate with the CC3200 webserver and send my WiFi info through the html form. I tried to use Webduino but no success. Thanks,
  6. Hello, I am having a problem getting the CC3200's built in accelerometer to transmit data over WiFi. I have the BMA222 example working perfectly and I can send static data from the CC3200 easily, but when I combine the two I cannot send accelerometer data over WiFi faster than once every 10 seconds. #include <WiFi.h> #include <Wire.h> #include <BMA222.h> char ssid[] = "private"; char password[] = "vastcartoon245"; unsigned int localPort = 2390; IPAddress ip; long rssi; WiFiUDP Udp; BMA222 mySensor; void setup() { mySensor.begin(); uint8_t chipID = mySensor.chipID(); pinMode(RED_LED, OUTPUT); pinMode(YELLOW_LED, OUTPUT); pinMode(GREEN_LED, OUTPUT); digitalWrite(RED_LED, LOW); digitalWrite(YELLOW_LED, LOW); digitalWrite(GREEN_LED, LOW); Serial.begin(9600); WiFi.begin(ssid, password); while ( WiFi.status() != WL_CONNECTED) { digitalWrite(YELLOW_LED, HIGH); delay(150); digitalWrite(YELLOW_LED, LOW); delay(150); } digitalWrite(YELLOW_LED, HIGH); while (WiFi.localIP() == INADDR_NONE) { digitalWrite(GREEN_LED, HIGH); delay(150); digitalWrite(GREEN_LED, LOW); delay(150); } digitalWrite(GREEN_LED, HIGH); Udp.begin(localPort); } void loop() { ip = WiFi.localIP(); rssi = WiFi.RSSI(); int8_t acclX = mySensor.readXData(); int8_t acclY = mySensor.readYData(); int8_t acclZ = mySensor.readZData(); Udp.beginPacket("", 42679); Udp.print("{ rssi: '"); Udp.print(rssi); Udp.print("', ip: '"); Udp.print(ip); Udp.print("', accl_x: '"); Udp.print(acclX); Udp.print("', accl_y: '"); Udp.print(acclY); Udp.print("', accl_z: '"); Udp.print(acclZ); Udp.print("' }"); Udp.endPacket(); delay(10); } Any help would be appreciated! Also, this is my output. Obviously rssi and accl are all wrong, but the main problem is it took about a min to get all of that. { rssi: '0', ip: '', accl_x: '-8', accl_y: '-8', accl_z: '-8' } { rssi: '0', ip: '', accl_x: '-8', accl_y: '-8', accl_z: '-8' } { rssi: '0', ip: '', accl_x: '-8', accl_y: '-8', accl_z: '-8' }
  7. Hi All, I just wanted to share my design with for CC3200MOD. It has CC3200MOD and its minimum requirement including Antenna, plus Lipo Charger and regulator to work with LiPo Battery. And has pin layout of LaunchPad XL. And also has pinout for Flash and JTAG I used CC3200 LaunchPad XL to program it. So far I can confirm CC3200MOD and Antenna works fine and Antenna Gain is pretty good. Here is the address and GitHub. https://github.com/alikian/CC3200MOD
  8. hi,frnds i would like to work with cc3200 and nfcboosterpack trf7970a in energia IDE .Does any one have energia library for TRF7970A boosterpack. i have attached a pdf which helps to make a library for iso1443a and iso5693 i tried this code for msp430g2553 but its not working please any one can help me TestTRF7970A_with_BPV3 (1).pdf nfcpin.pdf #include<SPI.h> #define enable P2_2 #define CS P2_1 #define interrupt P2_0 #define CS_ENABLED digitalWrite(CS,LOW) #define CS_DISABLED digitalWrite(CS,HIGH) void setup() { // put your setup code here, to run once: pinMode(CS,OUTPUT); pinMode(enable,OUTPUT); digitalWrite(enable,LOW); pinMode(interrupt,INPUT); SPI.setDataMode(SPI_MODE1); SPI.setClockDivider(SPI_CLOCK_DIV8); SPI.setBitOrder(MSBFIRST); SPI.begin(); Serial.begin(9600); } void loop() { // put your main code here, to run repeatedly: let(); } void let(void) { CS_ENABLED; Write(0x83); CS_DISABLED; CS_ENABLED; Write(0x09); Write(0x31); CS_DISABLED; CS_ENABLED; Read(0x49); CS_DISABLED; CS_ENABLED; Write(0x01); Write(0x88); CS_DISABLED; CS_ENABLED; Read(0x41); CS_DISABLED; CS_ENABLED; Write(0x00); Write(0x20); CS_DISABLED; CS_ENABLED; Read(0x40); CS_DISABLED; CS_ENABLED; Write(0x01); Write(0x88); CS_DISABLED; CS_ENABLED; Write(0x8F); Write(0x90); Write(0x3D); Write(0x00); Write(0x0F); Write(0x26); CS_DISABLED; delay(100); CS_ENABLED; Write(0x6C); Read(0xC0); Read(0x3E); CS_DISABLED; CS_ENABLED; Write(0x5C); Read(0x02); CS_DISABLED; CS_ENABLED; Write(0x7F); Read(0x04); Read(0x00); CS_DISABLED; CS_ENABLED; Write(0x8F); CS_DISABLED; CS_ENABLED; SPI.transfer(0x4F); Read(0x7F); CS_DISABLED; delay(20); CS_ENABLED; Write(0x8F); Write(0x90); Write(0x3D); Write(0x00); Write(0x20); Write(0x93); Write(0x20); CS_DISABLED; delay(5); CS_ENABLED; Write(0x6C); Read(0xC0); Read(0x3E); CS_DISABLED; CS_ENABLED; Write(0x5C); Read(0x05); CS_DISABLED; CS_ENABLED; Write(0x7F); Read(0xCD); Read(0x88); Read(0x77); Read(0x66); Read(0x00); delay(10); CS_DISABLED; CS_ENABLED; Write(0x6C); Read(0x00); Read(0x3E); CS_DISABLED; CS_ENABLED; Write(0x8F); CS_DISABLED; CS_ENABLED; Write(0x4F); Read(0x7F); CS_DISABLED; } void Read(byte data ) { Serial.print(SPI.transfer(data)); } void Write(byte data) { SPI.transfer( data); }
  9. Hi folks I started to use CC3200 in the ENERGIA environment. I was using the examples from the Book "Arduino projects to save the world" I tested the code on an Arduino UNO board, and is OK. But in the CC3200, only one Analog channel is printed correctly, in the getADC() function, I can comment any two // ADC1 = analogRead(A1); statement and the third will print correctly I am new on ENERGIA so any help will be apreciated. The code follows: //Listing 2-4. Software-calibrated Version of SpiderTemps. /* SpiderTemps 6 sensor plus software calibration Arduino projects to save the world This sketch reads all six analog inputs, calculates temperature© and outputs them to the serial monitor. */ //-------------- Modified for Tree LM35 on AN1 AN2 and AN3 ---------------------- float temp1, temp2, temp3; int ADC1, ADC2, ADC3; int LM35offset = 0; float calibration1 = 0; float calibration2 = 0; float calibration3 = 0; void setup() { Serial.begin(9600); } void loop() { getADC(); temp1 = calcTemp(ADC1, LM35offset, calibration1); temp2 = calcTemp(ADC2, LM35offset, calibration2); temp3 = calcTemp(ADC3, LM35offset, calibration3); Serial.print(temp1, 0); Serial.print(" "); Serial.print(temp2, 0); Serial.print(" "); Serial.println(temp3, 0); delay(500); } void getADC() { ADC1 = analogRead(A1); ADC2 = analogRead(A2); ADC3 = analogRead(A3); } float calcTemp (int val, int offset, float cal) { return (((val * 0.3418) - offset) / 10) + cal; // 1.4V / 4096 12Bit ADC }
  10. Hello all, i an new to CC3200 and I was trying to use the ENERGIA environment in this start.
  11. Hi Everyone, I have put together an example iOS App that controls the CC3200 LaunchPad's LEDs using UDP packets. Features Control the CC3200 LaunchPad's Red or Orange LED by pressing ON or OFF within the App Press a button to open a browser which loads the CC3200 LaunchPad's internal web server configuration pages Press a button to open the Github repository Code Access The code is stored on my Github account here - https://github.com/remixed123 There are two repositories you will need:- startproject_ios - this is the repository with the Objective C code ready to work with Xcode and an iOS device or the emulator startproject_cc3200_ti-rtos - this is the repository with the C code ready to work with Code Composure Studio and the CC3200LaunchPad (This is also great starter code for any project that is using Ti-RTOS) iOS App And here is what the app looks like.....nice and simple. Please let me know if you find any bugs, and also feel free to push any updates to the respective repositories. Glenn. ---------------- Code Examples: End to End IoT Proof of Concept Using Microsoft Azure and CC3200: http://ssmlwf.azurewebsites.net/ iOS App that controls CC3200 LEDs using UDP: https://github.com/remixed123/startproject_ios CC3200 Starter Code for TI-RTOS: https://github.com/remixed123/startproject_cc3200_ti-rtos
  12. CC3200 LAUNCHXL v4.1 ENERGIA 0101E0013 WINDOWS 7 Hi Guys, So I just got a few CC3200 Launchpads to do some prototyping on. Ultimately I would like to be able to connect onto the Launchpad without having to first go through my router. But I digress... I've been running the SImpleWebServerWIFI sketch from Energia. It works as expected when I have my computer with Chrome accessing it, But as soon as I connect with my Android phone(4.4.2) and chrome(v39.0.2171.59) and press a button the unit freezes up. Attempting to connect to Network named: WNL108 .. You're connected to the network Waiting for an ip address . IP Address obtained SSID: WNL108 IP Address: signal strength (RSSI):0 dBm To see this page in action, open a browser to Starting webserver on port 80 Webserver started! new client GET / HTTP/1.1 Host: Connection: keep-alive Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8 User-Agent: Mozilla/5.0 (Linux; Android 4.4.2; D6503 Build/17.1.2.A.0.314) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.59 Mobile Safari/537.3 As I initially said I would like to be able to connect directly to my CC3200 device. Any help would be greatly appreciated
  13. Hi, I've made a very simple RTC library using the RTC method in the PRCM library. It is intended for the CC3200 Launchpad and has only been tested on the CC3200 Launchpad so far. Overview: Uses the PRCM library It follows UNIX Time It was made with the "Time" library of the Sparkcore in mind. It has the following methods:ccRTC.zone() ccRTC.now() ccRTC.year() ccRTC.month() ccRTC.day() ccRTC.weekday() ccRTC.hour() ccRTC.minute() ** ccRTC.begin() Limitations: (Unfortunately there are a few actual limitations) It is accurate to only about 4 seconds an hour. (That is pretty bad, but can it can be used for non time critical applications if time is synced with an online server regularly) My tests haven't shown any issues so far, but it is not foolproof yet. If you're using an NTP server to sync time, then you'll need to convert it to UNIX time first before you use the ccRTC.setTime() You can get the code and a basic guide from here : https://github.com/nitred/ccRTC Additional Documentation for the the functionality can be found here : http://docs.spark.io/firmware/#libraries-timeIt Its a work in progress and I know for a fact that there's a better way to do it than this but I really needed this library and I hope you find it helpful too. Any and all feedback and improvements are welcome!
  14. The Tiva Launchpads have a hardware Quadratic Encoder Interface peripheral. The documents on CC3200 doesn't seem to depict it. I had the wrong impression that CC3200 has the same kind of peripherals as Tiva in addition to the WiFI feature set. Can any one confirm if indeed hardware QEI peripheral is not available in CC3200?
  15. In the Energia port for the CC3200, will there be an avr/pgmspace.h replacement to help manage access to the program memory? If it is not already in the works, would such a thing be workable? As I understand it, the CC3200 stores program in an external memory, and loads it into RAM for execution. The AVR has two memory spaces (program and data), and on Arduino, avr/pgmspace.h defines various macros, etc. for using data in program space. Seems like it might be possible to create a pgmspace.h (and accompanying library) which would allow use of data stored in the CC3200 external memory in a way compatible with some Arduino libraries. Just a thought at this point, I have not studied the CC3200 architecture, and my familiarity with pgmspace.h is mostly in finding ways to work around it when porting AVR Arduino libraries to ARM. (Got started thinking about this because I was thinking it would be nice if Energia included a avr/pgmspace.h for MSP430 and for Tiva, similar to what TeensyDuino does. http://forum.stellarisiti.com/topic/1983-howto-porting-libraries-some-help-needed/?p=7660 )
  16. I have been attempting to work with serial communication between the board and other devices, but cannot get them to communicate while on connected to the booster pack rails. The only time I have ever gotten any Serial communication to work is by connecting a UART device to J6 & J7 in the middle. Is there a different Pin configuration I need to get those to work? I switched the jumpers on J6 & J7 down after downloading my code to the CC3200.
  17. Hi, I know Energia today and tried the example code "Blink" of Energia, but it shows "Upload failed.". More output is like below. C:\Users\Tom\AppData\Local\Temp\build445850278507810895.tmp\Blink.cpp.bin] Binary sketch size: 4,128 bytes (of a 262,144 byte maximum) Opening \\.\COM17 Getting storage list Bootloader Version: 4 Silicon version ES1.32 Bootloader version is 2, 1, 4, 0 It's a CC3101 device: PG1.32 BlockSize is 4096, number of blocks is 64 erasing 1 blocks starting from 4 Switch to NWP bootloader complete Silicon version ES1.32 Bootloader version is 2, 0, 4, 0 BlockSize is 4096, number of blocks is 16 erasing 12 blocks starting from 0 I flashed the Service Pack to my CC3200LAUNCHPAD Rev4.1, and tried CC31xx_CC32xx_ServicePack_1.0.0.1, CC31xx_CC32xx_ServicePack_1. and CC31xx_CC32xx_ServicePack_1., but still failed like above. And I had connected SOP2-bottom with J8-top sides when using Energia. Workaround: I can use Energia to compile, and use UniFlash to flash the image to the kit. Could anyone help? Thanks!
  18. Two problems with delayMicroseconds on Tiva (and I believe on CC3200) 1) The delay interval is erratic, appearently because delayMicroseconds does not handle rollovers of the systick counter correctly. 2) delayMicroseconds can not work for dealys longer that 10,000 microseconds. (Even though the documentation says that it works up to 16383, and even includes an example.) Details: Issue 1) Code to demonstrate problem: #define DELAY_FOR 5000 void setup() { Serial.begin(9600); Serial.print("Delay"); Serial.println(DELAY_FOR); Serial.print("elapsed tics should be: "); Serial.println(F_CPU/1000000); } void loop() { unsigned long i = micros(); unsigned long systicstart = HWREG(NVIC_ST_CURRENT); delayMicroseconds(DELAY_FOR); unsigned long systicstop = HWREG(NVIC_ST_CURRENT); unsigned long p = micros(); unsigned long o = p-i; Serial.print("Before: "); Serial.print(i); Serial.print(" Systic: "); Serial.println(systicstart, HEX); Serial.print("After: "); Serial.print(p); Serial.print(" Systic: "); Serial.println(systicstop, HEX); Serial.print("After-Before: "); Serial.print(o); Serial.print(" Systic: "); Serial.println(systicstart - systicstop, HEX); Serial.print("Error: "); Serial.print(((long int)DELAY_FOR) - ((long int)o)); Serial.print("\t Systic: "); Serial.println((long int)((systicstart - systicstop) & 0xFFFFFF)-((long int)(F_CPU/1000000))); Serial.println(); } Just loops forever doing a delay, then printing how long the delay took (prints both in micros(), and ticks of the systick counter. (Note that micros() does not use the systick timer.) Example output: Before: 8470600 Systic: B5751 After: 8475601 Systic: 53C94 After-Before: 5001 Systic: 61ABD Error: -1 Systic: 399981 Before: 8599763 Systic: 2735 After: 8599893 Systic: C33E4 After-Before: 130 Systic: FFF3F351 Error: 4870 Systic: 15987457 Before: 8734135 Systic: 7055D After: 8739137 Systic: EAA0 After-Before: 5002 Systic: 61ABD Error: -2 Systic: 399981 While usually the delay is about 5000 microseconds, often it isn't (in the middle reading above the delay is much too short). The code from wiring.c (this is for Tiva, the CC3200 code is somewhat similar). void delayMicroseconds(unsigned int us) { volatile unsigned long elapsedTime; unsigned long startTime = HWREG(NVIC_ST_CURRENT); do{ elapsedTime = startTime-(HWREG(NVIC_ST_CURRENT) & 0x00FFFFFF); } while(elapsedTime <= us * (F_CPU/1000000)); } There are a few suspect things about this code: Since it is subtracting unsigned values, it seems to be the intention to rely on modular arithmatic to get the comparisons right. (As in discussed in this page http://www.thetaeng.com/TimerWrap.htm ). However as I understand it, for that to work the timer needs to overflow at the full width of the values being stored. In this case the timer is at most a 24 bit timer, but the values are 32 bits. If the full timer was being used, it might be possible to fix that by masking off the top 8 bits. elapsedTime = (startTime-HWREG(NVIC_ST_CURRENT)) & 0x00FFFFFF; However in this case the full width of the timer is not being used, it wraps to F_CPU/SYSTICKHZ after reaching 0 (it is a count down timer). So it looks like every time the systick timer rolls over, any delayMicroseconds which is in progress will have an unexpected result. (In the above output, where the delay was short, not the starting the starting value of NVIC_ST_CURRENT is small, and the ending value is close to C3500, which is F_CPU/SYSTICKHZ on a Tiva launchpad, i.e. the counter rolled over). Small side issue: The code also seems to assume that the upper 8 bits of NVIC_ST_CURRENT will always be 0 (the manual warns against making assumptions about such bits). A fix for that would be to add & 0x00FFFFFF to where startTime is set. I do not have a particular suggestion of how to fix the code. I think this issue also applies to the CC3200 (just from looking at the source code, but I have not checked that out in detail, and I do not have one to test.) -- 2) Since the systick counter rolls over every 10000 microseconds, delayMicroseconds can not delay for longer than that. .../energia-0101E0013/reference/DelayMicroseconds.html The documentation says "Currently, the largest value that will produce an accurate delay is 16383." (There is also an example which uses delays of this length.) The documentation may be a holdover from Arduino, which says the same thing, even though it does not appear to apply to the Arduino Due, for instance. (I do not know if this was true of MSP430.) A possible fix for the delay duration issue would be to add something like the following to the beginning of delayMicroseconds if (us > 9000){ delay( us / 1000); us = us % 1000; }; (the 9000 was somewhat arbitrary, rather than a constant it should be calculated based on SYSTICKHZ ). Might also be well to clarify the documentation about which platform the 16383 relates to. This is all on Energia 13, but I believe was also present in Energia 12.
  19. Hi All, I just started using cc3200 launch pad. I could get a external LED blink from webserver running on cc3200. I used SimpleWebServerWifi example to achieve it. Now I wanted to power the launch pad using 2 AA batteries. I could power it as per instructions, but it is not lasting more than 1 hour. Can someone tell me how to enable power saving mode? I want to wakeup only GPIO pins after webserver receives any request. Please help me. Thanks Venu
  20. possbile add some cc3200 function to energia cc3200 wifilibrary like sl_WlanProfileAdd, sl_WlanProfileDel, sl_WlanProfileGet . what should i do?
  21. The example "servo sweep" program under "education" does not seem to compile it gives the error ServoSweep.ino:20:20: fatal error: Servo.h: No such file or directory Anyone able to get a servo to be controlled by the cc3200 with energia?
  22. I am trying to create a project that involves reading all of the digital pins while some pins may be in PWM mode. I do not want to read a pin if it is in PWM mode. According to the analogWrite documentation, a pulse will be sent out to a pin until another analogWrite has been called on that pin, or a digitalRead or Write. I first tried to find a way to check if a pin was in PWM mode, but couldn't find anything. I then called a digitalRead() on a pin after analogWrite() was called. The pin continues in PWM mode after the digitalRead while the read returns a value. analogWrite(10,1); //sets LED to a dim light Serial.println(digitalRead(10)); //reads a value, sometimes 0, sometimes 1 delay(3000); //light stays at same brightness as before Is there a way to check if a digital pin is in PWM mode? Why does a digitalRead on a pin in PWM mode not stop the PWM? I'm using a CC3200 Launchpad and Energia binary from 9/5/2014. Thanks
  23. Hi guys, I am working on a project and am in need of a second WiFi booster pack for my MSP430f5529LP. I have been using energia code as a base for my project and it has been working great, but I recently decided I need a second MSP + BoosterPack. Anyways, the TI store doesn't seem to be offering the CC3000 booster pack right now so I am wondering how easy it is to make my cc3000 code compatible with the cc3100 or cc3200 BoosterPack. Does anyone have experience with this upgrade? Thanks for the information.
  24. Hi all, I have downloaded the energia sdk(version 13) for CC3200 launch pad, I have configured the jumper wire for J8 and SOP2 also the rest jumpers. Apart from that , I updates the firmware , so I have tries all possible ways, but still my serial monitor is not working. The platform is windows.
  25. Hi all, I have downloaded the energia sdk(version 13) for CC3200 launch pad, I have configured the jumper wire for J8 and SOP2 also the rest jumpers. Apart from that , I updates the firmware , so I have tries all possible ways, but still my serial monitor is not working.
  • Create New...