Search the Community

Showing results for tags 'ENERGIA'.

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.

Found 434 results

  1. Check the usual suspects: Does the I²C device run at 3.3V? Otherwise, use a logic-level converter. Are pull-ups installed? Try 10, 4.7 or 2.2 kΩ for the SDA and SCL lines. In case the LaunchPad provides multiple I²C ports, is the correct port selected? Try Wire.setModule(0); // or other port number Wire.begin(); Still nothing? Use a logic analyser to trace the signals on the I²C port. (To be continued...)
  2. LaunchPad MSP430FR2433 Pins Map
  3. See related issue at
  4. Model of LaunchPad: MSP430G2553/G2403 and revision number: 1.5 Model of the MCU used: I am not sure, but the box is MSP-EXP430G2 Name and version of the IDE used : Energia version 0101E0017 (I tried the newer one, but it threw a bunch of errors which resolved when downgrading) OS the IDE is running on Ubuntu 16.04 LTS I am completely new to this type of programming, so I apologize if I need extra clarification or am missing something. Issues faced: The blinking code I have used all work just fine, but no print statements work. My current goal is to simply get a read from the internal temperature sensor, but printing won't work. I am attaching relevant screenshots. and example code. Any direction/help is appreciated! Blink.ino
  5. Is there a full energia porting for msp430fr5969, i.e. all the ports and full mcu functionality (timer, spi, i2c etc) rather than limited as per the launchpad? I have msp430fr5969, custom board connected to bunch of sensors and radio and would like to use energia for this. Any directions or suggestions will be most welcome. Thanks
  6. I am making an IOT based attendance system using AdafruitFingerprint sensor and CC3200 . My Fingerprint sensor library works better and using 12 and 23 serial ports for Tx and Rx but I am getting problem with my Softwareserial.h library file. I am not sure if it a bug or my mistake could anyone help me solve this issue or suggest me another way to finish this project ? I have uploaded the Library file which I was using from Thank you, Raja.SoftwareSerial.cppSoftwareSerial.h
  7. Hi everyone, I am using a Black Launchpad and this does not work in the latest version of Energia which is 1.6.10E18. So I switched back to the version 0101E0017 to make use of the Black Launchpad. My code is below and tried in Arduino IDE and working fine: float a = 3.5; float b = 2.0; float result = 0.00; void setup() { // put your setup code here, to run once: Serial.begin(9600); } void loop() { // put your main code here, to run repeatedly: result = max(a,b); Serial.println(result); delay(1000); } Using the same code in version 0101E0017 produces a compilation error that "max" was not defined. In 1.6.10E18, this works but it is impossible to upload this program using the Black Launchpad. Any suggestions for this error? Thanks and Good Day, Leo
  8. I'm using the latest version of Energia and I'm facing some problems with it. I'm a beginner and I tried running an example program on the MSP430G2553. I get this error which says: Energia: 1.6.10E18 (Windows 8.1), Board: "MSP_EXP430G2553LP" In file included from C:\energia-1.6.10E18\hardware\energia\msp430\cores\msp430/Arduino.h:3:0, from sketch\Blink.ino.cpp:1: C:\energia-1.6.10E18\hardware\energia\msp430\cores\msp430/Energia.h:339:26: fatal error: pins_energia.h: No such file or directory compilation terminated. exit status 1 Error compiling for board MSP_EXP430G2553LP. This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences. Please help me in getting rid of this error. Thank you!
  9. I was not able to use realloc using energia so I imported the proyect to CSS v7. It seems there is something wrong or not done about realloc under Energia. CSS v7 is using the Ti compiler instead of GCC and it has realloc and it works. But when using CCSv7 with the imported sketch, the Serial.print commands do nothing. Even If I debug step by step it just ignores Serial.print commands without showing anything anywhere. I activated the serial terminals inside CCSv7 to see the output and I also have the normal output and the console. I can work around if I find a function equivalent to micros() for the CCSv7
  10. I don't know why but my energia is running very slow. All the other apps are running at good speed. I am using windows 10 64-bit version. I am using Energia V17. Pictures from my task manager are attached here, please take a look at it. Thax and peace.
  11. i bought two Mspexp430 launchpad with two cc110l rfand i could to programm them in energia : then i want to add more nodes on the Network so i bought two new Mspexp430 launchpad with new two cc110l rf and they work correctly on ATC boostersatcklite but when I want to program them on energia I can upload the code but the cc110l doesn’t exchange any data from each other , i tried also with the examples in energia (wirlessControl-WirlessTest-WirelessMonitorhub-WirelessmonitorSensor) but they did not work Can you help me to let them work correctly and exchange data
  12. Hi all, I am currently just trying to upload a example sketch to my MSP430G2553, all i'm getting is a compile error. The github library is; what im getting error wise is; In file included from D:\energia-1.6.10E18\libraries\ili9341-arduino-master\examples\drawNumber\drawNumber.ino:8:0: D:\energia-1.6.10E18\libraries\ili9341-arduino-master/TFTv2.h:33:17: fatal error: SPI.h: No such file or directory compilation terminated. Using library ili9341-arduino-master in folder: D:\energia-1.6.10E18\libraries\ili9341-arduino-master (legacy) exit status 1 Error compiling for board MSP-EXP430G2 w/ MSP430G2553. Can anyone tell me what i'm doing wrong? I can upload examples from the SPI library so im assuming it cant be that?! HELP!!! PLEASE!!!
  13. Hello, What is the status of Wire.h when using energia with the tiva-c board? Since there is the BoardManager in E18, the file layout has changed. Which leads to some confusion. eagle@daredevil:~$ find . -type f -name "Wire.h" ./.energia15/packages/energia/hardware/msp432/3.8.0/cores/msp432/ti/runtime/wiring/Wire.h ./.energia15/packages/energia/hardware/msp430/1.0.2/libraries/Wire/Wire.h ./.energia15/packages/energia/hardware/tivac/1.0.2/libraries/Wire/Wire.h ./.energia15/packages/energia/hardware/msp432r/5.6.0/cores/msp432r/ti/runtime/wiring/Wire.h ./bin/energia-1.6.10E18/hardware/energia/msp430/libraries/Wire/Wire.h ./bin/energia-1.6.10E18/hardware/energia/msp430/cores/msp430/Wire.h So I think when using energia with tivac, it will use the .energia15/packages/energia/hardware/tivac/1.0.2/libraries/Wire/Wire.h file that is in the hidden .energia directory right? Then I went ahead and edited the Wire.cpp file in the tivac/1.0.2 dir. #include <stdlib.h> #include <stdio.h> #include <string.h> #include <inttypes.h> #include "wiring_private.h" #include "inc/hw_memmap.h" #include "inc/hw_types.h" #include "inc/hw_ints.h" #include "inc/hw_i2c.h" #include "driverlib/gpio.h" #include "driverlib/debug.h" #include "driverlib/interrupt.h" #include "driverlib/rom.h" #include "driverlib/rom_map.h" #include "driverlib/pin_map.h" #include "driverlib/sysctl.h" #include "driverlib/i2c.h" #include "Wire.h" Here is a list of include files from Wire.cpp. So here is my question: is this Wire.cpp implementation is for TM4C? is it using or based on the TivaWare Peripheal library? I intend to make some modifications for it, for example using 2 i2c ports at the same time. So I need to start at the correct place. Any ideas / help greatly reccomended. Best regards, CA
  14. Dear developers, I am simply using Serial.println(); command, but I get some weird characters in the serial port display window. Code : #include <Wire.h> // HIH6130 I2C address is 0x27(39) #define Addr 0x27 int tzero = 196; int tspan = 17; int hzero = 196; int hspan = 17; void setup() { Wire.setModule(1); Wire.begin(); pinMode(P1_3,OUTPUT); pinMode(P1_2,OUTPUT); pinMode(P1_6,OUTPUT); Serial.begin(9600); Serial.println("OK"); delay(300); } void loop() { unsigned int data[4]; // Start I2C Transmission Wire.beginTransmission(Addr); // Select data register Wire.write(0x00); // Stop I2C Transmission Wire.endTransmission(); // Request 4 bytes of data Wire.requestFrom(Addr, 4); // Read 4 bytes of data // humidity msb, humidity lsb, temp msb, temp lsb if (Wire.available() == 4) { data[0] =; data[1] =; data[2] =; data[3] =; } // Convert the data to 14-bits float humidity = ((((data[0] & 0x3F) * 256) + data[1]) * 100.0) / 16383.0; float temp = ((data[2] * 256) + (data[3] & 0xFC)) / 4; float cTemp = (temp / 16384.0) * 165.0 - 40.0; // Output data to serial monitor Serial.print("Relative Humidity :"); Serial.println(humidity); Serial.println(" %RH"); Serial.print("Temperature in Celsius :"); Serial.println(cTemp); Serial.println(" C"); Serial.println("=============================================================== "); int VcTemp = map(cTemp, -5, 125, tzero, tspan ); int vhumidity = map (humidity, 0, 100, hzero, hspan); analogWrite(P1_2, VcTemp); analogWrite(P1_6, vhumidity); delay(1000); } Serial Output : (in one single line, means it keeps printing these characters in just one line on and on.picture : Thax.
  15. Hello everyone, I'm trying setup pwm frequency for tiva C in Energia but failed at this line: analogFrequency(PWM_FREQ) // define PWM pins #define PWM_1 PD_6 // define PWM frequency #define PWM_FREQ 20000 void setup() { pinMode(PWM_1, OUTPUT); analogFrequency(PWM_FREQ); } void loop() { analogWrite(PWM_1, 50); } Can help me with the problem, thank!
  16. Energia IDE 1.6.10E18 crashes on macOS Sierra, for most of the boards. This issue also occurs with the Arduino 1.6.11 IDE, see arduino#5397. However, compilation with embedXcode completes successfully. Please find the more details at ticket GitHub #928.
  17. I put together a prototype Booster Pack that attaches to the CC3200 and has a RFID-RC522 card (sometimes called a MIFARE module), two buttons, and two LEDs. The CC3200 is connected to the cloud using Temboo. Currently it sends an email to me with information on the card used when accessed but it would be easy to modify to record time of access, card used, etc and put it into say a spreadsheet. This was a one afternoon plus an evening project for both hardware and software using Energia - very easy to do. The cards have security holes but I am pretty sure they pose too high a technical challenge for my local hooligans. I'm more afraid they might rip it apart and take my CC3200 than anything else. This is the Booster Pack, top view. Here it is attached to an upside down CC3200. In this photo it has been mounted in an enclosure and is reporting a successful read and transmission with the green LED. And if you are really interested, here is the schematic. I am using the RFID library located here. And if you aren't familiar with Temboo, find it here.
  18. Hi, I am having trouble when trying to set the Serial Port and the Board. The options that it shows on the Guide for Mac to choose aren't options shown when I go to the tool tab on my Energia app! Please let me know!
  19. Hey everyone, I am trying to reduce the power consumption of my msp430FR4133 by reducing the clock speed from 8MHZ. I am using the example code as a base which sets the default clock speed to 8MHZ. I have read that the Wiring.c file defines the clock speed but I cannot find where F_CPU is defined. Any help would be greatly appreciated thanks.
  20. Hi there, I am using a CC3200 launchpad, together with Energia 13. I am trying to connect the launchpad through MQTT to publish and receive messages (following Adrian Fernandez youtube on and blog on I succeeded on publishing information through MQTT to Node-Red, twitter etc., however I did not have any luck in subscribing. Since the blog (nor the video) does not state explicitly how to subscribe, my guess is that I have something wrong in my definitions. In the cloud side I am using Bluemix cloud, with Node-Red service. I simply define an input and output MQTT, and a debug node. The input works well, however the output (from the cloud to the launcpad) does not work. The output MQTT is defined with the same broker as the input MQTT, however with a different topic (matching the definition in the launchpad side). On the launcpad side, I am using the PubSubClient library, with the following commands to subscribe: if (client.connect("LaunchPadClient")) { client.publish("outTopic", char_array); client.subscribe("PelegInTopic"); Serial.println("Connection successful!"); client.disconnect(); } The callback function is never activated (it simply contains a serial message declaring input, however it never appears). *code attached. CAN ANYONE HELP???? Thanks a lot, Or Peleg MQTT_test.ino
  21. i am facing a problem of slow running energia from last few months but found no solution. energia ide 1.6.10e8 is installed on my system and it takes 5 min just to verify the blink led example which is simple code just imagine how ,long it would take to compile big codes antivirus is turned off if anyone there can sort out this would be really grateful,thanks.
  22. I am having trouble importing Energia projects into Code Composer Studio. The reason I want to do this is because I have other Energia projects that use specific libraries, and I am looking to debug them. I took the Blink example from Energia and saved the project to a new location. I have verified this, and it compiles successfully. I then opened Code Composer Studio, and imported the Energia Sketch to my workspace using the wizard from the menu button. The operation summary window popped up, and told me an issue was encountered, "Warning: Resource 'wiring_analog.c' already exists! Ignoring..." I clicked "Ok" and then tried to build the project, but it failed to make the project, citing the message in the attached picture. If anyone could help with this issue, it would be much appreciated. Thanks, Yeshy
  23. Hi, Greetings of the day, We are trying to access serial flash memory onboard Launchpad of CC3220SF using energia. Please help us in how to read/write to flash memory on CC3220SF. Further suggestions would be of great help. Tried to use SLFS, but compile errors.. Energia: 1.6.10E18 (Windows 10), Board: "CC3220SF-LAUNCHXL (80MHz)" Build options changed, rebuilding all C:\Users\Krishna\Documents\Energia\libraries\SLFS-master\examples\SLFS_Simple_Print_Read\SLFS_Simple_Print_Read.ino: In function 'void setupSLFS_Simple_Print_Read()': SLFS_Simple_Print_Read:30: error: '_FS_FILE_OPEN_FLAG_COMMIT' was not declared in this scope FS_MODE_OPEN_CREATE(512, _FS_FILE_OPEN_FLAG_COMMIT));
  24. Please find a library for the I
  25. Hi Everyone! I've just received a Tiva C launchpad and was wondering if you are able to write C code in Energia or if you have to use their Processing-based language? And if not, is there a way to use just write C code on Mac OS X (with or without an IDE) and upload it to the device? After a quick search of this forum and Google, most C compilers are meant for a Windows environment and I haven't been able to find much information for OS X other than Energia or possibly embedXCode. Thanks, Miles