EmbeddedRelated.com
The 2024 Embedded Online Conference

LaunchPad -- DCO FLL, LFXT1, and 9600 bps RS232 -- computed clock values

Started by Jon Kirwan in MSP43013 years ago 5 replies

I wanted to automatically generate certain timing values used by LaunchPad-targeted code. The purpose is to operate a software FLL on the...

I wanted to automatically generate certain timing values used by LaunchPad-targeted code. The purpose is to operate a software FLL on the MSP430G22x1 cpu, which requires one integer multiplier, and to properly operate the asynchronous serial port communications (to the virtual COM port on a PC) with another integer divisor. The way I chose to run the serial communications was to divide SMC...


Interfacing msp430 Launchpad to Digital Caliper

Started by Maris in MSP43013 years ago 3 replies

Hello, I recently bought digital caliper and decided to try to read it's data port readings from my Launchpad. It had Clock and Data pin. Had...

Hello, I recently bought digital caliper and decided to try to read it's data port readings from my Launchpad. It had Clock and Data pin. Had to setup pin that connects to Clock to trigger interrup on every pulse and then in interrupt function do bit shifting to assemble 16 bit signed integer representing caliper reading. Then sent it out to PC via soft UART serial port. You can find full sourc...


TI Launchpad (MSP-EXP430G2) board - possible use USB interface for PC/MSP messages?

Started by David Feldman in MSP43013 years ago 6 replies

I am interested in building a small application (basically a simple USB PC peripheral) directly with the MSP430 series launchpad module...

