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

learn more… | top users | synonyms

0
votes
1answer
13 views

Undesrstaning the example c code of Code Composer Studio

I am using msp432 to generate a digital signal. I have trouble understanding the example c language codes from MSPware extension of CCS. Is there any good site or reference material available?
0
votes
1answer
50 views

RTC in MSP430 microcontroller

I'm trying to generate a 15 minutes alarm using RTC in MSP430F5438A microcontroller from Texas Instruments. What values should I put in the Interrupt registers. I have tried putting 0x95 in RTCAMIN ...
0
votes
2answers
47 views

MSP430 individual pin accesibility

I'm working on a ultra-low power application and want to enable and access only one pin as output and one pin as input. I'm using the MSP430 microcontroller and CCS for programming. I have two ...
0
votes
1answer
81 views

How to disable a microcontroller port once enabled?

I'm using MP430 series microcontroller. The functionality of the code is to do a specific task and then don't do anything (sense the tilt and glow an LED in a fixed amount of time). But due to some ...
1
vote
1answer
56 views

MPU6050 won't ACK

I'm trying to get my MSP430 to talk to a MPU-6050 sensor via I2C. If anyone can spot-check this hardware and see if there's a problem there, I'd be grateful. The resistors are connected to the red ...
0
votes
1answer
55 views

How do you restart the MSP430 Launchpad programmatically with Energia?

Can anybody tell me what Energia method I can call to programatically reset the MSP430 Launchpad. Under certain circumstances, I need it to power down and back up again. It needs to shut down power ...
1
vote
1answer
22 views

UART issue with receiving a char

Currently I am working with two MSP430G2553 Microcontrollers for a school project and I have to use UART to have them communicate with each other. The transmit MSP430 is to send a character whenever a ...
0
votes
0answers
25 views

Problem using Port Mapping in MSP430f6638

I'm trying to use one of the features of the MSP430f6638, which is Port Mapping, to map the module USCI_B0 in the mode I2C to P2.0 and P2.1, i'm even using one of the example codes to do that. After ...
0
votes
0answers
48 views

Can't get I2C to work with DS3231 and MSP430 due to hanging issues

I am currently using an MSP430G2 processor. I am trying to get I2C communication between it and a DS3231 timer chip to work properly. ...
0
votes
0answers
30 views

Is Energia buggy when it comes to using Serial.print() near sleepSeconds() call?

So, I've been experimenting with sleep, sleepSeconds, suspend() and wakeup. These are AWESOME by the way... Here's what I've found. suspend() puts the controller into LPM4 which makes it ONLY come ...
3
votes
0answers
132 views

Cannot get data to rx register of msp430fr5739

I am working on a gps project with msp430fr5739. I have done some code for gps. the nmea string handling is workings fine in my code when manually entered a few nmea sentences, but I am stuck with ...
0
votes
1answer
33 views

How do you implement an Energia interrupt handler?

So, I have an application that needs to be very conservative with the power. I use the suspend() command to go into LPM4 and wait for an interrupt to occur. During the interrupt, I attempt to ...
0
votes
1answer
31 views

Using Energia, how do I get around disableWatchDog() locking up my program?

Below is a short code chunk. The code locks up on the 'Serial.Begin(9600);' line. Can anybody tell me why? Also, can you tell me how to get around it? ...
1
vote
1answer
49 views

How do you use low-power mode on an MSP430G2553 using an Energia sketch?

I am using an energia sketch to program my MSP430G2553 controller. I need to know how to use low-power mode. Do I leave the loop section of the sketch empty and set up an interrupt in the setup ...
3
votes
3answers
122 views

How do you programmatically detect pin count on an MSP430G2553?

I am using a Launchpad to program an MSP430G2553 controller. I use it for debugging. This controller has 20 pins. However, the end goal here is to run my program on an MSP430G2553IPW28R controller. ...
0
votes
0answers
50 views

MSP430 — Write to to a text file and store on device

I'm making a chessboard project that records the moves of a game and I need the MSP430 to write a text file and store it in it's on board memory. I don't know how to get the MSP430 to make and write ...
3
votes
1answer
218 views

MSP430 launchpad's bypass capacitor mystery!

I've been looking into MSP430 launchpad's schematics and saw something that can't quite understand: the bypass capacitors for the reset button and for the P1.3 are different (1nF and 100nF ...
0
votes
2answers
70 views

MSP430FR4133 timer interrupt

I am trying to use the timers on the microcontroller in order to count up to 10us then add 1 to the int timer. I intend to use this in a project I am doing where I count the time between pulses from a ...
0
votes
1answer
11 views

MSP430F6736A UART configuration via Code Composer

