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

All Activity

This stream auto-updates     

  1. Yesterday
  2. Rei Vilo

    Energia support for Hercules TMS570LS04x/03x LaunchPad

    See Hercules support in Energia? Add a New Board to Energia Please refrain from double-posting. Netiquette for Newbies
  3. neznaika

    problems with MSP432E using energia

    Hello, I am trying to use MSP-EXP432E401Y with energia on W10. So far no luck. At the moment, energia compiles but I get the following error: "Connecting... error: CORTEX_M4_0: Error connecting to the target: Frequency is out of range." Is there a way to patch this error? Or should I dive into CCS... Thanks in advance
  4. petertux

    USB to gameport project

    If you appreciate late 90s vintage PCs you might be interested in this one. I decided to build a Pentium II machine on which I can play my favourite games from those times. Magic Carpet (Bullfrog Productions) is one of them, but it needs a joystick. I had good quality USB joysticks, but those games need old analog gameport-based controllers that are serviced by the sound cards of the time. This new project acts as a USB Host and provides the analog output that emulates a 4 axis + 4 button game controller. the prototype works absolutely great, it takes about 0.6ms to read data from the attached USB joystick and to send it to the sound card. data is retrieved every 10ms as per the HID polling interval, absolutely no input command is lost and there is over-current protection built in in order to protect the PC from misuse. what do you guys think? I'm open to ideas regarding this project before I commit revision 2 of the board - which might end up being a 4 layer design. prototype pictures: https://photos.app.goo.gl/fXdDBng4dvEepq8V7 repo: https://cadlab.io/projects/lemidi cheers, peter
  5. Hi, Does anybody have an idea of when will energia ide support Hercules TMS570LS04x/03x LaunchPad is gonna release? Can we add that board to energia? If yes, can anybody suggest in how to add a new board to energia so that i shall try adding it. Thanks
  6. Ztone

    TI CC3200 Relay on Pin 39 not working

    Hi William: I am meeting the same problem,. Even i connected the J14, the yellow led blink. My code also is same with you , so i want to ask you how you solve this problems. Regards, Xu
  7. Last week
  8. Hi all! We are using Tiva C series MCUs (TM4C1294XL and TM4C123GXL) for a project in IICDC 2019 but we are facing problems while implementing Controller Area Network protocol (CAN Protocol) using them. I've attached the basic code for sending messages via CAN protocol form one MCU to other but the problem is, it is not doing so as a message sent from one MCU is received by itself and not by other MCU in the network. We've tried using the filters as well but no progress. Any help would be really appreciated. P.S. - Do we require an extra CAN transceiver boosterpack for these modules? dph_CANExamplePolled.ino
  9. I am using TM4C123GXL and for some reason I am getting garbage values when I try to read the values from PB1 pin. I flashed this simple code to test the UART: void setup() { // initialize ports: Serial.begin(115200); //connected with USB } void loop() { Serial.print("E"); delay(200); } But instead of 'E' I see these garbage values: ;����������� I am reading using the same 115200 baud rate. What am I doing wrong? May be I do not flash the code correctly? I simply put the device into DEBUG mode and connect to my Ubuntu PC using the top micro USB port (red LED turns on). Then I simply Upload the code to the correct Serial port and then unplug the device. EDIT: I can confirm that I flash the code correctly. I tried to flash an empty code after which nothing was sent from the UART port
  10. venkatesh223

    Hercules support in Energia?

    Hi, When is the support for hercules launchpad is added?
  11. RobG

    MSP430 Nixie Clock

    Looks awesome!
  12. NurseBob

    library for GSM sim 800 using energia

    As previously noted, the mcu you're working with is probably not a good match for the device you want to work with. Aside from that, read the compiler errors and resolve them starting with the first one. C/C++ compilers will cascade errors, and while subsequent errors may be relevant, generally dealing the first one is the most effective approach. As you may, or may not, know, a single missing semi-colon can generate hundreds/thousands of error statements...
  13. rt009

    library for GSM sim 800 using energia

    it is showing errors in .h. i have attached that .h file. TinyGsmClientSIM800.h
  14. Thanke, that is helpful. Your example is one that I have also seen. I will take a look at MS policies.
  15. @Rei Vilo Yes, I the sensor runs on 3.3v and I set Wire.setModule(0); Wire.begin(); in void setup() I have my wires hooked into SCL (0) and SDA (0)
  16. Have you gone through the I²C Check-List?
  17. At the risk of doing exactly that... I've had occasional issues with various usb/serial peripherals on windows 10 on both my workstation and laptop, especially after MS updates. The solutions have typically been to look at changes in MS security/privacy policies which will disable device access and then render misleading error messages (e.g. "the device is in use by another application"). Your problem description doesn't seem to neatly fit what I've seen, but it might be worth taking a look.
  18. Rei Vilo

    Compile error

    Take another MCU or program in assembler.
  19. Hello, I am trying to port Sparkfun's library to get the apds-9960 Gesture Sensor working on my Tiva C 1294 board. I set up the library like you normally would with ardunio while changing the interrupt pin and uploaded the code to my board with no issues. The only problem is when I go to serial monitor I get nothing printed to screen. Are there any other steps I need to take in order to convert this code to work on my Tiva board? I also tried moving to code composer studio but I cant find many clean tutorials on how to use it. I also have a MSP432 that I might try to get his working on if its supported better. Thanks! /**************************************************************** GestureTest.ino APDS-9960 RGB and Gesture Sensor Shawn Hymel @ SparkFun Electronics May 30, 2014 https://github.com/sparkfun/APDS-9960_RGB_and_Gesture_Sensor Tests the gesture sensing abilities of the APDS-9960. Configures APDS-9960 over I2C and waits for gesture events. Calculates the direction of the swipe (up, down, left, right) and displays it on a serial console. To perform a NEAR gesture, hold your hand far above the sensor and move it close to the sensor (within 2 inches). Hold your hand there for at least 1 second and move it away. To perform a FAR gesture, hold your hand within 2 inches of the sensor for at least 1 second and then move it above (out of range) of the sensor. Hardware Connections: IMPORTANT: The APDS-9960 can only accept 3.3V! Arduino Pin APDS-9960 Board Function 3.3V VCC Power GND GND Ground A4 SDA I2C Data A5 SCL I2C Clock 2 INT Interrupt Resources: Include Wire.h and SparkFun_APDS-9960.h Development environment specifics: Written in Arduino 1.0.5 Tested with SparkFun Arduino Pro Mini 3.3V This code is beerware; if you see me (or any other SparkFun employee) at the local, and you've found our code helpful, please buy us a round! Distributed as-is; no warranty is given. ****************************************************************/ #include <Wire.h> #include <SparkFun_APDS9960.h> // Pins #define APDS9960_INT PE_4 // Needs to be an interrupt pin // LED #define LED PN_0 // Constants // Global Variables SparkFun_APDS9960 apds = SparkFun_APDS9960(); int isr_flag = 0; void setup() { pinMode(LED, OUTPUT); // Set interrupt pin as input pinMode(APDS9960_INT, INPUT); Wire.setModule(0); Wire.begin(); // Initialize Serial port Serial.begin(9600); Serial.println(); Serial.println(F("--------------------------------")); Serial.println(F("SparkFun APDS-9960 - GestureTest")); Serial.println(F("--------------------------------")); // Initialize interrupt service routine attachInterrupt(0, interruptRoutine, FALLING); // Initialize APDS-9960 (configure I2C and initial values) if ( apds.init() ) { Serial.println(F("APDS-9960 initialization complete")); } else { Serial.println(F("Something went wrong during APDS-9960 init!")); } // Start running the APDS-9960 gesture sensor engine if ( apds.enableGestureSensor(true) ) { Serial.println(F("Gesture sensor is now running")); } else { Serial.println(F("Something went wrong during gesture sensor init!")); } } void loop() { if( isr_flag == 1 ) { detachInterrupt(0); handleGesture(); isr_flag = 0; attachInterrupt(0, interruptRoutine, FALLING); } } void interruptRoutine() { isr_flag = 1; } void handleGesture() { if ( apds.isGestureAvailable() ) { switch ( apds.readGesture() ) { case DIR_UP: Serial.println("UP"); digitalWrite(LED, HIGH); // turn the LED on (HIGH is the voltage level) delay(1000); // wait for a second digitalWrite(LED, LOW); // turn the LED off by making the voltage LOW delay(1000); // wait for a second break; case DIR_DOWN: Serial.println("DOWN"); digitalWrite(LED, HIGH); // turn the LED on (HIGH is the voltage level) delay(1000); // wait for a second digitalWrite(LED, LOW); // turn the LED off by making the voltage LOW delay(1000); // wait for a second break; case DIR_LEFT: Serial.println("LEFT"); digitalWrite(LED, HIGH); // turn the LED on (HIGH is the voltage level) delay(1000); // wait for a second digitalWrite(LED, LOW); // turn the LED off by making the voltage LOW delay(1000); // wait for a second break; case DIR_RIGHT: Serial.println("RIGHT"); digitalWrite(LED, HIGH); // turn the LED on (HIGH is the voltage level) delay(1000); // wait for a second digitalWrite(LED, LOW); // turn the LED off by making the voltage LOW delay(1000); // wait for a second break; case DIR_NEAR: Serial.println("NEAR"); digitalWrite(LED, HIGH); // turn the LED on (HIGH is the voltage level) delay(1000); // wait for a second digitalWrite(LED, LOW); // turn the LED off by making the voltage LOW delay(1000); // wait for a second break; case DIR_FAR: Serial.println("FAR"); digitalWrite(LED, HIGH); // turn the LED on (HIGH is the voltage level) delay(1000); // wait for a second digitalWrite(LED, LOW); // turn the LED off by making the voltage LOW delay(1000); // wait for a second break; default: Serial.println("NONE"); } } }
  20. Rei Vilo

    library for GSM sim 800 using energia

    Don't expect much from the MSP430G2553 as it only features 512 bytes of RAM. Porting an Arduino library to Energia
  21. 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.
  22. Rei Vilo

    About msp430F2617 compatibility with energia

    Energia doesn't support this specific MCU but you can Add a New Board to Energia
  23. 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?
  24. Matze

    Compile error

    How can I fix it? Do i need more RAM?
  25. Rei Vilo

    Compile error

    Not enough memory.
  26. Earlier
  27. 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.
  1. Load more activity
×