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

learn more… | top users | synonyms

1
vote
0answers
28 views

How to set MSP430 Driver Library timerA configurations

I am using MSP430F5529 and MSP430 Driver Library. As you can see, I set upMode timer configuration, compare mode configuration and enabled the initial interrupts. However, timerA interrupt is not ...
1
vote
3answers
85 views

How do microcontrollers (MSP430G2452/G2553 specifically) behave when the battery runs low?

In the event I decide not to monitor the battery (see below), I'd like to know how microcontrollers behave when battery life is low - specifically the MSP430G2553/2452. Do they reach a point and stop, ...
-1
votes
0answers
23 views

communication gets disconnected on msp 430f54x

My msp gets disconnected while running a routine that is using port 10 for one-run 4X4 keypad. Is there any connection between the two? I've already tried using different computers and serial ports ...
-4
votes
1answer
47 views

Can't transmit char on msp430f54

Trying to send a character with UART but it just refuses to work. my code: ...
1
vote
1answer
38 views

MSP430 - how to check addressing types

I'm programming a MSP430 in C language as a simulation of real microcontroller. I got stuck in addressing modes (https://en.wikipedia.org/wiki/TI_MSP430#MSP430_CPU), especially: Addressing modes ...
1
vote
0answers
68 views

Detecting the distance of my dog to the food bowl

When one of my dogs sneaks to another dog's food bowl, I want to be notified so I can stop it. I have EZ430-RF2500 (msp430) development kit. Is it suitable for such project? I also have Arduino so I ...
1
vote
1answer
29 views

Trouble initiating I2C communication with MSP430g2553

I am having difficulty getting I2C communication going on the MSP430g2553. After working on this for a couple of days I finally stripped down the code to what I thought should be the bare bones needed ...
1
vote
3answers
23 views

Microcontroller Memory reliability : Info Memory vs External Flash

I had a small query which I couldnt find a short answer in google. for storing small amount of data ( say 8 bytes ) in an embedded system (containing an external Flash too), is it preferred to store ...
0
votes
1answer
54 views

MSP430F6638 stack problem

I'm programming a MSP430f6638 via JTAG interface, specifically i'm using TS430PZ100USB kit, and I'm trying to write a FAT16 file in an SDCard so I'm using the FatFs modules to make the system file, ...
0
votes
1answer
95 views

TimerA: How to get PWM in upMode configuration?(TI MSP432 Launchpad)

I try to use UpMode timerA configuration on MSP to get PWM with arranged Duty Cyle. So here is my code below: ...
2
votes
2answers
67 views

MSP430 how to make configurable ISRs in a module (Code composer studio C)

I have a question that I think the answer to is quite simple. But I've been unable to find a straight answer to. If i have this service routine in some module foo.c ...
0
votes
0answers
44 views

MFRC522 Interrupt Handling

I am working on a project that reads RFID tags/cards by using MSP430 and MFRC522 module. Module communicates with MSP430 via SPI. It detects cards and reads serial number with polling properly. ...
-2
votes
1answer
93 views

Calculator with MSP430 in Assembly Language

I am programming a calculator in assembly language with the MSP430g2553. I have a 4x4 membrane keypad and an 2x16 LCD. I already can display numbers in the LCD with the keypad. The issue is that the ...
0
votes
0answers
75 views

4x4 Keypad with MSP430

I am connecting a 4x4 matrix keypad to a MSP430g2553. the MSP is already recognizing which key I am pressing but the output ascii code for each digit is wrong. For example if I press digit 5 in the ...
0
votes
1answer
17 views

P1IN Register in MSP430

Does the register P1IN has default values? I am trying to test a matrix keypad but in register P1IN-1 and P1IN2 are always high.
0
votes
1answer
62 views

NHD-0216HZ-FSW-FBW-33V3C Black Boxes in Line LCD Display

I installed a NHD-0216HZ-FSW-FBW-33V3C with an MSP430g2553. I tried to initialize it for 4-bit mode in assembly language but black boxes still shown and initialization is not completed I think. My ...
1
vote
1answer
47 views

MSP430 Delay Subroutine

I am writing a delay subroutine in assembly language for the MSP430. I want to know how to calculate the number that have to put in Register R10 in order to achieve a 20ms delay. Thanks ...
0
votes
2answers
109 views

Division Assembly in MSP430

I have been trying to implement an assembly routine in MSP430 for division. I already got the code for the division from the Horner Division Algorithm. The problem is that I only got the integer part. ...
0
votes
0answers
45 views

Acceptable microcontrollers for the MSP-EXP430G2 Launchpad

I have the MSP-EXP430G2 Launchpad (2-4 years old). Can I program with it any 20 pin MSP430 microcontroller from TI including ones that may be released in the future or there are only specific ones?
0
votes
3answers
99 views

Assembly Jump Question (PC Offsets) - MSP430

So im still trying to understand basic computer architecture, and have been writing a little bit of assembly for the MSP430 (basic LED/Switches stuff). I've been browsing the instruction set, and ...
1
vote
2answers
86 views

MSP430 8 vs 16 bit memory/bus?

I want to make sure im understanding something correctly. Im learning the MSP430G2 (specifically G2553 is the actual chip im using). Im def. a newb to computer architecture so keep that in mind. So ...
1
vote
0answers
32 views

MSP430: Configuring multiple inputs to the same ISR

MSP430F2274 I have four buttons that all need to be tied to the same interrupt service routine. They are tied to P1.0 - P1.3. The first button is configured and working great with this initialization ...
0
votes
2answers
47 views

Need a robust way to change uart lines

I'm working on a project where I am sending data from an msp430 to an atmega328 through regular tx/rx lines. My board will also need the capability to perform software changes on the atmega through ...
1
vote
1answer
22 views

MPS430F2619 ADC12 channel 10

I am using MSP430F2619 for data acquisition. Channel 10 of ADC12 was shown in Data sheet as temperature sensor. But also on Block diagram a Vref_x is also assigned to channel 10. How did we know if I ...
1
vote
2answers
46 views

How to initialize MSP430FR5969 Comp_E Module

I've tried to implement a resistor based temperature sensor on a MSP430 FR5969 . The User Guide is fairly straightforward on this point. I configured all registers according the user guide but ...
1
vote
2answers
113 views

current sourcing by MSP430F5438A-EP MCU

I am using the MSP430F5438A-EP microcontroller. I wanted to know the max current that could be sourced by this chip. The datasheet is -Datasheet. The data given in page 38 states - Diode current at ...
1
vote
2answers
105 views

How to model output pin of microcontroller in SPICE?

I'd like to model an output pin of a microcontroller (MSP430F5xxx) in SPICE. The datasheet contains this: This is the I-V graph for a pin which is configured as output and set to logic low. There ...
1
vote
2answers
66 views

Starting application program at fix address in MSP430F2619

I am writing firmware for system with boot loader and application using TI MSP430F2619 micro-controller. I want to know How I can make sure my program restart at predefined address in flash let us ...
0
votes
1answer
110 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 ...
3
votes
0answers
147 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
173 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 ...
7
votes
3answers
474 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
106 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
189 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 ...
3
votes
1answer
169 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
84 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
81 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
254 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
184 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
59 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
115 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
67 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
3answers
67 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
101 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
632 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
110 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
117 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
101 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
128 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
296 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 ...