Jump to content

Search the Community

Showing results for tags 'msp430'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • 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


There are no results to display.

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start



Website URL





  1. Hello, I'm new to MSP430.(if I make a mistake, pls tell me!) I just bought a MSP430G2553 and I read that it supports BSL via RS232. I have a FT232 usb -> serial lying around. Could anybody give me a schematic on how to connect my G2553 to my FT232? (and also give me the software for it pls!) (I could instead just buy a Launchpad, but I don't have any money right now! ) Thanks alot!
  2. Hello everyone; As you can see bitshifting a byte 16 bits and storing in a long doesn't seem to work, while shifting storing and shifting again works perfectly. Is this behaviour normal? Using energia 0101e0017 on win7 with msp430g2553 launchpad. Also i'm not 100% sure but i think bitshifting 16 bits worked fine on a tm4c123gxl launchpad because i ran into this while converting a code that was written for tm4c to msp.
  3. Hello, I have made the program in which i used timer to generate the pulse. but now i don't want to use timer instead i want to use counter. I have to generate the output pulse when my input counter is more than 200. if it is less than 200, don't want to generate the pulse. I am pasting here my code, help me to generate the output pulse when input pulse is more than 200 input is in pin1.0 and output is from pin 2.0, pin 2.1, pin 2.2. I am using msp430g2553 launchpad #include "msp430G2553.h" #include "stdint.h" volatile uint16_t down_counter; // Variab
  4. Why on earth would TI engineers use random GPIO pins for the built-in UART BSL instead of RXD/TXD of one of the USCI peripherals?? I mean, in 90% of real world use cases, the likely source of a firmware update, i.e. computer, USB bridge, blue-tooth modem etc., will be hanging on one of the UARTs. Instead they picked 2 pins on the side of the package where all the I/Os are nicely lined up and which therefore most likely would be wired up to all the other stuff. Oh yes, and of course those two pins are exactly on the opposite side of the TEST / BSL enable pin. /rant
  5. For the AT commands from energia's serial monitor it appears as some characters missing!!! Any solutions? Below is my output: AT+CREG? +CREG: 0,1 OK AT+CREG=? +CREG: (0-2) O AT+CFUN=? +CFUN: (0,1,4),(-) K
  6. Hello, I am making my program using msp430g2553 launch pad. In this i have taken input from P2.4 and i want my output from P2.0, P2.1 and P2.2. In this program i have to generate the pulse of 500ms from input. and my output will be three low pulses from the three pins. Meaning whenever i connect my oscilloscope probe to 2.4 i can see the pulse. But the program i made it didn't work. when i connect to the oscilloscope it is showing nothing. when my input pulse is high i will get the three low pulses output. here is my code, please check it and tell me what is wrong in the code? since it do
  7. I have had a package of those 4x6 cm pcb boards with 0.1" spacing for a while and realized this evening that I was about to run out. They are a good and useful size. Wondering where they all went I rummaged around and found these and there are more scattered about in various enclosed projects. I am in the habit of soldering one up if it is on the breadboard and I think there is a fair chance I might use it again. I like to do this even when I am going to have PCBs fabricated. From top left and going clockwise they are a RFID BoosterPack reader, a Nokia 5110 BoosterPack, an INA125P
  8. Hi I'm just getting started in working with MSP430 with MPU6050. Is Jeff Rowberg's library the go-to library for interfacing with the MPU6050? Ideally, I'd like to use DMP, but that the i2cdevlib library doesn't seem to have that feature. Does anyone know a good way to work with the MPU6050 (preferably DMP) on MSP430? Any thought appreciated. Thanks
  9. I have an Energia project that seems to go astray under rare and seemingly random circumstances - it can occur anywhere from hours to months apart and I haven't been able to pin the cause down. It starts right up again after a reset. It isn't critical if it is down for a minute or so but I am usually not around to reset it manually. However, I can monitor things in the firmware and tell when things are not working correctly. In this situation it is easy enough to force a reset from Energia by writing to the watchdog timer and control register with an improper password. For example, in
  10. I need to configure a MMA8653FCR1 accelerometer to cause an interrupt when a certain level of movement is detected. I was looking at the datasheet for it and there was a ton of minutia. Just wondering if somebody has already implemented a library for this device for use with Energia. If you know where I might find some source code for this, I'd greatly appreciate it. Before I get too many flames, I have searched google and the forums for this, but I am unable to find a satisfactory solution. Any assistance here would be greatly appreciated.
  11. So I'm working on a fingerprint scanner project with this repo written for arduino for the scanner I'm using. When I try using this library in Energia, it's been giving me a ram error and refuses to compile. I know that pin assignments and certain things are different between using Arduino to program an atmega microprocessor and using Energia to program an MSP430G2452 with a launchpad, but just compiling it without uploading shouldn't change anything. Here are the errors I'm getting when I try to compile the enroll sketch (attached below) -enroll.cpp.elf section `.bss' will not fit in re
  12. I'm having an issue with Energia where it isnt allowing me to put a while loops within another while loops or any loop for that matter. I need my program to run a loop for as long as the source is correct but run another loop inside of it a specific number of times. It always gives me an error asking for a ";" before a numeric value. Here is my code. const int voltPin = P1_5; const int voltoutPin = P1_7; const int voltoutPin2 = P1_6; float voltage1; float voltage2; float voltage3; int fadeValue; int fadeValue2; void setup() { pinMode(voltoutPin, OUTPUT); pinMode(voltoutPin2, O
  13. Hello. I'm very new to the MSP430. I am having a lot of trouble getting the Capacitive Touch libraries to work in Energia. When I try to use the zip on the forums, Energia will not open. I download the zip and unzip it to the energia libraries folder in my documents. Have I done this incorrectly?
  14. Hello, in my project I want to use the MSP430G2553 as a master which communicates with another device via USCI_A0 UART mode. Is it possible to program the MSP430G2553 via the other modes, e.g. USCI_B0 SPI or USCI_B0 I2C respectively, without the use of a programmer? Are there any tutorials regarding on how to write a bootloader for the MSP430? Cheers, Tim Torpedo
  15. Hello, I'm trying to control a 3v dc motor from msp430 launchpad connect by USB cable with array of darlington transistors circuit known as ULN2003 (data sheet in attachement) in the picture below, I replaced the motor with red LED to protect the chip while testing. but I can't light it is 3v not enough to power the ULN2003? ULN2003.pdf
  16. I would like to share with you this library. Is an embedded version of the famous "printf ( )". - https://github.com/agaelema/Embedded_Printf The start point was this post in the e2e where an user share a code. - http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/p/30479/107146 I modified the code inserting new functions as binary notation, float notation, scientific notation, functions to convert numbers into strings and strings into numbers. The user can enable some #define enabling/disabling functions to use just what is useful. This is an resume
  17. i am trying to interface msp430 and cc3200 using UART .i am using the IDE energia ,basically i am reading analog sensor value through msp430g2553 and send it to cc3200 using UART can any one help me with code ??
  18. Hi guys, awsome forum, have been reading for a while, this is the first post. Although I'm no beginner with electronics in general (did analog IC design for more than 10 years), I'm definitely a beginner when it comes to embedded programming One thing that I've not been able to figure out is what happens to the GPIO's while the flash is being programmed, e.g. on a launchpad. Reason I'm asking is that I don't want to destroy any circuitry that is connected to the GPIO's and that could be driving these while the MSP is being programmed. Doing a lot SW iterations, guess I could call my
  19. Buy: The 43oh Store or Rob's Tindie Store. The newest version of the Ethernet BoosterPack is based on the newest chip from WIZnet, W5500. P1.5 - SCLK P1.6 - MISO P1.7 - MOSI P2.3 - /CS P2.4 - /INT P2.5 - /RST Configuration jumpers are on the bottom, PMODE1-PMODE3, LINK LED, and ACT LED. LED jumpers control which LEDs are used, on board or socket. Available on Tindie.
  20. I have had a career in telecommunications and now like to dabble with computers. IoT seems interesting so I am here to see what I can learn from the more knowledgeable folk who contribute here.
  21. My (crazy) project is getting closer to completion so time to start a project topic. I have verified my Tiva C based controller design and are now waiting for PCBs - will arrive from China in a few days. My background is from Radio/TV servicing and medical electronics, but for the last 25 years I have mainly been working on a large database application written in OpenEdge. Two years ago my preamp that I made some 30 years ago started to fail due to the rubber based switches rotting (a bit like my brain these days...). Since I did not want to buy one I decided to make a new - again with no
  22. This is the first PCB that I have designed and sent off to be manufactured. Yesterday I received the boards, soldered them up, and they work! This write-up outlines the process I used in the hope that it will be useful to other hobbyists and builders. There are links at the end which provide additional detail. Selecting a Project The project consists of a small board with a MSP430G2553 microcontroller and an nRF24L01 radio. I started with a radio attached with jumpers to a LaunchPad quite some time back and then built one on a proto-board. The photograph below shows a G2553 with r
  23. //PROJECT NO 1 FOR DOCKING MECHANISM : DOCKING IMPROVEMENT KIT // //OBJECTIVES: const int numReadings1 =5; int readings1[numReadings1]; int readIndex1 = 0; int total1 = 0 ; float average1 = 0; int inputPin1 = P6_1; unsigned long lsrdistance1; //*********************FOR GP 1 AVERAGING************************// const int numReadings2 =5; int readings2[numReadings2]; int readIndex2 = 0; int total2 = 0 ; float average2 = 0; int inputPin2 = P6_2; unsigned long lsrdistance2; //*********************FOR GP 2 AVERAGING************************// const int numReadings3 =5; int r
  24. Hey there, there is an error on the site in the example of attachInterrupt function. the page: http://energia.nu/AttachInterrupt.html Tested the code on my MSP430G2 Launchpad. The correct code should be: volatile int state = HIGH; volatile int flag = HIGH; int count = 0; void setup() { Serial.begin(9600); pinMode(GREEN_LED, OUTPUT); digitalWrite(GREEN_LED, state); pinMode(PUSH2, INPUT_PULLUP); //The correction attachInterrupt(PUSH2, blink, FALLING); // Interrupt is fired whenever button is pressed } void loop() { digitalWrite(GREEN_LED, state); //LED starts ON
  25. We have developed hardware, open source firmware and a web app, which will allow very rapid creation of IoT applications, aimed at beginners and experts alike. We use a Wi-Fi master, paired with ISM slaves, to allow greater battery life and range for the slaves (though masters can be used on their own). A complete security infrastructure is in place, and a personalised web app is created on set-up. Or you can extend our code, point to your own server or use our API to build your own web or desktop application. Our master is based on CC3100 + MSP5969 + CC110L. We currently supply sla
  • Create New...