I am interested in building a small application (basically a simple USB PC peripheral) directly with the MSP430 series launchpad module MSP-EXP430G2. Is there anywhere I can find information that would help me use the USB interface in an application (that is, what it "looks like" from the PC end of things, and what it "looks like" from the MSP430 end of things? Linux (for the PC) would be ideal...


Help with installing mspgcc-20120406-p20120911 to W7

Started by Joe Bleaux in MSP43010 years ago 2 replies

What am I doing wrong or not doing at all? I want to use GCC free compiler for the MSP-430 family and especially for the TI Launchpad...

What am I doing wrong or not doing at all? I want to use GCC free compiler for the MSP-430 family and especially for the TI Launchpad MSP430F5529. I have never used GCC before. Also, where is a list of c commands for this processor? Thanks for any and all help. Joe


Beginner with a few questions

Started by Andrew in MSP43011 years ago 2 replies

Hey everybody, About two weeks ago I started making a serious effort to learn to use the MSP430 Launchpad (with MSP430F2012). I have no prior...

Hey everybody, About two weeks ago I started making a serious effort to learn to use the MSP430 Launchpad (with MSP430F2012). I have no prior experience coding in C or C++, so I wanted to describe what I've learned, and get some feedback, just to make sure I understand everything correctly. In the "blink your first LED" tutorial there is the following piece of code: P1DIR |= 0x01; It explai...


Hex format question

Started by Co in MSP43014 years ago 1 reply

Hello, I did a search but I couldn't seem to find it or I didn't search correctly. Anyways, I am currently going over some sample for the...

Hello, I did a search but I couldn't seem to find it or I didn't search correctly. Anyways, I am currently going over some sample for the launchpad and looking over the .h file for the msp430g2231. I am doing the conversion from hex to binary to get a better visualization of what it is setting what bit in the registers. The question I am facing right now is that under the ADC10 section of t...


IO Question

Started by Mike Staines in MSP43013 years ago 22 replies

Hi, all! I am a hobbyist and I picked up two Launchpads to start learning uPs in my retirement. If I were to program the chip that came with...

Hi, all! I am a hobbyist and I picked up two Launchpads to start learning uPs in my retirement. If I were to program the chip that came with the launchpad to just loop a program that toggled the state of a pin (i.e. pin = !pin), what is the minimum reasonable, ball park, SWAG, frequency should I expect to see on the pin? Can I get at least 1 MHz? Thanks, in advance, Mike -------------...


4bit LCD C code

Started by cbhargava in MSP43013 years ago 30 replies

Hi, I'm looking for a 4bit LCD "c" code to drive a hd47780 LCD with Launchpad. Is there any "C" library available? I check the files section...

Hi, I'm looking for a 4bit LCD "c" code to drive a hd47780 LCD with Launchpad. Is there any "C" library available? I check the files section but only found assembly code. Any pointers would be appreciated. Thanks. Chetan ------------------------------------


Re: Launchpad Help: Six Potentiometers + Six Servos + MSP430G2553

Started by Matthias Weingart in MSP43012 years ago

"tech_juggernaut" : > > http://www.43oh.com/forum/viewtopic.php?f=9&t=284&sid=421919d1925c1b25e4\ > 4442df3ea18367&start=20 > //...

"tech_juggernaut" : > > http://www.43oh.com/forum/viewtopic.php?f=9&t=284&sid=421919d1925c1b25e4\ > 4442df3ea18367&start=20 > // Timer A0 interrupt service routine > #pragma vector = TIMER0_A0_VECTOR > __interrupt void Timer_A0(void) { > counter++; // Increase counter > if(counter == 0x07) > counter = 0;


Parralax servo and MSP430G2231

Started by pbbonham in MSP43013 years ago 9 replies

I have just recently picked up a TI MSP430 Launchpad. I am new to programming microprocessors. I was wondering if someone can give me a few...

I have just recently picked up a TI MSP430 Launchpad. I am new to programming microprocessors. I was wondering if someone can give me a few hints on PWM. I understand some of the basic principles of PWM in general, but I am having a hard time putting them to practice using TI's MSP430 family user's guide. I am trying to control a continuous rotation servo from parallax. The servo requires ...


MSP-EXP430G2 "LaunchPad" -- the crystal

Started by Jon Kirwan in MSP43014 years ago 9 replies

I gather that the Microcrystal MS3V-T1R was used here: PDF datasheet...

I gather that the Microcrystal MS3V-T1R was used here: PDF datasheet at: http://www.microcrystal.com/CMSPages/GetFile.aspx?nodeguid=21218980-0886-41a2-87fc-6b04e14f0226 Anyway, these appear to come in 7pF, 9pF, and 12.5pF varieties. My natural assumption, given that the MSP430's used in the MSP-EXP430G2 kit come out of reset configured to use 6pF on LFXT1, that TI would have selected th...


CCS 6 on Linux

Started by "Reg...@yahoo.com [msp430]" in MSP4309 years ago 3 replies

Has anyone got this working reasonably on any Linux? I'm using CentOS. I got it to create a project, build, load and run the OutofBox demo for...

Has anyone got this working reasonably on any Linux? I'm using CentOS. I got it to create a project, build, load and run the OutofBox demo for the F5529 LaunchPad, but that is all. I'm not even sure I could reproduce that :-( I had loaded a blinky demo using Energia, so it really did load and build the OutofBox demo. The first time I pressed button 2 to get the rocket, it kernel panicked my...


Re: USB MSP430 LaunchPad from/to PC communication?

Started by holi...@yahoo.com.tw in MSP43012 years ago 11 replies

hi, forther I've developped "tinyForth(tF) development" for msp430g2553. It contains assembler+disassembler+decompiler+xcompiler. Here are...

hi, forther I've developped "tinyForth(tF) development" for msp430g2553. It contains assembler+disassembler+decompiler+xcompiler. Here are the Forth systems that can be choosed to run in 2553. The execution file of 4e4th can be found in: tech.groups.yahoo.com/group/armForth/files/msp430/99.xxx and 99.lst rename 99.xxx to 99.exe to execute. now just type 99.exe words''


What's the best MSP430 Development Enviroment?

Started by PFG in MSP43011 years ago 63 replies

Hello, I just received my LaunchPad board and of course I joined this group. I'm a veteran software engineer with some hardware experience...

Hello, I just received my LaunchPad board and of course I joined this group. I'm a veteran software engineer with some hardware experience (physical circuit building, not just embedded or firmware coding) but I'm new to MSP430 development. What's the best development environment? Code Composer, IAR, MSPGCC, or Energia? Here are my initial thoughts, 1. Code Composer has the needed device driv...


VLF transmitter w/ morse code ID: Final version

Started by Mike Staines in MSP43013 years ago 1 reply

Well... I finally finished my first MSP430 project, a VLF (Very Low Frequency) transmitter with built-in morse code identifier. This...

Well... I finally finished my first MSP430 project, a VLF (Very Low Frequency) transmitter with built-in morse code identifier. This allows anyone to generate a signal in the U. S. "license-free" radio spectrum between 160 and 190 KHz using only the Launchpad. It allows you to configure settings using a (I think) clever menu system with the S2 pushbutton as the only input device to select b...


Problem with running when not connected to PC

Started by RyanK in MSP43013 years ago 11 replies

So I have some code running well when in debug mode connected to my computer. I then unplug the usb cable from the computer and plug it into a...

So I have some code running well when in debug mode connected to my computer. I then unplug the usb cable from the computer and plug it into a wall usb charger and the code behaves differently. Still using the launchpad, checked the voltage and its correct. Several if statements as well as the watchdog timer setup as an interval timer are not working. Where should I start with trying to work t...


function not executed when called from main program

Started by "cva...@yahoo.com [msp430]" in MSP43010 years ago 10 replies

Hello I'm very new to controllers and I have some troubles with my first programs. I use CC Studio from TI and a Launchpad with the...

Hello I'm very new to controllers and I have some troubles with my first programs. I use CC Studio from TI and a Launchpad with the MSP430G2553. I wrote a waiting function: void wait(int j){ int i; for(i=0;i


FET for MSP430F5xxx?

Started by Michael Wirth in MSP43014 years ago 2 replies

Folks, I'm getting ready to use some MSP430F5438's in a software porting project (where I need the 16KB of RAM :-) Have the chips in hand...

Folks, I'm getting ready to use some MSP430F5438's in a software porting project (where I need the 16KB of RAM :-) Have the chips in hand as well as several MSP430 dev tools: 1. MSP430 LaunchPad 2. eZ430-F2013 dev tool 3. eZ430-RF2500 dev tool Also have most of the makings of a GoodFET 31 (http://goodfet.sourceforge.net/) open-source JTAG adapter (waiting on the FTDI chip from DigiKe...


Timer A jitter on G2 LaunchPad

Started by "Reg...@yahoo.com [msp430]" in MSP43010 years ago 1 reply

What sort of jitter should I see using ACLK on timer A w/ the 32 KHz xtal in place? I'm seeing ~1.5 us on the falling edge of a nominally 30.5 us...

What sort of jitter should I see using ACLK on timer A w/ the 32 KHz xtal in place? I'm seeing ~1.5 us on the falling edge of a nominally 30.5 us pulse. I'm generating a pulse train using timer A in up mode driving LED2. I expect to see jitter in the pulse length using SMCLK derived from the DCO at the 8 MHz calibrated frequency, but I also see it if I change to ACLK for timer A (still DCO fo...


IAR kickstart problems and Win7 64-bit resolved, I think.

Started by Jon Kirwan in MSP43011 years ago 9 replies

I've posted here a couple of times about my problems using IAR Kickstart with the LaunchPad and other devices, when running on my Win7 Ultimate...

I've posted here a couple of times about my problems using IAR Kickstart with the LaunchPad and other devices, when running on my Win7 Ultimate 64-bit machine. I do work hard to keep it fairly clean (it's my work machine and although I keep all of the Microsoft updates rather up-to-date, I don't install much by way of 3rd party software on it and I block a lot of web stuff and ensure that no...



The 2024 Embedded Online Conference