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

learn more… | top users | synonyms

0
votes
1answer
24 views

JTAG not erase entire flash memory in code composer studio with MSP-FET

I am using MSP430F2619 for storing device specific parameters in internal Flash memory using flash write routines. while debugging using JTAG MSP-FET I found that my flash is getting written during ...
1
vote
0answers
33 views

Using the right pins for keypad

I am using msp430g2553 microcontroller and a 4x4 HC543 keypad. I am using Energia IDE. I have connected the keypad from pin 2 through 9. My code is as follows: ...
1
vote
1answer
48 views

Is it necessary to write all MSP430 FLASH writing code should be run from RAM?

I am writing some device parameters to non volatile flash memory of msp430f2619 controller. Sample code shows that function writing to flash should be copied to RAM in initialization section. But I ...
3
votes
2answers
161 views

MSP430 program only works during debug mode

I am trying to retrieve the values from the ADC on my MSP430F5529 and send them to my computer over USB, but I am starting small. All I have right now I something that retrieves the ADC value and ...
0
votes
0answers
52 views

Texas Instruments MSP430F6736, e-meter Energy Library problems with measures

I already posted my question on Texas Instruments' forum e2e.com but I didn't solve my problem. Maybe someone here will have an idea of what's going wrong. I'm using a MSP430F6736 and I have a big ...
1
vote
1answer
46 views

MSP430F5529 USB communication drivers refuse to install correctly

i am learning how to do USB communication with the MSP430F5529 Launchpad and trying to upload the CDC 1 LEDonOff Example from the MSP430 USB Developers Package provided by TI. I am also following ...
-1
votes
0answers
32 views

IR commands for shuting down television

I looked everywhere . But i could not find it . I did my ir remote control system for samsung smart tv. I am curios on are there any command to shut down television (it does not matter television on ...
3
votes
1answer
62 views

MSP430 Launchpad buttons do not behave properly and cannot see variables

I just got an MSP430F5529 Launchpad and have done one tutorial where i make the LED located at P1.0 blink. I am using code composer studio as my IDE Now i am trying to get the LED at P1.0 (red) and ...
0
votes
1answer
34 views

.CIO section MSP430

In memory allocation window of Code composer studio 6.1 I see 288 bytes of .CIO section. What is this segment and how I can remove it. Linker file lnk_msp430f2619 has mention of .CIO section. But ...
-5
votes
1answer
55 views

distance estimation using the different propagation velocity of acoustic and electromagnetic waves [closed]

i'm working on this project.......The aim is to estimate the distance of a smartphone from the embedded system using the different propagation velocity of acoustic and electromagnetic waves. It is ...
3
votes
1answer
48 views

How to program the ADC10 on an MSP430G2553?

I am currently writing my first serious application with an MSP430 controller (specifically, an MSP430G2553) and I am a bit confused by the documentation as to how I'm supposed to set up the ADC10. I ...
0
votes
1answer
80 views

msp430 DMA UART for Modbus

I am using MSP430 UART with DMA transfer for sending Modbus packets. As a master at the end of packer I need to change my RS 485 transceiver direction line for reception. I am sending 10 bytes in ...
1
vote
0answers
29 views

reading only 12-bits from SPI on MSP430F2122, is it possible?

I'm trying to read data from a RGB sensor (S9706) and I thought about using the SPI for the readings. The problem is that the sensor wants a little pause of 3-4us after each 12-bits (the colors ...
1
vote
1answer
43 views

MSP430FR4133 is missing PxSEL1 register?

Hi there fellow MSP430 programmers! I'm new at this so maybe you can help. I'm running into trouble configuring the MSP430FR4133 PxSEL registers. In the MSP430FR4xx Family User's Guide, it is ...
1
vote
0answers
30 views

Ultrasonic transducer driver/receiver ultralow power issues

I'm looking how to easily drive ultrasonic transducer Prowave 500MB120 or similar from MSP430. I found TI: Ultrasonic Distance Measurement With the MSP430 and AnalogDevices-Ultrasonic Distance ...
0
votes
0answers
96 views

msp430 AES encryption/decryption using DMA

I'm having some difficulties implementing the AES encryption primitives for an msp430fr5969 micro controller following the indications described here. more particularly the AES CBC cipher mode. My ...
0
votes
3answers
46 views

MSP430 above 3.6V

Usually, MSP430 microcontrollers have a maximum recommended operating voltage of 3.6V, but the maximum rating is 4.1V. What is the problem of using a supply voltage between 3.6V and 4.1V?
1
vote
2answers
74 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
497 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
80 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
61 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
65 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
73 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
2answers
106 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 ...
0
votes
0answers
222 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
32 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
124 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
138 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
229 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
55 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
65 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
119 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
505 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
89 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
56 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
157 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
81 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
484 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
51 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
134 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
529 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
185 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
297 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
89 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
427 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
279 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
202 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
296 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
213 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
176 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?