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

learn more… | top users | synonyms

0
votes
0answers
34 views

programming MSP430i2030 using launchpad

I have to use MSP430i2030 for a project and I tried burning code on it using MSP430G2553 launchpad. I tried burning a simple code on toggling the LED, however, the CCS complained that it could not ...
0
votes
1answer
46 views

C code for analog read of SD24 ADC (MSP430I2041)

I am trying to read the output of the ADC into an array by taking the output from the memory register but for some reason it is not working, the array values stay as 0: ...
-1
votes
0answers
21 views

msp430G2553 launchpad programming

I am making my program using msp430g2553 launch pad. In this i have taken input from P2.4 and i want my output from P2.0, P2.1 and P2.2. In this program i have to generate the pulse of 500ms from ...
-3
votes
1answer
37 views
0
votes
0answers
41 views

Regarding RN4020 and MSP430 interface

I have recently started working (no previous experience of working with BLE) on BLE2 click module (RN4020), I could successfully connect TTL-USB cable to my laptop and could communicate with the ...
0
votes
1answer
56 views

I2C interfacing between two chips

I am trying to interface a microcontroller (MSP430) with another chip through I2C. Both datasheets (MSP430 and the other chip) advice me to pull the I2C signals up to VCC. Do I need to pull SDA & ...
2
votes
1answer
70 views

IAR Embedded Workbench, SmartRF Studio, CC1120/CC112x, where to start?

I am a newbie to Texas Instruments CC1120 radios. Where do I start? Also, what should I be using to program them? SmartRF Studio or IAR Embedded Workbench? Both are provided on the official Texas ...
3
votes
1answer
42 views

CC1120 does not receive upon software upgrade

Note: only read if you have experience using Texas Instruments CC1120 modules earlier. I am using this development board by Texas Instruments with a CC1120 module hooked up on it. I have been using ...
0
votes
1answer
67 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 ...
1
vote
2answers
54 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
87 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
67 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
101 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
34 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
44 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
68 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
34 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 ...
0
votes
1answer
50 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
49 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
75 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
137 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
74 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
221 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
95 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 ...
1
vote
1answer
25 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
85 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
42 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
63 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 ...
1
vote
2answers
122 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
80 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
72 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
129 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
25 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
22 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
100 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
111 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
53 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 MSP-...
0
votes
1answer
54 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
31 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
56 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
67 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
111 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
42 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
78 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
86 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
56 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
69 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
313 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
95 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 ...