Search the Community
Showing results for tags 'Energia'.
-
Hi , I am unable to use the Timers of CC3200 on Energia. Kindly view my code snippet and see what errors have I made.I am getting the errors which I have mentioned at the last. CODE:- #include <driverlib/timer.h> #include <inc/hw_timer.h> void setup() { pinMode(2,INPUT_PULLUP); pinMode(9,OUTPUT); noInterrupts(); TimerIntStatus(TIMERA0_BASE,true); TimerDisable(TIMERA0_BASE,TIMER_A); TimerIntDisable(TIMERA0_BASE,TIMER_TIMA_MATCH); TimerConfigure(TIMERA0_BASE,TIMER_CFG_A_PERIODIC_UP); TimerPrescaleSet(TIMERA0_BASE,TIMER_A,32); TimerMatchSet(TIMERA0_BASE,TIMER_A,7500); TimerInt
-
One of the new features of the beta EnergiaNG is that fact that it is now using the standard Arduino 1.6.x IDE. Unfortunately, it doesn't look like it is ready to work as a boards manager package with the standard Arduino IDE. Energia/TI likes their branding and it seems they want to keep TI boards and Arduino board from ever meeting in the same program. At the same time, I noticed a few things that are missing and instead of trying to push those into Energia. I decided to fork the tivac-core and make the changes there. I also moved away from the proprietary dslite uploader in favor of
-
I am using the latest version: energia-0101E0017. I just reloaded it from Energia's website this morning. It is their December 2015 version. I am using the latest CCS version 6.1.3. I installed a fresh version of that a couple days ago and have applied all the updates I could find. Using the very popular I2C_Scan tool, I get bad results. I either get all addresses telling me there's a device there, or if I do a write(0); between begin and end transmission, I get no devices... See brief code snip below: void findAddress(int fromAddress, int toAddress) { for (int a = fromAddres
-
Hello - here is my example sketch that i did for another project - after i got it finished - i realized that i should share it because i could not find complete example like this on my own previously which included using the analog input to measure position of the arm - maybe it saves someone else a few minutes L298N_Motor_Example_12in_actuator_public.ino
-
- motor driver
- HDA12-2
-
(and 3 more)
Tagged with:
-
I want to use the MSP430F5325. However, Energia does not include this microcontroller in the list of boards. As a result, I do not know if I will be able to program it using Energia. Is the another package to download in order to use this microcontroller and the others not included on the list?
-
Hello everyone; As you can see bitshifting a byte 16 bits and storing in a long doesn't seem to work, while shifting storing and shifting again works perfectly. Is this behaviour normal? Using energia 0101e0017 on win7 with msp430g2553 launchpad. Also i'm not 100% sure but i think bitshifting 16 bits worked fine on a tm4c123gxl launchpad because i ran into this while converting a code that was written for tm4c to msp.
-
I was trying to get the Tiva Launchpad TM4C123 working with the Nokia 5110 using Energia. Eventually I came across this page: http://www.clarenceho.net/2015/08/tm4c123-with-dht11-sensor.html You can follow the series of questions and answers through which Clarence Ho helped me get the combination working. You can see that he used a library originally by Rei Vilo, modified to add a contrast command. You can see also that Clarence has now added the jump-wire connections which are needed to link the Launchpad and LCD, near the top of the page. I then investigated graphics, and added Graphics com
-
I've been lurking here for awhile... I am a noob to Energia, but have more than a little experience designing and writing interrupt-driven C code for msp430f2013, as well as some time spent with the value line devices. I am working on a personal project with the F5529, connecting to a GPS (the adafruit ultimate BOB), an Iridium 9602 Sat-Comm device (sparkfun RockBlock), and a cap touch TFT LCD (have worked with both the adafruit 2.8" BOB and a www.buydisplay.com version of same). The project is a DIY short-burst-data comm device to let my wife know I've not been eaten by a bear on an upcoming
-
Hi all, I am new to the forum to MCUs and to energia. I have the TI Launchpad MSP430G2553 with a maximum of 16,384 bytes of available ram as far as I understand. The program below compiles at 3,061 bytes if I use the data type "byte" for my large array, but apparently I am missing 72 bytes of space if I use the data type "int" which if I understand things well is only twice the size of a byte. Can someone explain to me why I get this error? P.S: Some variables are not yet used I know, but they will be int dot = 0; int dash = 1; int empty = -1; int unit = 50; int dot_u
-
I have configured the Arduino Touchdevelop libs to compile for TIVA TM4c1294, using platformio. Code can be found at: https://?www.touchdevelop.com/pvcslb Full lib is W.I.P so please reply for any feature requests. output_file.ino
-
- touchdevelop
- energia
-
(and 2 more)
Tagged with:
-
I have an Energia project that seems to go astray under rare and seemingly random circumstances - it can occur anywhere from hours to months apart and I haven't been able to pin the cause down. It starts right up again after a reset. It isn't critical if it is down for a minute or so but I am usually not around to reset it manually. However, I can monitor things in the firmware and tell when things are not working correctly. In this situation it is easy enough to force a reset from Energia by writing to the watchdog timer and control register with an improper password. For example, in
-
Hi I'm using external RTC which has DS1307 where it communicates to my cc3200 using (SDA and SCL) I2C. Please note as oer block diagram there are two I2C interface available in cc3200 LP I'm using RTC lib specified for ds1307 from here Option #1: when I connect my RTC module to Pin P01 and P02 (SCL and SDA) as detailed in CC3200 block diagram I see valid clock/time in my COM port Option #2: Now, When I try the with other I2C port in P4 40 and 39 (top two pins) I'm not seeing any clock/timer value Please help me to understand what might be the reason? why one I2C interface works w
-
Greetings all, recently download energy-0101E0017 but when you run energia.exe not responding (It is the same with energy-0101E0016). I have windows 7, obviously download the version for this system. First open the following screen: It takes a little and throws me the following message: Try click on the exe and put it in compatibility with windows 7 but not work. Not is it could be, I hope I can help with this or suggest something to fix it, thank you.
-
0down votefavorite Hi, I am trying to implement Modbus TCP on TIVA 1294 using the following code. I am using a modbus slave simulator on a pc to check the following code. However, the code doesn't seem to be working. I have downloaded the code & the libraries fromhttp://myarduinoprojects.com/modbus.html. Please suggest me corrections if necessary. Also is there another working example available for modbus tcp/ip for ethernet on TIVA energia? Please guide. #include <SPI.h> #include <Ethernet.h> #include "MgsModbus.h" MgsModbus Mb; int inByte = 0; // incoming seri
-
Hi, I want to implement a code for Modbus RTU over TCP/IP usng TM4C1294NCPDT launchpad. Does anyone know a library which can be used to implement it. Also is it possible to obtain data from a PLC using modbus TCP/IP and send it to a Server on cloud using the same ethernet port? Please help. Thanks.
-
I need to configure a MMA8653FCR1 accelerometer to cause an interrupt when a certain level of movement is detected. I was looking at the datasheet for it and there was a ton of minutia. Just wondering if somebody has already implemented a library for this device for use with Energia. If you know where I might find some source code for this, I'd greatly appreciate it. Before I get too many flames, I have searched google and the forums for this, but I am unable to find a satisfactory solution. Any assistance here would be greatly appreciated.
- 4 replies
-
- Interrupt
- MMA8653FCR1
-
(and 2 more)
Tagged with:
-
Good morning, This probably belongs in the suggestions section, but I couldn't find that so I'm posting it here. Moderators, please move this to the appropriate place... Anyway, I would like to suggest that the powers that be PLEASE release a new version of ENERGIA. There are 2 huge glaring problems in the current release. 1. I2C Scanner doesn't work for MSP430G2553 2. There is no support for 28 pin versions of the MSP430G2553 Both of these issues have been addressed and fixed in various GitHub code. However, it has not been merged into Energia and applied to a new rel
-
Well Hi! I'm reasonably new to the MSP430 stuff, been working with Arduino's and started some Embedded systems unit at University that has really sparked an interest in this stuff. I've been working mainly in Energia but trying my best to explore whats under some of the abstraction. Currently exploring CCS environment. Looking forward to sucking up some of this communities knowledge and hopefully providing some of my own as well
- 1 reply
-
- MSP430FR5739
- CCS
-
(and 1 more)
Tagged with:
-
Hello. I'm very new to the MSP430. I am having a lot of trouble getting the Capacitive Touch libraries to work in Energia. When I try to use the zip on the forums, Energia will not open. I download the zip and unzip it to the energia libraries folder in my documents. Have I done this incorrectly?
- 2 replies
-
- MSP430
- Capacitive
-
(and 2 more)
Tagged with:
-
There have been a few situations where I've had HardwareSerial::write() lock up on me and end up in an infinite while loop. Could some changes be made to any and all possibly infinite while(); loops? I think it would just take some sort of counter that indicates how many iterations through the while(); loop have happened. Then if some upper limit is reached, exit with a fail. Let's make it bullet proof as possible.
-
Hello everyone, I am a newbie here, just received my MSP432 launchpad few days ago and I'm willing to develop a wireless bluetooth communication between my MSP432+Bluefruit LE SPI and my computer. I downloaded the librairies from Adafruit that are designed for Arduino and I think I succeeded to convert a honest part of the code for Energia. Though, I still have an important problem that stops me to go forward. Indeed the Bluefruit LE SPI dongle communicate through some commands called ATCommand, and I don't succeed to transmit those commands through the dongle. As an example
-
Hi, I am new to MSP432 and Xbee devices. I am trying to use the MSP432 and the Diji Xbee S1 to transmit and receive audio signals. However, I can't seem to transmit data over the Xbee. I just have the xbee module connected to pins: 3.3V, Ground, pin 3.3 transmitter and 3.2 receiver... I have confirmed that the Xbee's communicate using XCTU. Code: void setup() { Serial.begin(9600);// baud rate setting } void loop() { Serial.print("Failing");// send mic value over serial delay(100);// for testing } I can see the "Failing" showing up on the com port but not on the other
-
Hi, Can someone help me to implement an internal RTC module code in TIVA TM4C1294NCPDT using Energia? Thanks.
-
How do I connect a sensortag to Energia? I assumed I used the xds110 to probram & debug, but Energia complains: IcePick_C: Error connecting to the target: (Error -260 @ 0x0) An attempt to connect to the XDS110 failed. The cause may be one or more of: invalid firmware update, invalid XDS110 serial number, or faulty USB connection. The firmware and serial number may be updated using the xdsdfu utility found in the .../ccs_base/common/uscif/xds110 directory of your installation. View the ReadMe.txt file there for instructions. (Emulation package 6.0.14.5) and running xdsdfu.exe -e gi