The MSP430 is a Texas Instruments low-power microcontroller family.

learn more… | top users | synonyms

1
vote
0answers
13 views

MSP430G2553 WDT ISR compilation error - GNU v4.9.1

I'm using GNU v4.9.1 compiler, and I'm just trying to work with WDT timer: void __attribute__((interrupt(WDT_VECTOR))) WDT_ISR(void) { P2OUT ^= BIT1; } When ...
0
votes
1answer
71 views

MSP430 waking up every millisecond, what power usage to expect?

I have an MSP430 waking up every millisecond from a timer interrupt (to do a tiny amount of work, ie increment a counter and check a couple of input pins). It is set up to run at 25MHz. What should ...
1
vote
1answer
28 views

ELF section flags not picking up flags from linker script

In my linker script for binaries on an MSP430, I have a memory section marked "rx": ...
0
votes
1answer
118 views

How to interface PWM output from a microcontroller with power MOSFET?

How to interface PWM output from a dsPIC30F6012 microcontroller with power MOSFET TrenchFET like SiE818DF? I want use PWM to control the brightness of the LEDs. Four PWM channels, one PWM per channel. ...
1
vote
0answers
25 views

MSP430: Trouble Writing Memory Block

I was using MSP430G2553 with IAR Embedded workbench compiler which was working fine , then i recently installed Code composer studio and now the problem is when I run the same code ...
1
vote
3answers
56 views

what is sensible to debug msp430? [closed]

As you know, msp430 launchpads have their own debugger, nothing else required to debug,on the other hand fet-debuggers are sold in high prices on ti.com,what the hack is that? and if i buy only ...
0
votes
2answers
45 views

Where to find MSP430 & CC430 code examples?

I was googling for some MSP430 code examples (e.g. for SPI) for some time, unable to find anything. Do you happen to know, where to find some examples? They do have some on TI webpage, but very ...
2
votes
1answer
97 views

Reading MPU-6050 with MSP430g2553 using I2C

I´ve been searching for libraries or documentations for helping me reading from and writing to the acell + gyro breakout MPU-6050 from InvenSense. I managed to read it with the arduino's libraries ...
0
votes
0answers
47 views

MAX PWM of MSP430G2553 or any MC

I am playing with microcontrolers lately, more specifically MSP430G2553 with the LanchPad. I want to output a PWM and also read a PWM. For producing PWM I use a timer that calls an interrupt. For ...
0
votes
1answer
45 views

MSP430 Timer A not responding right

I need some help with an MSP430F2272. I'm working on an assignment for class where I'm supposed to make a function generator. I put the code I've written so far below. Most individual parts of the ...
0
votes
2answers
29 views

Where am I going wrong with the comparator in MSP430?

I am getting up-to-speed on the TI MSP430. I am attempting to write code in C to access the built-in comparator on MSP430G2553. I've got a simple program for the comparator but I must be doing ...
0
votes
0answers
51 views

USB interfacing on MSP430

I'm currently doing a project on MSP430F5638. I want to implement USB on it. I got the code from TI website, but while running this code I am facing some problems. 1.values in ...
3
votes
2answers
238 views

How to check frequency of MSP430 clock?

I'm working on a project in which an MSP430 is used to provide the timing for some stuff where accurate timing is important (it can be off by 10%, but not by 2x). This is driven by the timer A0 ...
0
votes
1answer
38 views

External clocking of MSP430 with variable duty cycle clock

I'm going to clock an MSP430FR5969 using a PCF2127 RTC. The PCF2127 can output 32.768kHz at a duty cycle between 40%-60% and 16.384kHz, 8.192kHz, etc at exactly 50%. I will use the MSP's DCO system to ...
1
vote
1answer
60 views

Duplicate RX in uart (two devices listening one of which is data-logging)

I am not too familial with UART yet, and was wondering if I could some how duplicate the stream of information going to a microcontroller from a GPS. My application will be using a msp430g2553 ...
1
vote
1answer
206 views

How to fix Hitachi HD44780 16x2 LCD garbled display in 4 bit mode?

