Search the Community
Showing results for tags 'Energia'.
-
Hi, Is it possible to use Energia via command-line (like a makefile)? I found such a makefile [1], but it supports only msp430. [1] https://github.com/elpaso/energia-makefile Thanks
-
Hi guys, this forum have already helped me a lot, but I never needed to make a post. So, here I am I am using the MSP432 LaunchPad with CC3100. I could not find useful examples to use the CC3100 on CCS, so I decide to use Energia. What I need to do is get some analog data, convert it to digital and send it through the TCP/IP protocol. So far, everything is working fine, the problem is that I need the ADC sample rate be around 1kHz and I could not find where I can change it or verify it. Do you guys know what is the default ADC sample rate for MSP432? Also, I am using ADC with
-
I have installed Energia 0101E0016 in Windows 8.1, 64bit. I am unable to open Energia. When I double click on Energia.exe all I get is a window with the log for a second only. Then the logo disappears and nothing happens thereafter. Can anyone help?
-
Hi there I have been testing CC3200 launchpad for IOT applications. Have been able to sucessfully post temperature data message using mqtt to iot.eclipse.org:1883 and read on Bluemix. Having difficulties to post data to SAP hana cloud platform that accepts HTTP Push with authentication header in json format. Have made setting on SAP side and tested using Postman (Chrome) and Hurl to push HTTP messages. Does any one have an idea on the code using Energia. Thanks Sunny
-
Hello, I'm writing a program which includes fast pin switching (as fast as it can go!) on MSP432P401R. Initially, I had used Energia for this, but due to some unpredictable behaviour I switched to CCS 6.1.0. Now, apart from porting some Energia specific functions, like I/O functions and so on, I soon found out that even the bare minimum code for pin state flipping differs in speed, significantly. Below is an example code of Pin switching in CCS and Energia, respectively: #include "msp.h" void main(void) { WDTCTL = WDTPW | WDTHOLD; CSKEY = 0x695A; CSCTL0 = 0;
-
Hello All, The library @ https://github.com/rodan/ds3231seems to be working for msp430f5529 - I had to make little chances to the code: if (Serial.available() > 0) { in = Serial.read(); if ((in == 10 || in == 13) && (recv_size > 0)) { parse_cmd(recv, recv_size); recv_size = 0; recv[0] = 0; I had to change the in == 10 || in == 13 part with in == '#', the reason being is energia serial console seems to not send the linefeed properly. so instead of enter, I press #. There is also the library @ https://github.com/JChristensen/DS
-
Hello, There used to be a document on this forum, or stellaristi forum, like general guidelines for porting from arduino to energia. It had explained all the caveats and includes you have to do and change, and was a nice document. Unfortunately, i can not find it anymore. and it seems that stellaristi has been shut down. Anyone remembers where I can find this document? I googled for a while, but failed. Any ideas/help/recomendations greatly appreciated, Best,
-
how to use i2c multi master by energia? can you help me ? thank you !!
-
Hello , my problem is , energia msp432 pin mapping allows 2 serial ports. Serial and Serial1. and msp432 have a 4 hardware serial ports. so i want to add one more serial port to the msp432 energia firmware. i open a topic e2e.ti.com but they didn't answer yet. so maybe somebody help me here. https://e2e.ti.com/support/microcontrollers/msp430/f/166/t/444248 in energia ide , msp432 hardware serial pins are p1_2,p1_3 and p3_2,p3_3. but msp432p401r also have a two more hardware serial ports. p2_2,p2_3 and p9_6,p9_7. if we look at the hardwareSerial.cpp file , last 2 lines HardwareSer
-
I am developing data acquisition using TM4C123GXL with Energia. I able to acquire signal of 20hz even my ADC has sampling rate of 1M/s. I need suggestion regarding how to increase acqusition bandwidth(higher range frequency)....
- 2 replies
-
- Data Acqusition
- energia
-
(and 4 more)
Tagged with:
-
I'm attaching a link to github with Energia code examples for various sensors. I started this as a place to put examples for students in a course I was helping to develop for middle and high school level students using the MSP430F5529. Unfortunately the course was not held but I'm putting them out there in the hope they might help someone. Where the code has been tested with other LaunchPads I've noted it. Here it is: https://github.com/fmilburn3?tab=repositories You won't find anything sophisticated but many are at least somewhat unique in that I couldn't find a
-
Hi, Is it possible to add a custom board/ circuit to energia? If yes, please guide me with the procedure for the same. Thanks
-
Hi, I have built a code in CCS v6 for TM4C1294 for Modbus RTU Master/ Slave using basic C programming and Driver Libraries. I want to combine it with an Energia Sketch for Ethernet Client. Is this possible, please guide me with an example if possible. Thanks.
-
Hi, I have downloaded some libraries which have been created for arduino(Modbus Master / Slave). I want to use them with TIVA Launchpad 129. I have compiled them in Arduino IDE successfully. However, when I compile them using Energia after selecting Launchpad 129, I get some errors related to Hardware_Serial.h. I would like to know what changes are to be done in Energia to compile without errors. I have attached Modbus Master library for reference. SimpleModbusMasterV12.rar
-
I made this sensor a while back as a prototype and put it outside earlier in the year and it still seems to be working OK. It has been a dry spring and summer here in Seattle though and it really hasn't had much of a workout. It was my first project with the MSP430G2. It is pretty simple. The funnel catches rain from a known area where it falls into two "buckets" that tip back and forth. Adjustment screws are used to calibrate the bucket volume. A hall sensor detects each tip of known volume and sends a signal to the microcontroller which timestamps and stores/transmits the data.
-
Hi, I have just install Energia in my computer, I'm learning to use it but I don't know why, when I want to verify a program appears this Error: [C:\Users\GATEWAY\Downloads\energia-0101E0016\hardware\tools\msp430\bin\msp430-g++, -c, -Os, -w, -ffunction-sections, -fdata-sections, -mmcu=msp430g2553, -DF_CPU=16000000L, -MMD, -DARDUINO=101, -DENERGIA=16, -IC:\Users\GATEWAY\Downloads\energia-0101E0016\hardware\msp430\cores\msp430, -IC:\Users\GATEWAY\Downloads\energia-0101E0016\hardware\msp430\variants\launchpad, C:\Users\GATEWAY\AppData\Local\Temp\build1369045033969488101.tmp\Blink.cpp, -o, C:\
-
Hi all, I'm currently having trouble importing energia sketches to a CCS6 project I've already written. Can import an Energia sketch to a new project, but can't add C-files to the new project or import the Energia sketch to the existing project. Does anyone know a good tutorial on a workaround? Really don't want to prototype the code in CCS6... Thanks, Spyphase
-
Hi all, I am new to Fedora and set up Energia as per http://energia.nu/guide/guide_linux/. I tried loading the Bare minimum sketch for the Tiva launchpad. There are two error messages. Cannot run program "/home/username/src/energia-0101E0016/hardware/tools/lm4f/bin/arm-none-eabi-g++": error = 2, No such file or directory [/home/raul/src/energia-0101E0016/hardware/tools/lm4f/bin/arm-none-eabi-g++, -c, -Os, -w, -fno-rtti, -fno-exceptions, -ffunction-sections, -fdata-sections, -mthumb, -mcpu=cortex-m4, -mfloat-abi=hard, -mfpu=fpv4-sp-d16, -fsingle-precision-constant, -DF_CPU=80000000L,
-
Hi, I 've made a new custom cc3200 board with the same 8Mbit SFlash memory. The Chip used is CC3200 R1M2, new ordered one from TI. So I've assembled everything and voltages across inductors seems to be same as per the ones recommended TI. After I connect SOP2 jumper as like that in launchpad and Try to upload this error shows up.
-
- cc3200
- custom board
-
(and 1 more)
Tagged with:
-
Hello everyone! I have just bought a C2000 Piccolo LaunchPad Evaluation Kit, de LAUNCHXL - F28027F. I have also just started learning to program in Energia, and I am following the tutorials in the guide section (they are very useful if someone is a beginer). While I was doing the first tutorial (Blinking LED), it appeared this error: "Put C2000 LaunchPad switches (S1) ON-OFF-OFF (UP-DOWN-DOWN), ensure the back channel serial connection is enabled, and press the reset button. If the download fails try a baud rate below 38400." I put the switches as it says, and I also decreased t
-
Stellaris LaunchPad, Energia, SPI, and ICDI trouble
jp430bb posted a topic in Energia - TivaC/CC3XXX
I'm back with another issue with my Stellaris LaunchPad. I have a short Energia sketch which uses the SPI library to write to the serial LCD on the ADS1118 Booster Pack. The sketch works as expected. The problem is that it somehow leaves the Stellaris in a state in which it cannot be flashed successfully by lm4flash. I have to connect the Stellaris LaunchPad, flash it (works fine the first time), disconnect the USB cable, reconnect, flash again, and so on. The symptoms seem to match what a TI employee posted on the E2E Community back in 2011, where changing the function of PORTC pins -
I got a free sample from TI (MSP-430FR6989),after soldering and wiring, I tried adding it as new board to Energia, but no success! I then selected FR5969 as the board on energia tools and used an FR5969 board that I already have to program the 6989, I was able to blink an led. My question; how to add the 6989 to energia to make use of all its capabilities?
-
I'm trying to combine some Energia libraries for the ADS1118 ADC and the SPI serial LCD included on the ADS1118 Booster Pack. Using simple digitalWrite() calls, I'm able to write to the LCD, but I'm trying to switch to using the Energia SPI library. The documentation for SPI.begin() says I can set a slave select pin; however, the compiler rejects a call to SPI.begin(LCD_CS) because there is no SPI.begin(int slaveSelectPin) defined. With the following code, the default pin 2 slave select appears to be used, because it happens to be connected to the buzzer on the ADS1118 Booster Pack, an
-
Hello all. I'm new to CC3200 and trying to develop an application for the launchpad using a Timer. Energia has the timer.h module, and I've found TI's documentation for the General Purpose Timer module, along with a few code snippets. My code dies when calling TimerConfigure(base, type). I think that this is because the timer peripherals need need to be enabled as a system peripheral before they can be manipulated. It looks like SysCtlPeripheralEnable(SYSCTL_PERIPH_TIMERx) is what you'd call before calling the TimerXxx functions. However, the cc3200 driverlib doesn't have a s
-
Hello, I have been programming my Tiva boards with JTAG which works well for development but not for production. I did a bit of research to come up with a versatile system to load code into my Tiva boards. JTAG is very important for code debugging but a serial download or boot loader is also indispensable for production or in field firmware upgrades. Another indispensable tool is Energia. For fast and simple code generation, nothing works as well as Energia. I have come up with the following interface: a header on my boards with the JTAG pins, reset and TX0, RX0, and power. This header goes