Jump to content

All Activity

This stream auto-updates     

  1. Yesterday
  2. Changing the main.cpp

    https://stackoverflow.com/questions/12615683/calling-c-functions-from-c-file
  3. Hello @chicken im using your Library with Energia 0101E0017 and it not work with MSP430G2253 . Cant you help me !!!
  4. Last week
  5. Changing the main.cpp

    When including "main.c" as follows, can I include functions from another tab into main.c? In my example, I would like to use a function from LED.output.h before the main setup file In main.c #include <Energia.h> #include "LEDoutput.h" int main(void) { led_init(); // my function from LEDoutput.h init(); setup(); while (1) { loop(); } return 0; } However I am getting the following error: main.c:(.init9+0x2): undefined reference to `led_init'. Is my path to my custom library incorrect? Thank you!
  6. Nokia 5110 display

    hi there Rob.I try to connected msp430g2553 between nokia 5110 LCD. But i didnt succeed.Please help me!. fisrtly i design msp430g and 5110 LCD in proteus.but your shematic and proteus not same.How to connected msp430+5110 LCD? i need your your help
  7. Problems with Energia on MSP430 LaunchPad

    Thank you all for the advice about the folder name. I have finally been able to fix that issue. However, now when I load the "Blink" example I get the following error: Energia: 1.6.10E18 (Windows 10), Board: "MSP-EXP430G2553LP" Sketch uses 760 bytes (4%) of program storage space. Maximum is 16,384 bytes. Global variables use 20 bytes (3%) of dynamic memory, leaving 492 bytes for local variables. Maximum is 512 bytes. MSPDebug version 0.22 - debugging tool for MSP430 MCUs Copyright (C) 2009-2013 Daniel Beer <dlbeer@gmail.com> This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. usbutil: unable to find a device matching 0451:f432 An error occurred while uploading the sketch Any ideas, anyone? Many thanks, Mark
  8. BTW the nrf24l01 code is from https://github.com/spirilis/Enrf24
  9. I need help getting MSP430F5529LP to receive signals with nrf24l01 from MSP4302553. MSP4302553 Sends signal to another MSP4302553 with no problem. But cant get MSP430F5529LP to receive anything. I don't know if it is because of two SPI communications on the MSP430F5529LP or because the clock rate is different or something else. Please Help! MSP430G2553_Controller.ino MSP430F5529LP_ARM_BOT.ino
  10. MSP430F5529 USB HID Example for Energia

    There is C open source TI USB stack with examples (with one that you need is included)... http://software-dl.ti.com/msp430/msp430_public_sw/mcu/msp430/MSP430_USB_Developers_Package/latest/index_FDS.html Supported by CCS or IAR, not Energia.
  11. Best information for those new to the MSP430?

    Great efforts by admin.
  12. MSP430F5529 USB HID Example for Energia

    You may consider Code Composer Studio instead of Energia. Please visit TI Resource Explorer at http://dev.ti.com/tirex/.
  13. MSP430F5529 USB HID Example for Energia

    Thank you for a response, Sir. But I want to do programming in C language, not Java. And I found MSP430F5529(25MHz) board in Energia IDE. But I am finding USB-MSC/HID based library who supported in Energia IDE.
  14. MSP430F5529 USB HID Example for Energia

    I doubt you'll find any Energia USB-CDC examples. For a USB SDK look at the MSP430Ware for the tools you will need. In addition to sample code for a CDC device, there's a primitive Java app that will give you a place to start for MSP430F55xx -> PC communication via USB. I was able to convert one of the HID sample apps in conjunction with the supplied JAVA libs into a data capture app that interfaces at up to 1 KHz (on a good day, heading downhill with a tailwind). For my app, CDC was not an appropriate choice.
  15. UART using MSP430FR2311

    The FR2311 only has one UART. To be able to use pins 3 and 4 with an external device you have to remove the RX/TX jumpers from the board. Note that you will not be able to both communicate with the SIM800 and do debug to the Serial terminal. Is there any specific reason to use the FR2311? If not, then I would suggest upgrading to a MSP-EXP430F5529LP LaunchPad: This LaunchPad has 2 serial interfaces. You can then use Serial.xyz for debugging and Seria1.xyz for communicating with the SIM800.
  16. As a general rule, you should never use file or directory names with spaces in them. They tend not to work well with many tools, and tend not to work well across platforms, and do not work at all with some environments/platforms. We have all seen the abomination that occurs when a URL contains a space, and some of us have seen environments where some superstar realizes that, on windows, a filename or directory name can consist of nothing but spaces. Have fun with that. It does not help that Windows does not handle paths consistently across contexts, and, though better than in the days of Win95, still does not handle capitalization in file/directory names consistently across all contexts.
  17. UART interface to sim900

    Is the RXD and TXD jumpers connected vertically or horizontally. ...? If its connected horizontally , you cant see anything in Serial monitor. If it is connected Vertically its like tapping the connection . You can use both Application UARt and can see using the Serial monitor.
  18. UART using MSP430FR2311

    Please refer to 25 Functions for 25 Cents: Communication Functions.
  19. UART using MSP430FR2311

    The MSP430FR2311 has only 4 kB of Flash / FRAM and 1 kB of RAM, and is not officially supported by Energia. The SoftwareSerial library may require more space. Go for a LaunchPad with more memory and officially supported by Energia.
  20. UART using MSP430FR2311

    I am using a MSP430FR2311 launch pad and i am trying to send AT commands through RX and TX to SIM800 and Receive Response from the SIM800 module. But am not able to get the response and not able to use SoftwareSerial in Energia for MSP boards. Can Anyone help with this problem ? Thank you in advance. #include <String.h> void setup(){ pinMode(RED_LED , OUTPUT); Serial.begin(9600); //Serial.print(F("AT\r")); while(Serial.available()==0); val1 = Serial.readString(); Serial.print(val1); Serial.print("\r"); delay(100); } void loop(){ //do nothing if(Serial.available()) { String val2 = Serial.readString(); line += String(val2); Serial.print(line); if (line.indexOf("OK") >= 0) { digitalWrite(RED_LED,HIGH); } } } Since we cant use both the Debugging UART (Serial Monitor) and Application UART (TX and RX) at the same time , I am checking the received Response for the string "OK" . and if OK is there the RED led goes high.
  21. UART using MSP430FR2311

    I am using a MSP430FR2311 launch pad and i am trying to send AT commands through RX and TX to SIM800 and Receive Response from the SIM800 module. But am not able to get the response and not able to use SoftwareSerial in Energia for MSP boards. Can Anyone help with this problem ? Thank you in advance. #include <String.h> void setup() { pinMode(RED_LED , OUTPUT); Serial.begin(9600); //Serial.print(F("AT\r")); while(Serial.available()==0); val1 = Serial.readString(); Serial.print(val1); Serial.print("\r"); delay(100); } void loop(){ //do nothing if(Serial.available()) { String val2 = Serial.readString(); line += String(val2); Serial.print(line); if (line.indexOf("OK") >= 0) { digitalWrite(RED_LED,HIGH); } } } Since we cant use both the Debugging UART (Serial Monitor) and Application UART (TX and RX) at the same time , I am checking the received Response for the string "OK" . and if OK is there the RED led goes high.
  22. UART using MSP430FR2311

    I am using a MSP430FR2311 launch pad and i am trying to send AT commands through RX and TX to SIM800 and Receive Response from the SIM800 module. But am not able to get the response and not able to use SoftwareSerial in Energia for MSP boards. Can Anyone help with this problem ? Thank you in advance. #include <String.h> void setup() { pinMode(RED_LED , OUTPUT); Serial.begin(9600); //Serial.print(F("AT\r")); while(Serial.available()==0); val1 = Serial.readString(); Serial.print(val1); Serial.print("\r"); delay(100); } void loop(){ //do nothing if(Serial.available()) { String val2 = Serial.readString(); line += String(val2); Serial.print(line); if (line.indexOf("OK") >= 0) { digitalWrite(RED_LED,HIGH); } } } Since we cant use both the Debugging UART (Serial Monitor) and Application UART (TX and RX) at the same time , I am checking the received Response for the string "OK" . and if OK is there the RED led goes high.
  23. Hello, I want to design a datalogger and to create USB Mass Storage when I connect board. I did not find Examples related to MSP430F5529 for Energia. So, please suggest me Energia example/SDK related to "MSP430F5529". Thank you. Regards, Pratik Panchal
  24. Who does the forum post twice?

    Hi @Rei Vilo One of the reasons this may be happening is due to the server timing out or running slow. I've tried resolving the issue by optimizing server settings, but it is an art. I'm getting there slowly. For now, reporting the duplicate posts will help a great deal.
  25. Who does the forum post twice?

    Maybe by mistake, sometimes it occurs due to the internet issue. Admin will resolve the issue No need to worry mate
  26. Anyone interested in the Wi-Fi Camera BoosterPack?

    Def. interested in ~10 of these, if they ever pop-up again.
  1. Load more activity
×