Using embedded proggraming, Code Composer Studio 6.0.1, Trying to configurate UART to communicate between MSP430F6736A and my PC. Using USB/RS485 converver(2 vire (A,B)). For sending data using ...
0
votes
1answer
74 views

Can a slave i2c IC prevent the master from pulling the the signal low?

I have an MSP430F6659 connected to a ISO1541 via I2C with 1.5K pull-ups. The I2C bus is through wire instead of PCB trace so I'm able to swap out identical PCBs with the ISO1541 ICs. One of these ...
0
votes
0answers
36 views

Power off detection on MSP430f6779

I want to detect power off on MSP430f6779 and when there is on to off transition It should write important data to Flash. The problem I am facing is code is going in ISR when it is power OFF to ON ...
0
votes
0answers
45 views

Why does MSP430G2553 get stuck on Transmit()?

I've been banging my head against the wall for days trying to get my LaunchPad to work with Code Composer Studio doing some very simple I2C. I have tried several examples found on the internet and ...
0
votes
0answers
9 views

How do I use TI_USCI_I2C_slave_present method from TI_USCI_I2C_master

I'm trying to implement I2C to communicate with a device at address 0x53. I'm starting with a simple device scanner that that detects I2C devices on the bus. There is a function called ...
1
vote
2answers
109 views

How to troubleshoot overheat/short of microcontroller?

The PCB I am working on somehow went terribly wrong. As soon as I power up the circuit, MCU(MSP430F6720) starts to quickly overheat and in one case literally smoked. I described this in TI's forum ...
1
vote
1answer
73 views

Circuit draws no power from battery supply, but draws 60 mA from programming header

I am working on a project where I have three different power inputs. The first two are programming headers (for a msp430 and atmega328) and the third is a battery input. All three will power the ...
-2
votes
2answers
63 views

How to make sense of battery value [closed]

I want to ask regarding my z1 motes (msp430 device) that was uploaded a program that tests the battery. It shows the values in the picture below. But I don't know what the values mean. Does this ...
0
votes
1answer
104 views

MSP430 Problem with Multiple Interrupt Timers

I am currently investigating the use of pulse density modulation (PDM) combined PWM (In short, PDM-PWM) as a substitute for conventional PWM in the application of maximum power point tracking (MPPT) ...
0
votes
1answer
23 views

Voltage drop when fed to ADC in MSP 430

We are trying to implement a battery monitor circuit in our project. We have a regulator in our design that supplies 3.3V. The logic we want to implement is to monitor the voltage and glow an LED if ...
0
votes
0answers
18 views

How to handle Uninitialized Interrupts in MSP430?

I am working on MSP430 Series Controller. And I am using Interrupts for UART ( for receive only) and I2C, Timer and DMA. there are also UN-initialized interrupts , To make sure That they are not ...
0
votes
2answers
71 views

MSP430FR4133 Internal Temperature Sensor

I am currently using the MSP430FR4133 in order to make an ultrasonic measurement system for the volume of a room and would like to be able to check the temperature of a room to work out the speed of ...
1
vote
1answer
84 views

Programming MSP430G2553 with Raspberry Pi 2

So, i want to program a msp430g2553 microcontroller with raspberry pi 2. Since i don't want to use any IDE i would like to do it with clean C and terminal, without any external libraries like ...
1
vote
0answers
47 views

How to interface a BQ76PL536EVM with a MSP430 uC using the sample code?

I am trying to follow the application report : http://www.ti.com/lit/an/slaa478/slaa478.pdf to setup communication between a BQ76PL536-EVM (TI battery monitor) with a MSP430 uC board (I am using a ...
0
votes
1answer
49 views

How do I store analog input into the msp430 nonvolatile memory?

I am using Energia to program MSP430G2553 chip in a BristleBot circuit and I would like to store data in the nonvolatile memory, so next time I turn it on it remembers the inputs. How do I define this ...
0
votes
1answer
29 views

Code composer 6 linker file not placing variables

I am developing firmware on MSP430F2619. I need to store configuration information having 5 sections of 200 bytes. In order to read and write them independently I am trying to allocate 5 sections of ...
1
vote
1answer
44 views

interfacing external push button to msp430 using energia

I am writing code in Energia using the mso430g2553 launchpad and an external pushbutton with a pullup resistor. The code should simply display the state of the button on the serial monitor, 1 for ...
1
vote
0answers
53 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
101 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, ...
-4
votes
1answer
51 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
40 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
77 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
73 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
40 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 ...
1
vote
1answer
67 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
250 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
87 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
77 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
193 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
1answer
38 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
77 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
66 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 ...