Questions tagged [msp430]

The msp430 is a family of 16-bit microcontrollers from Texas instruments.

The MSP430 family is designed for low cost, low power consumption embedded applications. The architecture dates from the 1990s and is reminiscent of the DEC PDP-11.

The Wikipedia article contains an extensive description of the architecture and variants, and the home page has an extensive set of technical documents, support tools and products. There is also the developer community.

640 questions
1
vote
2 answers

Tools and steps on programming MSP430

Just bought an MSP430 launchpad Been reading through stuff, but I'm unable to learn from all those verbose sources how to stick my C program inside the micro controller. They're not objective (I've started with the manuals that came within, then…
Lucas BS
  • 111
  • 3
1
vote
3 answers

Using all ports of MSP430 as one big port - is it possible?

It will be more convenient for me to use all the MSP430 ports as one port. I was thinking maybe to overflow the registers until the next memory address, but it's not working (or maybe i'm not doing it right). To access BIT0 of PORT2, I tried…
Itay
  • 322
  • 1
  • 3
  • 15
1
vote
1 answer

Binary, produced by MSP430GCC, has strange start address for text segment

After compiling an exemplary C program with msp430-gcc (LTS 20120406 unpatched) for the MSPG2211 I got the following output using the readelf command: section header program header The address space of the MSPG2211 microcontroller is structured…
Qfelix
  • 43
  • 3
1
vote
1 answer

Using TI Linker Command File with Clang

When using TI (Texas Instrument) compiler, I am able to set a memory location of embedded micro-controller using C++ by simply ADC12IFG = 50;. Clang marks this code as error: indirection requires pointer operand ('int' invalid). So when I dig into…
user1135541
  • 1,781
  • 3
  • 19
  • 41
1
vote
0 answers

MSP430UIF Debugger showing different timer values

im using MSP430F5438A with MSP-FET430UIFdebugger.Im running a simple code for measuring the time it takes for a ADC Sample.The code is simple as posted below.The problem is when i debug the same code and when i observe the TA1R register,it gives…
erathina
  • 53
  • 1
  • 7
1
vote
1 answer

GPIO interrupt for MSP430f2274

i am working on a project in msp430f2274 microcontroller. In my project i am trying to read an reed switch which is being connected to a GPIO pin at P2.3. Normally the pin will remain HIGH as it is being connected to pull up from the hardware. when…
1
vote
1 answer

MSP430 ports access

I'm working on a project using msp430. How can i read the value received by a specific port and assign it to a variable? Like P1.5 ? I already set P1DIR to input. I did: data = (P1IN & SDA_TMP); // Where SDA_TMP is a defined prep
1
vote
0 answers

Understanding GCC generated map files

I'm trying to write a script that parses .map files generated by GCC and help me figure out what the footprints of various libraries are in memory. (Github repository of what I have so far) I'm trying to understand what the following means / how it…
1
vote
1 answer

Serial communication in MSP430

I am using MSP430G2553. If I write the following code in energia-0101E0014 doesn't gives any error but in serial monitor data doesn't print but LED blinks perfectly. I know COM port settings and Baud Rate settings and they are correct. #define LED…
1
vote
2 answers

MSP430 Random Resets with 'Security Violation (BOR)'

I am facing RANDOM controller resets and the 'SYSRSTIV' register gives value '0x0A' which means 'Security Violation (BOR)' according to user's guide. I searched many forums and found few topics related to the issue but that didnt…
1
vote
2 answers

Symbol not found __udivsi3

I compiled my one of the Contiki application (power-cons.c: which evaluate the power consumption of TelosB mote) as a Contiki executable (power-cons.ce). The Contiki executable is then uploaded to the Sky platform via serial and is stored in the…
siju koshy
  • 21
  • 3
1
vote
2 answers

MSP430 instruction cycles

Hi i am working on Tmote sky motes (MSP430 microprocessor) with contiki os. I want to know the number of instruction cycles used when I do a multiplication operation in my programming (software). Thank you, Avijit
aviian7
  • 55
  • 6
1
vote
0 answers

MSP430 Eclipse CDT (code composer v6): remove the echo statements "building", "invoking" "finished" from makefile

I'm building a MSP430 project in code composer studio. My CDT build reports building file: [...], invoking: [...] then finished building: [...] for every file compiled. This is a rather verbose output and unless I'm trying to fix/adjust something…
Michael
  • 2,118
  • 1
  • 19
  • 25
1
vote
3 answers

How to get FreeRTOS on MSP430 using CCE?

I'd like to get FreeRTOS running on an MSP430 processor using Code Composer Essentials v3.1. I found an example of just this at http://www.westmorelandengineering.com/toc.htm. Specifically I’m working with FreeRTOS_Demo.zip, the top one. When I…
Nolte919
  • 13
  • 6
1
vote
1 answer

Multiple ISR's in msp430

I am coding msp430g2553 ussing CCS 5.5 . I have two interrupts enabled in my code. I am not able to understand how should i go about writing two different ISR for these two interrupts. How should i indicate in my code, which ISR corresponds to which…
Abhishek Tyagi
  • 153
  • 1
  • 9