Jump to content
Forum sending old emails Read more... ×

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.

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start



Website URL





Found 518 results

  1. I am looking for a library for sim800 and i am using energia compiler. I am working on certain project on which i suppose to interface sim800c with msp430G2553. i am doing basic coding of tcp/ip and http as well in that interfacing part. please suggest if there is any library available.
  2. Has anyone else experienced something like this? I have been using Energia on Windows for years on various LaunchPads, including 430, 432, and Stellaris (now Tiva). The Windows 10 PCs are a Surface Pro 3, a Toshiba Satellite, and an HP Pavilion. Over the last few months, builds and uploads fail in multiple ways unpredictably. The Serial Monitor often doesn't work, even when the TX pin has the correct signal (verified with an oscilloscope decoder). Often the fix is simply to click the Upload button over and over until it works. I've changed to shorter USB cables and switched from USB 3 to USB 2. Sometimes the problem is fixed by restarting Energia or rebooting the PC. It never stays fixed. I've had the same kinds of issues on older versions of Energia, but the code I'm currently developing won't compile if I go back too far. So I'm sticking with the latest version, 1.8.7E21. I've searched the forum for this, but haven't found anything like it. It is possible I just don't know what to search for, so I would be grateful for pointers. I don't want to go down the rabbit hole chasing one of these specific error messages just yet. I suspect the problem is caused by Windows and Java updates, but I have had no problems with Arduinos (UNO, Mega2600). BTW, I have no problems with Energia 1.8.7E21 on an older desktop running Windows 7.
  3. I am working on a certain project in which i would like to know that is msp430F2617 is compatible with Energia compiler or should i use ccs?
  4. venkatesh223

    MSP430FR6989 pins_energia file

    Hi there, I've seen that the pins_energia file for MSP430FR6989 is designed for launchpad itself. So i,m developing a custom board using MSP430FR6989 will that same pin out file with the launchpad pin numbers can be used, or is there any pins_energia file only for that IC with all the pin numbers for each pin, or should i modify it accordingly?, if needed to modify then what changes can i do to make it compatible please help. Thank you
  5. [MSP432][Windows10][Energia 21][Board file 5.23.1] Recently I've been struggling with a run-time error in a very simple program (converting time=0 to 1/1/1970 fails using ctime...granted it's not really an Energia thing, but it's available for use in my CCS builds of energia projects) using the latest code composer, energia and board file (BTW, I don't have this problem with the previous board file) for my msp432. I've figured out a way to "fix' my problem, but it's unclear to me what the implications of this change might be. By default, when I create a new project in CCS, the project is setup to use the GNU v6.3.1 compiler by default. If I use this compiler, my program compiles, but it's operation fails. In looking into the properties of the project, I notice that I have 5 (2 TI and 3 GNU - 1 GNU older than the default and 1 GNU newer) compiler choices in the tool chain. As such, I started changing the compiler to see what would happen with my non-functioning code. First, I started with the TI compilers. If I select either of them, I get a notice about the need for "manual" intervention in the compiler config. As such, I gave up on those. I then selected the oldest version of the GNU compiler (4.8.4). Switching to this version and my compilation fails. Once again, I have up on that one. As a last attempt, I changed to the newer version of the GNU compiler (7.2.1) and lo-and-behold, not only does my problem compile, but ctime now works correctly. Newer things are always better, right? The default (non-working one) and older (non-compiling) versions of the GNU compiler appear to be shipped with Energia while the newer (working) one appears to be shipped with CCSv8. As such, although I've fixed my problem, I'm wondering if switching is just going to lead to other problems as I'm assuming energia was vetted with the default 6.3.1 compiler. Anyone have positive/negative experiences with changing the compiler tool chain? As my program runs with the previous board file (but using the latest Energia 21 otherwise), might I just be better to switch to the older board file (and wait for a board file/compiler update with energia) but leave the compiler as the default 6.3.1 version? jrd
  6. Hi, Iam planning to make a project which involves GPS and GSM ive decided to use the Quectel MC60 for this purpose. Can anyone here guide me on how to do this like the libraries required references, example codes . Thanks
  7. Hi, Can anyone provide me the links or code for basic read and write example on FRAM of MSP430FR6989 on energia?
  8. i am trying to program "cc1350 launchpad-433MHz" to receive data over rf sent by another "cc1350 launchpad-433MHz" which is connected with rf-studio. here is my code with changes i made to set frequency on 433MHz ------------------------------------------------------------------------------------------------------------------- #include "EasyLink.h" EasyLink_RxPacket rxPacket; EasyLink myLink; void setup() { Serial.begin(115200); // begin defaults to EasyLink_Phy_50kbps2gfsk myLink.begin(); Serial.println(myLink.version()); EasyLink_setFrequency(433000000); Serial.print("testing frequency: "); Serial.println(EasyLink_getFrequency(),HEX); delay(2000); } uint16_t value; void loop() { // Wait / block for 2 second to receive a packet. // rxTimeout is in Radio time and needs to be converted from miliseconds to Radio Time rxPacket.rxTimeout = EasyLink_ms_To_RadioTime(2000); // Turn the receiver on immediately rxPacket.absTime = EasyLink_ms_To_RadioTime(0); EasyLink_Status status = myLink.receive(&rxPacket); if (status == EasyLink_Status_Success) { memcpy(&value, &rxPacket.payload, sizeof(uint16_t)); Serial.print("Packet received with lenght "); Serial.print(rxPacket.len); Serial.print(" and value "); Serial.println(value); } else { Serial.print("Error receiving packet with status code: "); Serial.print(status); Serial.print(" ("); Serial.print(myLink.getStatusString(status)); Serial.println(")"); } } --------------------------------------------------------------------------------------------------------------------------- the problem is: when i run the code and open comport following message is printed continuously: " Error receiving packet with status code: 6 (Rx Error) " also, when i transmit on 433MHz from one cc1350 and receive on other cc1350 which is connected to rf-studio, "Packet transmitted successfully" is printed on comport but nothing is received on rfstudio i ran the example code on code composer studio for rf on 433MHz by changing "smartrf_setting.c/.h" file, worked fine. i can't figure out why it is not working with energia at 433MHz. i have successfully communicated at 868MHz between two cc1350.
  9. Hi, This is my first time using this forum. I saw that someone has done the code for connecting CC3200 to cayenne, but not for CC3220. Just want to enquire if anyone has done the codes for connecting CC3220 to cayenne MQTT using energia?
  10. Hello, Im getting an error while compiling the 128x64 LCD u8g2 library on msp430fr6989. I tried the hello world code on it full buffer. I complied the same code on msp432p401r it compiled and even the display worked but the same code when changed the board to FR6989 its says fatal error assert.h no such file or directory, the screen shot is attached below. Please help me with it. Thank you U8g2_Arduino-master.zip
  11. Hello. I have been trying to create a serial link between the Launchpad (based on tm4c123gh6pm) and my cellphone. The code is very simple for testing purpose. Here is it: /* This is a demo code for testing Bluetooth functionality ->The peripheral used here was a smartphone; and to obtain the values of 'i' on the terminal of the device, the "display mode" setting must be changed to ' HEX' ->The code doesn't work properly on when the pin 10 and 11 are used as RX and TX ->It has been successfully tested to send the values of i to the Rx terminal and receive the characters sent from there. */ int i=0; void setup() { Serial.begin(9600); Serial.print("Welcome "); } char data_from_Blue=0; //String rx_str = ""; void loop() { for(i=0;i<10;i++) { if(Serial.available()>0) { data_from_Blue = Serial.read(); // reading the data received from the bluetooth module/the peripheral (phone here) Serial.println("I received: "); Serial.println(data_from_Blue); //Serial.println(rx_str); //display it on serial monitor i.e,the reading has been received here!! } Serial.write(i); //Print incrementing value of 'i' across the other terminal(i.e, my cellphone) delay(1000); } } The code works fine for Arduino+HC05 and MSP430G2 Lauchpad Kit+HC05. But for TIVA Launchpad mentioned above, the serial monitor simply displays garbled values with '?' within boxes. I have tried almost everything. Please help me.
  12. Hello there, I have 128x64 graphical dot matrix display lying around with the driver ST7567, so ive been thinking can i interface it with msp432 or 430? i found a library for arduino in github but when i added the library to energia and compiled it i get the following error attached below. I have attached the library and the screen shots below, in that library there are for many lcd controllers i selected " U8G2_ST7567_JLX12864_F_4W_SW_SPI" it worked out fine on arduino. can any one help me out?? U8g2_Arduino-master.zip
  13. venkatesh223

    MSP432P401R SD card interface

    hello there, Ive been trying trying to interface an sd card to msp432p401r but i get many errors. my task is top build a data logger where the sensor readings will be stored in a text file. So i tried basics first. First i tired to serial print the sd card info but had lot of errors (screenshot can be seen below). the files i used is attached in the rar file "SD", in that i tried the Card info example. Please can someone help me what is wrong with this code. Thanks SD.rar
  14. I just installed Energia 1.8.7E21 on macos 10.12.6. From the Finder, the Energia version number is a little goofy. It shows "${version}" instead of the actual text. This is seen in the "Info.plist" file, and can be fixed there. ... <key>CFBundleShortVersionString</key> <string>${version}</string> <key>CFBundleVersion</key> <string>1.8.7</string> ...
  15. Thanks in advance for helping. New to microcontrollers, not fluent in C so would prefer higher level language like Energia. Using an MSP430F5529LP to drive a stepper motor, creating a square wave using timer A interrupt handler. That works fine, but would like an additional input to the MSP to increase/decrease the speed. In the following code, the external interrupt is detected when the TA0CCR0 assignment is commented out. With the line included, the external interrupt is not recognized. Thanks again. int TESTPIN1 = P1_5; int state = LOW; void setup() { // put your setup code here, to run once: pinMode(P1_6,OUTPUT); // step motor clock output pinMode(GREEN_LED,OUTPUT); digitalWrite(GREEN_LED, state); pinMode(TESTPIN1, INPUT_PULLUP); // Configuration word // Bits 15-10: Unused // Bits 9-8: Clock source select: set to SMCLK (16MHz) // Bits 7-6: Input divider: set to 1 // Bits 5-4: Mode control: Count up to TACCRO and reset // Bit 3: Unused // Bits 2: TACLR : set to initially clear timer system // Bit 1: Enable interrupts from TA0 // Bit 0: Interrupt (pending) flag : set to zero (initially) TA0CTL=0b0000001000010010; TA0CCR0=1200; // Set TACCR0 = 2000 to generate a 1ms timebase @ 16MHz with a divisor of 8 TA0CCTL0=BIT4; // Enable interrupts when TAR = TACCR0 attachInterrupt(digitalPinToInterrupt(TESTPIN1), TestISR, CHANGE); } void loop() { // put your main code here, to run repeatedly: } #pragma vector=TIMER0_A0_VECTOR __interrupt void timerA0ISR(void) { // Timer A0 Interrupt service routine static int msCount=0;// Count milliseconds to allow a 1 second pulse static int state=0; // Remember state for toggling purposes msCount++; if (msCount >= 18) { msCount = 0; digitalWrite(P1_6,state); // Write stepper output state=~state; // toggle state } } void TestISR() { state = !state; digitalWrite(GREEN_LED, state); }
  16. I am planning to start a project using msp432p401r launchpad with a 3.5 inch TFT touch screen. This is my first time doing such a project. I hope that I can get some advice I have searched for 3.5" TFT touch screen with resolution of 480x320. Most of them are compatible with Arduino and Raspberry PI. Here is the link ('https://www.waveshare.com/wiki/3.5inch_TFT_Touch_Shield" Can anyone please help me porting the below project of arduino to energia so that i can interface the LCD with MSP432P401R. 3.5inch_TFT_Touch_Shield_Code.7z
  17. Aditee

    MSP430G2553 SPI with ADC

    Hi, I am completely new to serial communication. I wish to use a high speed ADC from TI ADS 8361. I want to interface with msp430g2553 using energia IDE. Can I get some code to check the ADC functions.
  18. I'm trying to use the UCA0 for SPI on MSP430FR2433 by using the SPI.setmodule(10); before SPI.begin(), but I'm not getting any data on the SPI lines. The default SPI on this launchpad is UCA1 and it works. After the above thing didn't work, I tried changing the core files: /home/username/.energia15/packages/energia/hardware/msp430/1.0.5/variants/MSP-EXP430FR2433LP/pins_energia.h In this file I changed: (from line 47 to 50) static const uint8_t SS11 = 8; /* P2.1 */ static const uint8_t SCK11 = 7; /* P2.3 */ static const uint8_t MOSI11 = 15; /* P2.4 aka SIMO */ static const uint8_t MISO11 = 14; /* P2.5 aka SOMI */ to: static const uint8_t SS11 = 8; /* P2.1 */ static const uint8_t SCK11 = 5; //P1_6 static const uint8_t MOSI11 = 4; //P1_4 aka SIMO static const uint8_t MISO11 = 3; //P1_5 aka SOMI And changed: #define DEFAULT_SPI 11 to: #define DEFAULT_SPI 10 But this also didn't work.pins_energia.h I have attached the changed file.
  19. Hi all, I was trying to run the provided example from Engeria "TIVA123_gettingstarted" file after I did all the installations and setup. I have MATLAB R2018a. I got this error: (((Error in 'TIVA123_gettingstarted/Digital Output1': Initialization commands cannot be evaluated. Caused by: Error while obtaining sizes from MEX S-function 'arduinodigitaloutput_sfcn' in 'TIVA123_gettingstarted/Digital Output1/Digital Output'. The 4th right hand argument, FLAG, passed to MEX level2 S-function "arduinodigitaloutput_sfcn" must be an integer))) Can anyone tell me how to resolve that?
  20. Hello, Is it possible to use the XDS110 debug probe with Energia? And if so, how? Best regards, -C.
  21. Hi everyone I am beginner and I want to use the adxl345 with msp430g2553 with I2C, but the example that I am using don´t working, always send 0 in the axes x,y and z. I use energia 1.6.10e18, the circuit have the pull'up resistor in SDA and SCL pines, and I remove the jumper of the green led. I used the same code but with arduino and it working but with enegia not, help me please. My launchpad is MSP-EXP430G2 rev 1.5 The SCL is connected in pin 14 and the SDA in pin 15. My OS is windows 7 When i put this function "Wire.setModule(0)" the mcu does make nothing, the uart don´t send nothing. The code is the follow: #include <Wire.h> void setup() { Serial.begin(9600); Serial.print("Iniciado"); Wire.begin(); writeTo(DATA_FORMAT, 0x01); //Put the ADXL345 into +/- 4G range by writing the value 0x01 to the DATA_FORMAT register. writeTo(POWER_CTL, 0x08); //Put the ADXL345 into Measurement Mode by writing 0x08 to the POWER_CTL register. } void loop() { uint8_t howManyBytesToRead = 6; readFrom( DATAX0, howManyBytesToRead, _buff); //read the acceleration data from the ADXL345 int X = (((int)_buff[1]) << 😎 | _buff[0]; int Y = (((int)_buff[3]) << 😎 | _buff[2]; int Z = (((int)_buff[5]) << 😎 | _buff[4]; Serial.print("x: "); Serial.print( X ); Serial.print(" y: "); Serial.print( Y ); delay(500); } void writeTo(byte address, byte val) { Wire.beginTransmission(DEVICE); // start transmission to device Wire.write(address); // send register address Wire.write(val); // send value to write Wire.endTransmission(); // end transmission } void readFrom(byte address, int num, byte _buff[]) { Wire.beginTransmission(DEVICE); // start transmission to device Wire.write(address); // sends address to read from Wire.endTransmission(); // end transmission Wire.beginTransmission(DEVICE); // start transmission to device Wire.requestFrom(DEVICE, num); // request 6 bytes from device int i = 0; while(Wire.available()) // device may send less than requested (abnormal) { digitalWrite(RED_LED,HIGH); _buff = Wire.read(); // receive a byte i++; } Wire.endTransmission(); // end transmission }
  22. ironoman

    Energia Support MSP430FR6972

    I am trying to add MSP430FR6972 in Energia. So far i have edited board.txt , board.mk but the pin_energia.h seems alot complicated than the previous two. So i need some help in doing so. I think the way i am adding a new board in energia might be wrong so just point me in the right direction and i will do the rest.
  23. Hello, I want CC3200 to act as an access point and server a webpage to give SSID and Password of a router. For this I am using SmartConfigexample in Energia. When I upload the code then it only shows " Starting WiFi SmartConfig" on Serial monitor. No AP appears. Is there something I might be missing? What should be the jumper setting while running this application on CC3200? Is there any relevant tutorial available for this example?
  24. Hello, I'm really struggeling to implement the TI instaspin FOC for a C2000 TMS320F28027F launchpad, as a stand alone deployment in an embedden system. I was wondering if it is possible to do this with Energia? kind regards Joppe Baalhuis