Jump to content


  • Content Count

  • Joined

  • Last visited

Everything posted by srv

  1. see file:http://energia.nu/AttachInterrupt.html use this function: attachInterrupt(interrupt, function, mode); first change the intrrupt with your input pin and then in place of mode put: RISING and in place of function write you function which one you want to call here you want to send data using serial port so write inside your function : void function(void){ Serial.println("High Pulse"); } so your final program is like: void setup() { Serial.begin(9600); attachInterrupt(P2_2, serial_call, RISING); } void loop() { // put your main code here, to run repeatedly: } void
  2. I am unable to use mspflash lib. with msp430F5529 launchpad. Compilling Error--------- Applications/Energia.app/Contents/Resources/Java/hardware/msp430/libraries/MspFlash/MspFlash.cpp: In member function 'void MspFlashClass::erase(unsigned char*)': /Applications/Energia.app/Contents/Resources/Java/hardware/msp430/libraries/MspFlash/MspFlash.cpp:33:3: error: 'FCTL2' was not declared in this scope /Applications/Energia.app/Contents/Resources/Java/hardware/msp430/libraries/MspFlash/MspFlash.cpp:33:17: error: 'FSSEL1' was not declared in this scope /Applications/Energia.app/Contents/Resource
  3. Yes i know i make rtc clock using energia function millis. Sent from my ST26i using Tapatalk
  4. can any one help me how can i use these lib with my msp430f5529 launchpad.
  5. this is not working with msp430F5529 Launchpad unable to compile #error /Applications/Energia.app/Contents/Resources/Java/hardware/msp430/libraries/RTCplus/RTCplus.cpp: In member function 'void RealTimeClock::begin()': /Applications/Energia.app/Contents/Resources/Java/hardware/msp430/libraries/RTCplus/RTCplus.cpp:58:5: error: 'BCSCTL1' was not declared in this scope /Applications/Energia.app/Contents/Resources/Java/hardware/msp430/libraries/RTCplus/RTCplus.cpp:59:5: error: 'BCSCTL3' was not declared in this scope /Applications/Energia.app/Contents/Resources/Java/hardware/msp430/libraries
  6. hey can any please help me, I want to know that is the program in my msp430F5529 flash is protected.Can any one copy that program to another microcontrollor???
  7. Thank You.i am using msp430 launchpad.
  8. Can anyone please help me how can i store a data/value in MC flash memory during prgram execution and use that value always (means after reset the launchpad)????? i want to store ADC value in my launchpad memory and use that value algin after several reset.
  9. When i Connect my msp430F5529 Launchpad it's asking for drivers?where i can find drivers???...unable to install automatically.but in mac it's working properly. Please Help.
  10. And could you please tell me how you send code in colourful way ???
  11. Ok.I'll try this thing and send you picture of jumper setting.this time i am using softwear serial in my project.
  12. Thank you everyne for support.Now i am gettting every thing very clear.I am new in Energia. It's a great tool for MSP430.I love it's it's simple and you people make this more much simple then any other IDE.
  13. i am using P3_3 and P3_4 for softwear uart so the code is not working.
  14. Ohh....sorry.You are right now.Thanks for helping me.but there is still a question that from serialuart we can use any pins as serial port then how can i use hardwear uart for this.because if i use software uart then the code size increases and also use more CPU.
  15. I never face this type of problem.can you upload you code so i can check your code in my launchpad.
  16. I am using this code but it's not working.Have you test this code in launchpad.is there is any jumper setting for this??/
  17. NO, i am here asking for that how to calculate delay_time table for 25MHz. the formula is not correct because if i use the given formula for 16MHz then i am not getting the same answer as writen in energia lib.
  18. hey friends, I am trying UART in MSP430F5529 launchpaddrom 1 week ago but UART is not working properly.I can sent data from launchpad but not recv. data.so please help me.the code is down.i read a book.read header files.but its not working but the same code work on msp430G22553. CODE: #include <SoftwareSerial.h> SoftwareSerial mySerial(P3_4, P3_3); // RX, TX void setup() { // set the data rate for the SoftwareSerial port mySerial.begin(9600); } void loop() // run over and over { mySerial.write(mySerial.read()); } not getting any thing. code 2
  19. //formula is roughly rxintra=rxstop=tx = F_CPU / baud / 3 - 5/3 // so, delay = 16000000 / 3 / baud - 5/3 // and, rxcenter = 1/2 rxintra _DELAY_TABLE table[] = { // baud rxcenter rxintra rxstop tx {115200, 15, 32, 32, 32, }, {57600, 38, 78, 78, 78, }, {38400, 61, 123, 123, 123, }, {31250, 72, 155, 155, 155, }, {28800, 80, 170, 170, 170, }, {19200, 126, 262, 262, 262, }, {14400, 177, 353, 353,
  20. DId you try it on other MSP430G2553? or check your code.I think that there may be some problem.
  21. Ok....thank you... Sent from my ST26i using Tapatalk
  22. I can receive data in serial monitor but when i send data to controller i did not get any send char back. Sent from my ST26i using Tapatalk
  23. What i can do to use default uart....???i install jumper on rxd and txd... Sent from my ST26i using Tapatalk
  24. Read this book pdf use same code but unable to receive data...help me what to do....code is right but i think that there is jumpoer problem. Sent from my ST26i using Tapatalk
  • Create New...