Jump to content

Search the Community

Showing results for tags 'energia'.



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.


Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Location


Interests


Sparkfun


Github

Found 560 results

  1. Just installed in the latest Energia and then used the board manager to update my msp432r stuff to the latest 5.29.0. However, in: AppData\Local\Energia15\packages\energia\hardware\msp432r\5.29.0 the platform.txt file says: version=5.25.2 version.string=5252 Is 5.29.0 the same as 5.25.2?
  2. Hello I need help. I have to get it with an Energia programming that you have to press a button 5 seconds before the led tackles. Are there any programs or commands on how to get this?. Thank you for your help
  3. Hello, I am storing a sensor value in the Flash Memory in a Segment of MSP430F5529 board. Since the data from the sensor keeps changing i want the data to be overwritten so that not much of space in flash memory is used. Is there a simple way to achieve the overwrite feature in flash memory ? Also i have another doubt, i wanted to know if i keep writing continuously a data to flash memory, does the microcontroller gets caught in writing to the flash and slows the running program ? thank you for taking time to review my questions.
  4. Hello, Has there ever been a method developed for Energia that allows it to use an external crystal? I'd like to have the ability to enable a low frequency crystal as well as a high frequency crystal on the msp430fr5994. Does anyone have any recommendations for implementing this? Thanks,
  5. Hello, I'm trying to get some code to upload to my MSP-EXP430F5529LP board. Following this forum post (I'm on Mac OS Catalina), I installed a pre-release version of Energia, and I get this error: Energia: 1.8.10E22 (Mac OS X), Board: "MSP-EXP430F5529LP" Sketch uses 706 bytes (1%) of program storage space. Maximum is 48128 bytes. Global variables use 18 bytes (0%) of dynamic memory, leaving 8174 bytes for local variables. Maximum is 8192 bytes. java.io.IOException: Cannot run program "___REMOVE___/DebugServer/bin/DSLite": error=2, No such file or directory at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048) at java.lang.Runtime.exec(Runtime.java:620) at java.lang.Runtime.exec(Runtime.java:485) at processing.app.helpers.ProcessUtils.exec(ProcessUtils.java:11) at cc.arduino.packages.Uploader.executeUploadCommand(Uploader.java:129) at cc.arduino.packages.uploaders.SerialUploader.runCommand(SerialUploader.java:383) at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:197) at cc.arduino.UploaderUtils.upload(UploaderUtils.java:77) at processing.app.SketchController.upload(SketchController.java:732) at processing.app.SketchController.exportApplet(SketchController.java:703) at processing.app.Editor$UploadHandler.run(Editor.java:2075) at java.lang.Thread.run(Thread.java:745) Caused by: java.io.IOException: error=2, No such file or directory at java.lang.UNIXProcess.forkAndExec(Native Method) at java.lang.UNIXProcess.<init>(UNIXProcess.java:247) at java.lang.ProcessImpl.start(ProcessImpl.java:134) at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029) ... 11 more An error occurred while uploading the sketch This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences. What could be the issue? It seems like the directory that the program is trying to use is incorrect. (Maybe ___REMOVE___ is not supposed to be there or something?) Thanks in advance!
  6. Hello, I've been developing with the msp430fr5994 on energia and I seem to have come across an issue using the serial ports on 6.0 and 6.1 I have two of these processors connected together with the Tx/Rx connected respectively on 6.0 and 6.1. I have the first processor sending out a single number using the Serial1.write("1"); command. The second processor i set to respond by displaying data on it's TFT once it gets any kind of data. So far, I can't get anything to come out of the Serial1 ports. An oscilloscope shows that it's being held high and not sending any kind of data out. I've tried just about every combination of Serial1.print and Serial1.write commands and attempted single numbers, letters, phrases, ect. I read online from about a year ago that there was an issue getting Serial1 to work on this processor using energia, was there a fix for this? Thanks,
  7. Howdy, I'm having trouble programming my MSP430FR2433LP with Energia on my Mac. When I try to upload the program, it gives me this error: MSP430: Error initializing emulator: No USB FET was found. Strangely, I am able to program it with the online Code Composer Studio. I have made it blink red and green lights. Unfortunately, I'm not trying to become an embedded programmer (while that would be fun, I do not have the time) so I do not want to learn CCS, registers, and serial communications in pure C. Props to all you who can do this. I really want this to work with Energia - it will save me many hours down the road. I also tried this on my Windows Parallels desktop emulation software (which works pretty damn near perfectly like a true Windows OS), but I got the same error message! The board and USB cable are clearly working if I can program with CCS. So what is going on with Energia? Thanks, Another Mac-using engineer with problems
  8. I an using mspexp430g2 launchpad on energia with windows 10 OS.In this while compiling the inbulit "DigitalReadSerial" example code from energia IDE ,at that time it should print the output in the Serial Monitor screen . But it does not print anything.Please help me.
  9. I want know why my code isn't work, I used to use in TM4C129 and edit the code to used in TM4C123GXL, but it doesn't work. #include <stdint.h> #include "driverlib/sysctl.h" #include "driverlib/qei.h" int pos; void setup() { Serial.begin(9600); // Setup QEI Module SysCtlPeripheralEnable(SYSCTL_PERIPH_QEI0); GPIOPinConfigure(0x00031806); //GPIO_PD6_PHA0 GPIOPinConfigure(0x00031C06); //GPIO_PD7_PHB0 GPIOPinTypeQEI(GPIO_PORTL_BASE, GPIO_PIN_1 | GPIO_PIN_2); // Configure and Enable QEI QEIConfigure(QEI0_BASE, (QEI_CONFIG_CAPTURE_A_B | QEI_CONFIG_NO_RESET | QEI_CONFIG_QUADRATURE | QEI_CONFIG_NO_SWAP), 2147483648); QEIVelocityConfigure(QEI0_BASE, QEI_VELDIV_1, SysCtlClockGet()); // Divide by clock speed to get counts/sec QEIEnable(QEI0_BASE); QEIVelocityEnable(QEI0_BASE); } void loop() { // Report Position & Velocity of Encoder to Serial Terminal Serial.print(QEIPositionGet(QEI0_BASE)); Serial.print(','); Serial.println(QEIVelocityGet(QEI0_BASE)); delay(10); }
  10. With the 5.25.0 msp432pr board file update, my SPI stuff has stopped working. Some time back, there was an issue with spi modes 0/1 being switched. As such, that was the direction I was looking to try and figure out my current problem. While digging around I noticed this: 5.23.1\cores\msp432r\ti\runtime\wiring\SPI.h #define SPI_MODE0 SPI_POL0_PHA0 #define SPI_MODE1 SPI_POL0_PHA1 #define SPI_MODE2 SPI_POL1_PHA0 #define SPI_MODE3 SPI_POL1_PHA1 5.25.0\cores\msp432r\ti\runtime\wiring\SPI.h #define SPI_MODE0 SPI_POL0_PHA1 #define SPI_MODE1 SPI_POL0_PHA0 #define SPI_MODE2 SPI_POL1_PHA1 #define SPI_MODE3 SPI_POL1_PHA0 If I swap the definitions for SPI_MODE0 and SPI_MODE1 my code works again. So has the mode swapping problem re-appeared?
  11. Hello, I am playing around with msp432e401y launchpad in Energia and in my case analogWrite() does not work. I am not confident what this behavior is not related to my system, so I would like to get confirmation from other forum members. Thanks
  12. Hi, rank TI n00b here: I am a professional developer working a often in the Arduino IDE with Atmel, ESP, ARM, ATtiny and Kendryte processors among others. I am replicating a client design centered around an MSP430G2302 (14 pin TSSOP versus the apparently several different pin counts for this model) and thought the Launchpad MSP430GET would be a good programmer as it claims to support the MSP430G2302... and Energia is very familiar to me as it is essentially the Arduino IDE. I am finding no way to access the MSP430G2302 from Energia, nor any way to specify a 14 pin vs 16 pin package. Is this IC supported, and if so how do I use it? If this is one of those things where I'll get asked 'would YOU like to support it'; then I can assume it's unsupported despite what the literature claims. I am ready to pay the premium for using an ATMEGA328P-AU in order to be able to move on from trying to make this work to getting on with programming and designing this product. Thank you
  13. When installing energia on Linux Ubuntu the install runs successfully and produces a desktop icon and a menu item. The problem is that both launchers point to "/home/$USER/Downloads/energia-1.8.7E21/arduino" - but the file "arduino" does not exist in the energia directory so the app will not launch.
  14. I am using MSP432P401R and wanted to increase the I2C frequency from 100kHz(Standard) to 400kHz(Fast). In the Wire library for arduino, there is a function Wire.setclock(). Has anybody written such a function for energia? Because it is not there in energia. I went through the wire and twi libraries and found the following, In wire library, Wire.endTransmission calls a fucntion in twi library, twi_writeTo() which has the following line of code, UCBzCTL1 |= UCSSEL_2; // SMCLK Is this the line of code that sets the clock speed? Also in the twi.h library, the line of code, #define TWI_FREQ 100000L defines the frequency as 100kHz, but even if I changed it to 400000L, I don't see any change on hardware. Is this the right way? I'd appreciate if anyone can help me with this. Thanks
  15. Hi Everyone, I'm looking for ILI9340C library so that I can import that library in Energia and burn a program on TIVA C series. I read some of the forums on this websites but some people are using a different launchpad and some are using ILI9341 or some other LCD. I need to work with TIVA C launch pad and ILI9340. I'm using Energia. Before that I was Using Keil uVision to make some libraries for TIVA C Launchpad to work with ILI9340 but that were not that much efficient. I read some of you successfully made libraries to work with TIVA C launcpad and ILI9340 but links provided on those forums are not working or the content from those links have been removed. So please help me. Thanks.
  16. There's a problem in interfacing Neo-6m GPS module with CC3200 MCU. I have to interface with Neo-6m GPS module with CC3200 MCU for getting the coordinates of a particular location. GPS module works fine when I interface it with Arduino UNO/Mega/Nano. Before I bought my own CC3200 MCU, I had interfaced Neo-6m GPS module with CC3200 at an Industrial training Institute and it worked fine there. Now, when I'm trying to interface GPS module with same configuration, setup and program, it shows nothing on Energia's Serial Monitor. Please check video (attached). Please let me know whether jumpers and wires are connected correctly. VID-20190629-WA0002.mp4
  17. Hi, I am trying to use Energia with EK-TM4C1294XL, but I am unable to install the right LaunchPad board on Energia. I downloaded the proper driver usinghttp://energia.nu/guide/guide_windows/and downloaded Energia for Windows using http://energia.nu/download/. As a point of reference, my computer is Windows 64 bit. I then usedhttp://energia.nu/guide/boards/ to install the right LaunchPad board, but I am receiving the following error message shown below. I tried all troubleshooting suggestions on the links provided, but I can’t seem to find a solution to my problem. Can you help me determine the cause of this and help me resolve it?
  18. Hi, Does energia IDE support programming a MSP432 microcontroller on a custom board (by JTAG, SWD or UART) ? If not, what are the hardware modifications needed to support it? In the Energia website I can only see that the launchpads are supported https://energia.nu/guide/install/macos/ Regards and thank you
  19. I'm trying to get Energia21 working with my MSP432E (which I'm still struggling with) and ran into a problem. The platform.txt file references dslite 7.2.0.2096. However, to get this version of dslite, I must install the TivaC board...which installs this version of dslite in .../Energia15/packages/energia/tools/dslite. It seems like there is a mismatch between the dslite version that the v5.19.0 msp432e board is installing and the platform.txt file jrd PS FWIW, now that I fixed this, I get a "Frequency out of range error"...I tried other versions of dslite (6.2.1.1594, 8.0.0.1202, and 8.2.0.1400) to no avail.
  20. Hi Energia V1.8.7E2 OSX 10.14.5 I have been using Energia for a while now to program first a pair of CC1310 Launchpad boards and now the custom boards were designed with the information from that initial exercise. While the Launchpad boards can be programmed directly by Energia the custom boards have no XDS110 debugger interface so need to be programmed using the bootloader and UART. We accomplish this by using a USB->TTL serial adaptor and TI's Smart RF Flash Programmer 2 running in a Windows virtual machine. The issue is this... to get the newly compiled .elf I have to navigate to a folder with a name similar to /var/folders/tn/mrcpkdls2fx208png2rqfvcr0000gn/T/arduino_build_222512/. This folder path and name changes on every rebuild so I have to search for it every time. Not ideal. OK, so the questions are; Can this output folder be changed and, if so, how? What does "Export Compiled Binary" in the Tools menu do? On my system it compiles the current sketch but appears to do nothing else. It would be nice if it actually did something like allow you to save the compiled binary somewhere known on the drive. Thanks
  21. I am making a cloud-based attendance system in my database resides on a particular URL, which is stored at the string variable "server" according to the code. I have multiple WiFi networks in my organisation. I tested my whole system on one of the WiFi networks and I was able to connect to the server and push my data to the cloud. I had a meeting last evening and I had to use another WiFi network for which I entered the required credentials. My system successfully got connected to Wifi network but at the time of pushing the data to the cloud, it showed "Connection failed(to the server)". I tried that many times but no help. Then we thought of using the mobile hotspot. there the server worked fine again. What can be the issue? is the network anyway related to the server? Thanks in advance.
  22. Hello everyone, I would like to know how can I get digital input working under Simulink Embedded Coder Target for Energia. I had successfully used the digital output block in my Simulink models with MSP-EXP430G2 Launchpad, but didn't succeed for the digital input. Does the digital input block require external mode to operate? Please help
  23. Hello,. My idea is about connecting two CC3200 without a separate WiFi router like with their own like for example share it app which connects two devices using wifi one device with hotspot and one connected to that hotspot and share data.Is it possible to do that? As my idea is to share short text data between devices. using energia I want to continuously send/receive data between 2 cc3200 without any other modem unit or with another cc3200 which will be an access point between 2 of them. Is this possible ? If so , where should i begin? cc3200 (unit a) <-------> cc3200 (unit b) or cc3200 (unit a) <------via cc3200 (as AP) -------> cc3200 (unit b) Thank you
  24. Hello everyone! I need editing Energia Library for more flexebility. For example, the msp430 launchpad only have one UART available if i use Energia. How can i configure other UARTs? I need at least 3 UART and I know that TivaCTM4C1294XL have 4 UARTs. Also I need an option for add a parity bit for serial communication. Thank you so much! Gino
  25. i try to use this example but nothing happened // Wire Slave Sender // by Nicholas Zambetti <http://www.zambetti.com> // Demonstrates use of the Wire library // Sends data as an I2C/TWI slave device // Refer to the "Wire Master Reader" example for use with this // Created 29 March 2006 // This example code is in the public domain. #include <Wire.h> void setup() { Wire.setModule(0); Wire.begin(2); // join i2c bus with address #2 Wire.onRequest(requestEvent); // register event } void loop() { delay(100); } // function that executes whenever data is requested by master // this function is registered as an event, see setup() void requestEvent() { Wire.write("hello "); // respond with message of 6 bytes // as expected by master } and this one // Wire Master Reader // by Nicholas Zambetti <http://www.zambetti.com> // Demonstrates use of the Wire library // Reads data from an I2C/TWI slave device // Refer to the "Wire Slave Sender" example for use with this // Created 29 March 2006 // This example code is in the public domain. #include <Wire.h> void setup() { Wire.setModule(0); Wire.begin(); // join i2c bus (address optional for master) Serial.begin(9600); // start serial for output } void loop() { Wire.requestFrom(2, 6); // request 6 bytes from slave device #2 while(Wire.available()) // slave may send less than requested { char c = Wire.read(); // receive a byte as character Serial.print(c); // print the character } delay(500); } with this pin thank you
×
×
  • Create New...