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

learn more… | top users | synonyms

0
votes
0answers
31 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
170 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
25 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
38 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
89 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
72 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
93 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
58 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
1answer
111 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
109 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
66 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
102 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
88 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
110 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
99 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
65 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
98 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
129 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
92 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
121 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
99 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
90 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
52 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
60 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
103 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
64 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
119 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
92 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
103 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
45 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
261 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
186 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
287 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
354 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
79 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
102 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
203 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
389 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 ...
0
votes
0answers
102 views

MSP430 PWM Dead-Time

According to the internet, the MSP430 has no hardware implemented to maintain proper PWM dead-time as the PWM duty cycle is modified. Apparently (and also according to the internet) this feature can ...
1
vote
0answers
68 views

Configuring input on MSP430?

I've been trying to get 2 input push-buttons working on my MSP430 FF529. I've been successful with 1, but not the other, which leads me to think the one not working is broken, since I'm doing the ...
0
votes
0answers
464 views

MSP430F5529 & Bluetooth module data transfer over UART issue

I'm taking analog input from a sensor and feeding it to the in-built 12-bit ADC on the MSP430. The ADC code tested by itself is performing the A-D conversion correctly and outputting the values as ...
0
votes
2answers
277 views

RS485 network failing on replacing SP485 chip with MAX485

I have created an RS485 communication network as shown below. {PC}->[FT232->RS485](120 ohm)<----twisted pair(2 wires)------>(120 ohm)[RS485 -> MSP430] Here PC acts as Master and sends the data ...
1
vote
1answer
123 views

MSP430 USCI - Are the interrupt flags still active when interrupts are explicitly disabled

I am using an MSP430 USCI in SPI mode. I would like to confirm my understanding of this: If UCTXIE and UCRXIE are explicitly disabled when the interface is initialized after UCSWRST is cleared the ...
1
vote
1answer
143 views

How to blow the MSP430 security fuse

We are making a production product using the MSP430G2231 and want to keep the code a secret. I have searched online and found out that blowing the security fuse disables access to the MCU. Could ...
7
votes
7answers
1k views

3 Hz from a watch crystal

I have a stepper motor which step angle is 2 degrees. I want to display seconds using a needle attached to this stepper. The watch crystal divides nicely to produce 1Hz pulses, so every second I can ...
0
votes
1answer
71 views

Sample externally powered analog sensor with TelosB

This is a newbie question so forgive me for its simplicity I have a FIGARO TGS 2602 Air Contaminant Sensor and would like to sample its analog output using TelosB which is powered by 3V-3.6V max ...
3
votes
2answers
201 views

Where is the C API reference for the MSP430? CCS version

I see a lot of sample code and tutorials, but where is it documented that symbols (defines) such as P1OUT and P1DIR are ...
6
votes
2answers
1k views

Why do programs stop watchdog timer on MSP430?

Many sample programs for the MSP430 have their first line as: WDTCTL = WDTPW | WDTHOLD; // Stop watchdog timer Why do they do this?
1
vote
2answers
178 views

MSP430 Pin Variables

I am trying to program an MSP430FR5969 for the first time. I successfully executed and modified a program to blink one of the LEDs connected to P1.0. The relevant predefined variable is P1OUT. The ...