It often happens that a HD44780 16x2 LCD shows garbled characters during usage. Most help on the web advises for using snubbing techniques to prevent voltage noise such as induction spike. I've done ...
1
vote
2answers
117 views

LCD interfacing with msp430

I am making a contact less tachometer based on magnets .I am using msp430g2253 micro controller and HD44780 lcd. I have done certain calculations for calculating rpm in the main code and now i want ...
2
votes
1answer
151 views

What benefits are there to programming an MSP430 in C/C++ over Energia?

I'll start by saying I'm new to micro-controller programming. I've had some (ca. 30 years) experience programming, and some of that was writing C/C++ but those days are long behind me now. Since I'm ...
0
votes
1answer
70 views

Need help on proper circuit connection

I am trying to test IGBT switching using the following circuit but the IGBT smoked out. I am using MSP430 with g2553 chip, NMK0505SAC dc-dc converter, FOD3184 optocoupler and IRG4BC20UD. Please help ...
0
votes
2answers
182 views

How to programm a standalone MSP430g2553 via a com port?

The MSP430 is a dirt cheap MCU and i thought that if i could make a barebone launchpad out of that which can be programed directly via the PC COM port or a virtual one. So is it possible to program it ...
1
vote
2answers
154 views

How to drive an IGBT with an optocoupler?

What's the proper schematic for driving the IGBT (IRG4BC20UD) from a microcontroller (MSP430-g2553) pin through the optocoupler (FOD3184)? I am going to design a full bridge inverter to drive 9W CFLs ...
1
vote
1answer
110 views

MSP430 Programming BSL vs Spy-Bi_Wire

Does an MSP430 (Specifically the LaunchPad F5529) retain its code which was transferred via the Spy-Bi-Wire (SBW) Port? Or do I need to use the BSL to program the chip? In layman's terms what is the ...
2
votes
1answer
149 views

MSP430 Choppy UART

I am having issues with the UART on the MSP430FR5969 microcontroller. I am sending about 85 characters 100 times per second for a data acquisition system. I am using 115200 baud rate which should be ...
0
votes
3answers
133 views

LSM9DS0 driver for MSP430

I am working on a project to interface LSM9DS0 with a MSP430. Looking for a driver in C / C++ that I can use as a reference design.
-3
votes
1answer
127 views

How to program a msp430 without bootloader or ISP connector?

I'm looking for a way to program a msp430 microcontroller in-circuit and with all the components SMD, including the ISP connector. Could, in this case, USB still be an option?
0
votes
0answers
144 views

MSP430 led strip control

Since it's Christmas and everybody is decorating their houses with fancy lights I'll wan't to join this craziness. However, I'd love to do so on a hightech way. I own an MSP430 launchpad and have some ...
1
vote
1answer
70 views

Improving RF sensitivity

I'm trying to improve the range on my 433 MHz radios that are using the CC430F5137. Based on 25.3.3 in http://www.ti.com/lit/ug/slau259e/slau259e.pdf, it seems like decreasing the RX filter BW can ...
0
votes
1answer
112 views

Second interrupt dos not work in MSP430

In this project i want to control dc motor with numeric keypad. when I push a button first time, it works properly but when i push a button second or third times it does not react and it stays ...
0
votes
2answers
143 views

Landline listening

I still have a good old landline at home. But I miss the easiness of cell phones where you can just see a list of missed calls. I'm a MSP430 Launchpad hobbyist and I'm alway looking for some little ...
2
votes
0answers
131 views

How to tell CCS debugger where to start?

I am just starting with MSP430 and Code Composer Studio (CCS). I want to make a pure-assembly project. At the moment, I have a "hello world" program that does nothing but light an LED on the ...
2
votes
4answers
148 views

EEPROM I2C driver hanged during ESD test?

In our prototype , we have a I2C based EEPROM . During ESD Test(High potential spark is injected into system for a very short moment), the drivers hangs in the I2C code. Basically there are while ...
-1
votes
1answer
177 views

MSP430G2231 Serial out using Energia

I am trying to read an analog signal using the Analog.Read() function and output 1 or 0 depending on the value of the analog signal. While testing using a serial monitor, I always get the symbol for ...
1
vote
0answers
101 views

