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

Search the Community

Showing results for tags 'msp430'.



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 305 results

  1. 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.
  2. Matze

    Compile error

    Hello guys, I need help. I trust to program one LED with three Buttons on an MSP430, but when I compile the programme it shows an error. I have no Idea. In the following document you can see the code and the error report. Thank you. int R1 = P2_1; // LED Rot int G1 = P2_0; // LED Grün int Blau1 = P1_5; // LED Blau int T1 = P1_4; // Taster 1 int T2 = P1_3; // Taster 2 int T3 = P1_2; // Taster 3 int Time = 300; // Variable 1 int Zeit = 100; // Variable 2 void setup() { pinMode(R1, OUTPUT); pinMode(G1, OUTPUT); pinMode(Blau1, OUTPUT); pinMode (T1, INPUT_PULLUP); pinMode (T2, INPUT_PULLUP); pinMode (T3, INPUT_PULLUP); } void loop() { if(digitalRead(T1)==LOW) { int i; for(i=0;i<=30;i++){ digitalWrite(Blau1,HIGH); delay(50); digitalWrite(Blau1,LOW); delay(50); int i =+ 1; } for(i=0;i<=30;i++){ digitalWrite(R1,HIGH); delay(50); digitalWrite(R1,LOW); delay(50); int i =+ 1; } for(i=0;i<=30;i++){ digitalWrite(G1,HIGH); delay(50); digitalWrite(G1,LOW); delay(50); int i =+ 1; } } else{ digitalWrite(G1,LOW); digitalWrite(R1,LOW); digitalWrite(Blau1,LOW); } if(digitalRead(T2)==LOW) { digitalWrite(R1,HIGH); delay(Time); digitalWrite(R1,LOW); delay(Zeit); digitalWrite(R1,HIGH); delay(Time); digitalWrite(R1,LOW); delay(Zeit); digitalWrite(Blau1,HIGH); delay(Time); digitalWrite(Blau1,LOW); delay(Zeit); digitalWrite(Blau1,HIGH); delay(Time); digitalWrite(Blau1,LOW); delay(Zeit); digitalWrite(G1,HIGH); delay(Time); digitalWrite(G1,LOW); delay(Zeit); digitalWrite(G1,HIGH); delay(Time); digitalWrite(G1,LOW); delay(Zeit); digitalWrite(Blau1,HIGH); delay(Time); digitalWrite(Blau1,LOW); delay(Zeit); digitalWrite(Blau1,HIGH); delay(Time); digitalWrite(Blau1,LOW); digitalWrite(R1,HIGH); delay(Time); digitalWrite(R1,LOW); delay(Zeit); digitalWrite(R1,HIGH); delay(Time); digitalWrite(R1,LOW); delay(Zeit); digitalWrite(Blau1,HIGH); delay(Time); digitalWrite(Blau1,LOW); delay(Zeit); digitalWrite(Blau1,HIGH); delay(Time); digitalWrite(Blau1,LOW); delay(Zeit); digitalWrite(G1,HIGH); delay(Time); digitalWrite(G1,LOW); delay(Zeit); digitalWrite(G1,HIGH); delay(Time); digitalWrite(G1,LOW); delay(Zeit); digitalWrite(Blau1,HIGH); delay(Time); digitalWrite(Blau1,LOW); delay(Zeit); digitalWrite(Blau1,HIGH); delay(Time); digitalWrite(Blau1,LOW); } if(digitalRead(T3)==LOW) { digitalWrite(R1,HIGH); delay(Time); digitalWrite(G1,HIGH); delay(Time); digitalWrite(R1,LOW); delay(Time); digitalWrite(Blau1,HIGH); delay(Time); digitalWrite(G1,LOW); delay(Time); digitalWrite(R1,HIGH); delay(Time); digitalWrite(R1,LOW); digitalWrite(Blau1,LOW); delay(Time); } else{ digitalWrite(G1,LOW); digitalWrite(R1,LOW); digitalWrite(Blau1,LOW); } } JUSTUS.ino Neues Textdokument.txt
  3. 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?
  4. Hi, Can anyone provide me the links or code for basic read and write example on FRAM of MSP430FR6989 on energia?
  5. printf in the IAR simulator outputs to the Terminal I/O window. Does anyone know how to output a single character to the window with only assembly? I tried sending bytes to the UART but nothing shows up. Any ideas?
  6. If you have one of those 5050/WS2811 aka WS2812 strips and you want to "wear" it, I have a board for you. Here are the specs: 20pin MSP430G2xx3 5V power supply 0.05" programming header UART input (allows pixel or sequence control) 11mm wide (0.45") 25mm long (1") 32mm long (1.25") - version with memory optional SOIC SRAM or EEPROM 1mm thick There are 4 boards on the panel, 2 with memory option. Assembled boards Board in the sleeve Board attached to 30 LED strip (0.5m)
  7. RobG

    MSP430 Nixie Clock

    MSP430 based Nixie tube clock. I was looking for some nice Nixie tube digit images so I could add them to my EduKit library, but I couldn't find any usable ones. I decided to just buy few of them and photograph myself. Then I thought that it would be a horrible waste if they just sit in a drawer. So here it is, my first Nixie project since... 1987. This clock will be available as kit, but since this is v1, I will most likely make some adjustments. Any suggestions are welcome.
  8. NicholasLindan

    CoRTOS: An open source minimalist RTOS

    CoRTOS is a Cooperative Real Time Operating System for bare-metal applications. Its advantages over other systems are that it is fully documented with a manual and examples, is easy to understand and use and is astonishingly simple: The kernel is just 16 lines of C. The CoRTOS module compiles to ~200 bytes of code. The system includes optional modules implementing delays, timers, messaging, mutexes and signaling. It is intended for smaller microprocessors, such as the MSP430, Cortex M0+, AVR and PIC24, and for smaller systems of maybe a dozen tasks. CoRTOS is not a task scheduler. CoRTOS works like any other RTOS. Tasks schedule themselves, picking up where they left off after making a call to the OS. Please feel free to send questions to nolindan@ix.netcom.com The intended audience includes: • Those needing a small footprint RTOS; • Students learning about real time systems; • Makers wanting to program "close to the metal" Features World's simplest RTOS CoRTOSV1d.zip
  9. jsolarski

    Brew day monitor suite

    This is a start to a bigger project and will be expanded on. Temperurature sensor for Mash -- MSP430, LM75B, possible other sensors, thermal couple. (working on code and proof of concept) Temperurature sensor for fermentation -- TBD Specific gravity sensor -- TBD User Interface -- TBD automation of pumps gas lines and equipment -- Requirements: Food safe, easily cleaned. probes and sensors sealed...... What I want is mash temp monitoring and logging to help me improve my brew days and procedure and maybe add a heater to keep the tempature stable during this time. Yes this has all been done before, but I want a home built one and one customized to my equipment.
  10. fabytm

    G2553 UART issues

    Hey guys, I'm having some problems with my G2553 Launchpad. For some time now, the UART functionality has not functioned. I'm now sending the character "a" through the HW UART (Jumpers are positioned correctly) and what I get on my computer is completely different. I tried this in Windows 10, W7, macOS Mojave, even through the physical P1.1 and P1.2 ports to a Raspberry Pi and the result is the same. https://imgur.com/a/yd90MIw I also tried receiving data from a GPS module via UART and the data I received was unusable (the length of data was as expected, but the characters were gibberish). Has anyone had something similar happen to them?
  11. I'm trying to use the UCA0 for SPI on MSP430FR2433 by using the SPI.setmodule(10); before SPI.begin(), but I'm not getting any data on the SPI lines. The default SPI on this launchpad is UCA1 and it works. After the above thing didn't work, I tried changing the core files: /home/username/.energia15/packages/energia/hardware/msp430/1.0.5/variants/MSP-EXP430FR2433LP/pins_energia.h In this file I changed: (from line 47 to 50) static const uint8_t SS11 = 8; /* P2.1 */ static const uint8_t SCK11 = 7; /* P2.3 */ static const uint8_t MOSI11 = 15; /* P2.4 aka SIMO */ static const uint8_t MISO11 = 14; /* P2.5 aka SOMI */ to: static const uint8_t SS11 = 8; /* P2.1 */ static const uint8_t SCK11 = 5; //P1_6 static const uint8_t MOSI11 = 4; //P1_4 aka SIMO static const uint8_t MISO11 = 3; //P1_5 aka SOMI And changed: #define DEFAULT_SPI 11 to: #define DEFAULT_SPI 10 But this also didn't work.pins_energia.h I have attached the changed file.
  12. Announcing the release PRTOS, an open-source preemptive real time operating system kernel for bare-metal applications. You may find PRTOS a good choice if you want to learn about preemptive multitasking. The API, though having all the features of FreeRTOS or uC/OS, is much simpler and easier to learn. Additionally the system will fit into much smaller processors. PRTOS is released by Cleveland Engineering Design - the developer of the CoRTOS cooperative real time OS, also available on Sourceforge. PRTOS presently supports the MSP430 and AVR architectures. PRTOS is available on Sourceforge at https://sourceforge.net/projects/prtos-preemptive-rtos/ The advantages of PRTOS are: It has the smallest footprint of any true preemptive system: 1.3kB for basic scheduling and task control, 4.8kB with all the features below (MSP430 / size optimization); Only 950 lines of code implement all of the RTOS features (SLOC-L); The system is configurable, you include only the features you need; There is minimal to zero interrupt burden; The system is well documented with a short but comprehensive manual, well-commented source code, and a test suite demonstrating the features; The system is proven - it has been in use since 1982 with applications in in-vitro medical equipment, process control instrumentation and industrial machinery; It is released under a GPL V3 license and commercial licensing is available. PRTOS provides the following features: Scheduling Preemptive Prioritized Round-robin equal priority tasks Task Control Initialize/Ready Suspend/Resume Lock/Unlock Change priority Relinquish a round-robin turn Communication Messages, priority messages Signals Delay & Time Task delays Time-outs Periodic signals Run timers Resources (mutexes) Multiple resource ownership Priority inversion mitigation Priority or FIFO queuing Semaphores Binary Counting Signaling ISR -> task functions Send signal Send message, send priority message Resume task
  13. Hello everyone, I am trying to get Energia running on my machine (macOS 10.13.3) and I am having troubles getting my serial ports to show up in the IDE. I have tried following the installation guide on the website here: http://energia.nu/guide/guide_macosx/ But when I click the link for "MSP-EXP430G2 and MSP-EXP430FR5739 LaunchPad," I am greeted with this: I know my USB cable is fine as I have used it with CCS on the Windows machines at school. If someone either has these drivers handy or if a dev from Energia has an expected time as to when these drivers will be available I would appreciate it greatly.
  14. @REI VILO i think the RXD and TXD signal are inverted on the Pin map from MSP430G2XXX: http://www.energia.nu/pinmaps/msp-exp430g2/ For me on the launchpad MSP430G2553 TXD output from the chip is on pin P1_2, not P1_1.
  15. a4c8

    Dual LCD Chess Clock

    I'm new into the world of microcomputers and my first idea was to use an Arduino Nano, but then I found out that MSP430 can be programmed in a similar way (Energia) consuming less power while being equipped with an LCD controller. My question is now which series/model fits my needs. I want to drive 2 LCDs (6 digits each either this [https://www.mouser.de/datasheet/2/244/LCD-S601C71TR-1132196.pdf] or this [https://www.mouser.de/datasheet/2/244/LCD-S601C71TF-1133344.pdf] model) and use some buttons (max 10). According to Wikipedia I could either use MSP430x1xx, MSP430x3xx, MSP430x4xx, MSP430x6xx or RF SoC (CC430). Which would be the most affordable and least power consuming board?
  16. ironoman

    Energia Support MSP430FR6972

    I am trying to add MSP430FR6972 in Energia. So far i have edited board.txt , board.mk but the pin_energia.h seems alot complicated than the previous two. So i need some help in doing so. I think the way i am adding a new board in energia might be wrong so just point me in the right direction and i will do the rest.
  17. I made a heart rate sensor, and prototyped it with the launchpad. The mcu reads BPM and displays it on an LCD. I now want to create a pcb without the launchpad. I've attached what I have so far. I'm powering everything from a 9V battery, so I have a 3.3V regulator which I will use to power the MSP430G2553. Can I just connect the the output of the regulator to the VCC pin, and connect all the other pins to the circuit as I did with the launchpad, or are there other considerations I need to account for? Also, how do I debug and edit the program while the microcontroller is on my custom pcb?
  18. a4c8

    Dual LCD Chess Clock

    I want to drive 2 LCDs (6 digits each either this [https://www.mouser.de/ datasheet/2/244/LCD-S601C71TR-1132196.pdf] or this [https://www.mouser.de/datas heet/2/244/LCD-S601C71TF-1133344.pdf] model) and use some buttons (max 10). According to Wikipedia I could either use MSP430x1xx, MSP430x3xx, MSP430x4xx, MSP430x6xx or RF SoC (CC430). Which would be the most affordable and least power consuming board?
  19. I am using this code to communicate to the Nokia 5110 LCD display: https://gist.github.com/DmitryMyadzelets/83b6e1384a1ee35a7f5f Looking at the waveforms on an oscilloscope, I saw that there are only 2 to 3 clock cycles per write. For instance, the attached screenshot is when I write 0x44. The top waveform is the clock, the middle is chip select, and the bottom is MOSI. That doesn't seem correct at all. Shouldn't there be 8 clock cycles for transmitting 8 bits?
  20. Has anyone heard about Energia supporting the newest G2 MSP board? I ordered it and tried it with the existing board profile and it didn't work. I was really trying to get the rev. 1.5 board because I am tired of switching the jumpers every time i want to use the serial monitor.
  21. Hello, I would like to interface USB push notification board (bought recently) https://store.ncd.io/product/4-channel-push-notification-contact-closure-input-over-usb/ with MSP430 and interface multi sensors in such a way that whenever the sensor range is disrupted then actuator assigned to sensor will be switch on and this message will be sent on smart phones, I am new to this kid work and also if this thing will successful then I would like to make the actuators like rely board function with these king push notification any suggestion regarding making these kind solution through embedded system will be much helpful
  22. I cannot get this led to dim. It will flash on and off but no PWM as far as I can see. I copied the code right from the website here. http://energia.nu/Tutorial_Fading.html and wired everything the way it should be. Using a 220Ohm resistor instead of the 10k they had in there BOM. What am I doing wrong? I am using the MSP430G2231 chip and have all my settings in energia set accordingly I really don't know what I am doing wrong or if I have a faulty chip? Looking for someone to point me in the right direction.
  23. agaelema

    Timeout Library for MSP43x

    I am developing a timeout / soft timer library for the MSP43x and would like to share it with you. It's still in the initial version, but all the functions are working. I'm developing and testing on MSP430F6736, but it worked fine on launchpad EXP430F5529LP. The library uses a timer to periodically generate ticks. In the base version developed by Felipe Lavratti, the timer-tick occur every 1us through a 32-bit timer (ARM Cotex). To avoid overloading the CPU I modified the code to accept longer time intervals and also functions to automatically calculate the Capture / Compare value of the timer. I also tried to isolate the timer configuration in a separate file, so in the future it would allow to select from more than one timer source or different devices, perhaps with compatibility with the old Value Line uCs. How the objective is not to give a perfect time base in us, I'm using ticks of 100us (10kHz) and works very well. The library has delay, getTime, and Timeout functions, the latter two of which are interesting for managing tasks without holding down processing like a normal delay. The example using the EXP430F5529LP use delay_Ms function to toggle 4 times both leds, geTime_ms() to toggle LED1 every 234ms and timeoutCheck_ms() to toggle LED2 every 1s. Feel free to leave your opinions and contribute to the project - Github of project Thank you.
  24. Hello , I'am trying develop a data logger to send data to a device through bluetooth, but in my state machine i want make a state were I can verify if the bluetooth is paired with smartphone, does anyone can help me , i don't have idea how can I do this.
  25. Hi, I posted a question on e2e but I found interesting to ask here too. I'm trying to port the Adafruit MCP4725 library to MSP430 using the Driverlib. I'm testing with launchpad EXP43FR2433 running at 1MHz and I would not want to use interruption to keep the code more portable. The sequence to write some value on DAC is relatively simple. - Set address -> send start -> send write cmd -> send upper byte -> send lower byte -> send stop. Using the following code one byte of the value is lost. msp43x_I2C_setSlaveAddress(EUSCI_B0_BASE, _i2caddr); msp43x_I2C_masterSendStart(EUSCI_B0_BASE); msp43x_I2C_masterMultiByteNext(EUSCI_B0_BASE, controlBits); // write cmd msp43x_I2C_masterMultiByteNext(EUSCI_B0_BASE, dataBits / 16); // Upper data bits (D11.D10.D9.D8.D7.D6.D5.D4) msp43x_I2C_masterMultiByteNext(EUSCI_B0_BASE, (dataBits % 16) << 4); // Lower data bits (D3.D2.D1.D0.x.x.x.x) msp43x_I2C_masterMultiByteStop(EUSCI_B0_BASE); But if I insert some dummy code (__delay_cycles) the transmission starts to work. #define I2C_Delay 5 msp43x_I2C_setSlaveAddress(EUSCI_B0_BASE, _i2caddr); __delay_cycles(I2C_Delay); msp43x_I2C_masterSendStart(EUSCI_B0_BASE); __delay_cycles(I2C_Delay); msp43x_I2C_masterMultiByteNext(EUSCI_B0_BASE, controlBits); // write cmd __delay_cycles(I2C_Delay); msp43x_I2C_masterMultiByteNext(EUSCI_B0_BASE, dataBits / 16); // Upper data bits (D11.D10.D9.D8.D7.D6.D5.D4) __delay_cycles(I2C_Delay); msp43x_I2C_masterMultiByteNext(EUSCI_B0_BASE, (dataBits % 16) << 4); // Lower data bits (D3.D2.D1.D0.x.x.x.x) __delay_cycles(I2C_Delay); msp43x_I2C_masterMultiByteStop(EUSCI_B0_BASE); __delay_cycles(I2C_Delay); Someone knows what's happening? It looks like the library is not checking if the transmission was correctly performed. Thanks
×