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

  1. Hi, I am trying to play audio using a speaker with the help of CC3200MOD and Audio Booster Pack. I have got example code in CCS and it is working fine but most of my codes are written in Energia, therefore, I am trying to use Energia to code Audio Booster but I could not find any documents or examples. do you have any example codes on Energia? Kindly, share the link, it would be really very helpful to me. Thanks.
  2. Hi, How can I use UART interrupt in Energia? I tried but could not find any example or sample work.
  3. The CC3200 Launchpad has been sitting on my desk for quite some time. Today I decided to hook it up and see if it can come in handy in any of my projects. I can say one thing... this Launchpad is well designed. Anyway, the camera boosterpack was announced way back and unfortunately it is a TI reference design. The camera itself is a MT9D111($18) module. The Camera BoosterPack has support for Flexi modules too, including the OV3660 camera sensor. The schematic shows a bunch of caps and resistors and a couple of power management chips. Would it be worthwhile getting a PCB assembled? I'm sure TI won't mind if we take their PCB package and replicate it for a group buy. If it is within 5x5 or so, I can have Elecrow do a 20 pcb set. I'm guessing $5 shipped in the US after taking into account 2 way shipping, PCB cost and packaging. CC3200 Camera BoosterPack Wiki page.
  4. As far as using Energia is concerned, is there a significant difference between these two dev kits?
  5. Hello all, I am a french student in development and I work on an IoT school project. As I am a web developer discovering the world of compiled languages, I came here seeking for a bit of help for my project. Long live development !
  6. 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
  7. I have a MSP430F5529 module and I have connected CC110 L module to it.. I have another CC3200 Module with CC110L. I wish to send the analog values measured by MSP430F5529 to the CC3200 through RF. Here is my transmitter code(MSP430F5539 and CC110L).. I tried to modify the existing Wireless example.. #include <SPI.h> #include <AIR430BoostFCC.h> #define CMD_OFF 0 #define CMD_ON 1 /** * sControl - control packet. */ struct sControl { unsigned char cmd1;unsigned char cmd; }; struct sControl txControl = { CMD_OFF }; // TX control packet struct sControl rxControl = { CMD_OFF }; // RX control packet int sensorpin=A0; int sensorvalue=0; int u=0,t=0,h=0; char ID[]="ABCD"; void printRxData() { // Print the last received command to the serial port. Serial.print("RX Command: "); Serial.println(rxControl.cmd1); } void setup() { Radio.begin(0x02, CHANNEL_1, POWER_MAX); Serial.begin(9600); pinMode(RED_LED,OUTPUT); } void loop() { if(Radio.receiverOn((unsigned char*)&rxControl,sizeof(rxControl),1000)>0) { if(rxControl.cmd==3) { digitalWrite(RED_LED,HIGH); sensorvalue=analogRead(sensorpin); sensorvalue=map(sensorvalue,0,4096,0,255); char ID[4]="C"; char b[4]; itoa(sensorvalue,b,10); strcat(ID,b); Serial.println(ID); Radio.transmit(ADDRESS_BROADCAST,(unsigned char*)&ID,sizeof(ID)); } digitalWrite(RED_LED,LOW); } } On My receiver side I have a CC3200 with a CC110L booster pack. When the receiver code sends a #include <SPI.h> #include <AIR430BoostFCC.h> // ----------------------------------------------------------------------------- /** * Defines, enumerations, and structure definitions */ #define CMD_OFF 0 #define CMD_ON 1 /** * sControl - control packet. */ struct sControl { unsigned char cmd1;unsigned char cmd; }; // ----------------------------------------------------------------------------- /** * Global data */ struct sControl txControl = { CMD_OFF }; // TX control packet struct sControl rxControl = { CMD_OFF }; // RX control packet int sensorpin=A0; int sensorvalue=0; int u=0,t=0,h=0; char ID[]="XXXX"; // ----------------------------------------------------------------------------- // Debug print functions void printRxData() { // Print the last received command to the serial port. Serial.print("RX Command: "); Serial.println(ID); } int i=0; void setup() { Radio.begin(0x02, CHANNEL_1, POWER_MAX); Serial.begin(9600); pinMode(RED_LED,OUTPUT); pinMode(GREEN_LED,OUTPUT); pinMode(YELLOW_LED,OUTPUT); digitalWrite(RED_LED,LOW); digitalWrite(YELLOW_LED,LOW); digitalWrite(GREEN_LED,LOW); } void loop() { txControl.cmd=i; Radio.transmit(ADDRESS_BROADCAST,(unsigned char*)&txControl,sizeof(txControl)); while (Radio.busy()); if (Radio.receiverOn((unsigned char*)&ID, sizeof(ID), 1000) > 0) { printRxData();digitalWrite(RED_LED,HIGH); } i++; if(i==4) { i=0; } } In receiver code I have a line txControl.cmd=i;.. When the value of i==3 it will ping the cc3200 transmitter to send the analog data back.. i=1 and i=2 are reserved for launchpads with MSP430G2553 and CC110L (They are working really fine).. But the MSP430F5529 is not sending the data back ... On t he Receiver side i will get the data in the format as A70 B30 C123 A is the Identity of the node and the numbers followed after that is the analog value of that node Please help
  8. 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
  9. 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
  10. 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
  11. 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"}
  12. 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 //----------------------------------------------------------------------------------------------------
  13. 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
  14. 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
  15. 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 ?
  16. 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.
  17. 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
  18. 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
  19. 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);
  20. 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,
  21. 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.
  22. 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.
  23. 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!
  24. 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
  25. 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