Missing clock edges when using SPI on the CC430

I'm currently using the CC430F5137 and I'm having an issue with using SPI to communicate with an external flash. I'm currently using DMA to send out SPI comms using the UCSI_B module. Most of the ...
0
votes
0answers
66 views

Considerations for maximising USB MSC transfer rate on a MSP430F5529

I've started designing the second version of an SD-card based sensor logger and am going to to base it on the TI MSP430F5529 for the low power, in built USB, and wide availability of code samples. The ...
0
votes
2answers
68 views

Peculiar behaviour of code displaying button presses using MSP430

I have created a simple program in MSP430 using Energia for counting the button presses from 0 up to 9 and displaying them in a Seven Segment Display. The code including the definitions of the pins, ...
1
vote
3answers
129 views

MSP430 Launchpad connection of photoresistor and concerns regarding Launchpads protection

I am using the MSP430 Launchpad and I have a question regarding photoresistors. The thing is that when you connect a LED with a pin in Launchpad, which you have configured, as output I read that you ...
0
votes
0answers
78 views

RF signal frequency vs antenna orientation

I have two CC430s on two identical custom boards and each board has an identical 433MHz RF circuit. The boards are able to communicate with each other only when one of the two boards is placed in a ...
1
vote
1answer
181 views

MSP430 UCS - FLL/DCO Source

I'm trying to understand better the whole clock system mechanism in TI's MSP430. I understand that when doing this line of code I'm assigning REFO as the clock reference to the FLL/DCO ...
0
votes
1answer
105 views

Is it possible to measure acceleration in sports activities with an accelerometer

I've been trying to make a simple prototype capable of measuring a punch or a shot put throw with an accelerometer, but suddenly stopped working, and "locked" into a value, has I was testing it. When ...
1
vote
2answers
129 views

MSP430 Stack pointer and frame pointer behavior

While trying to analyze a simple Assembly file generated through the msp430-gcc, I stumbled upon a set of instructions that I don't understand dealing with the frame pointer and the MSP430's stack ...
0
votes
1answer
49 views

Program aborts after ISR

First I am new to this and I signed in to get some help on this problem I have been having. I have done so much googling to figure this problem out and with no luck. I am trying to capture humidity ...
0
votes
1answer
350 views

Best microcontroller for industrial applications [closed]

I have an industrial project requirement to build a device having this functionality: Store Data Send Data to Web Server Device to be placed under scorching sun Sensors - around 5 A Graphical ...
0
votes
1answer
275 views

MSP430 Timer A interrupt flags are wacko

Trying to setup a timer on my MSP430F5529 that should interrupt after approx. 2 seconds. My initial setup looks like this: ...
1
vote
0answers
391 views

Controlling LCD with MSP430 via I2C backpack PCF8574

I'm at my wits end with this at the moment. I need to interface my MSP430G2553 with the PCF8574 I2C expander in order to drive an LCD display. So far I've had not much luck at all. There is very ...
2
votes
1answer
355 views

MSP430 RAM protection

I'm looking at the user guide for the MSP430x5xx family. It says there in section 9.1 that: ...
0
votes
1answer
98 views

Setting MSP-430 toolchain in linux

Can anybody please guide procedure to setup tool-chain for MSP430 in Linux (particularly Ubuntu)? I am using MSP430 launchpad (MSP-EXP430G2), and I need to setup compiler/build tools and debugger ...
1
vote
0answers
124 views

MSP430 Low Voltage ADC Input Protection

I'm using the MSP430 SD16_A 16 bit Sigma-Delta ADC (page 843) for bipolar differential ADC measurements in a +/- 0.6V range. While the inputs can handle +3.3V, on the negative side the absolute ...
0
votes
1answer
287 views

#10269 output file exceeds code size limit

Using Code Composer Studio and MSP430F5438A I get that error when compiling, but if I randomly delete some lines of the code, it will work fine. The problem is that I have not finished yet and there ...
8
votes
1answer
425 views

History of the MSP430

This question crossed my mind today. What is the history of the MSP430? When did it start, what did it evolve from, why was it made (i.e. what goals was it trying to achieve/what technical ...