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

learn more… | top users | synonyms

0
votes
1answer
25 views

How do you initialize an LCD screen to be used with the MSP430

I have successfully wired everything together and the LCD powers up fine. Its a 16x2 display. The one problem i see is that when the LCD gets power, one of the rows is visibly darker than the other ...
1
vote
3answers
437 views

Realloc wasting lots of space in my MCU?

I am writing a simple task scheduler and using dynamic memory allocation on my cc430F5137. I agree that it is not a good practice but for the time being lets assume it is my application requirement to ...
1
vote
1answer
55 views

Programming MSP430 based chips (sans Launchpad)

I'm wanting to move into working with the full range of MSP430 chips, especially their Ultra Low Power versions. As I understand it, I'll need the chip I want to program, a JTAG programmer, and the ...
1
vote
1answer
38 views

How to figure out reason for last reset on MSP430?

There are a number of possible causes for a microcontroller to reset itself, for example: brown-out or power-out watchdog timer reset initiated from software (to programmatically enter bootloader, ...
0
votes
1answer
27 views

DALI: Handling multiple responses from DALI system

I designed my own DALI devices and now trying to build-up a DALI system. Since my DALI gears are based on MSP430G2553, I took advantage of code being already done for TI's DALI demonstration board. ...
1
vote
1answer
39 views

Problems initializing SD card with MSP430

I've been working on some code to talk to an SD card with the MSP430. I can't get the card to enter into idle mode, and I'm actually pretty stumped as to why. I've looked at the microcontroller output ...
1
vote
1answer
40 views

Connecting an LCD display to msp430 launchpad?

So im trying to give my lcd display (Lumex 1602) 5v. Im trying to use the test pins on my msp430 launchpad TP1 and TP3. On the LCD pin 1 is gnd and pin 2 is power. for the launchpad TP1 is power and ...
1
vote
0answers
43 views

MSP430 SPI slave example?

Is there a known-good example of code for MSP430 SPI slave? I have code for SPI slave with DMA which works, but not reliably, sometimes it starts sending repeats of the last byte sent rather than ...
1
vote
1answer
26 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
85 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 ...
2
votes
1answer
58 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
160 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
33 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
58 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
60 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
181 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
58 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
47 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 ...
1
vote
2answers
70 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
57 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
298 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
41 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
73 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
289 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
136 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
172 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
75 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
258 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
185 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 ...
2
votes
1answer
137 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
176 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
161 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
135 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
164 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
73 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
117 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
145 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
153 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
161 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
208 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
108 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
74 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
76 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
159 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
82 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
210 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
110 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
143 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 ...