Questions tagged [msp430]

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

The MSP430 is a 16-bit mixed-signal microcontroller family, aimed at low power embedded applications.

Further references:

  • TI MSP430 homepage: The official homepage of the Texas Instruments MSP430 microcontroller family.
  • MSP430 community: A collection of open source projects.
  • GCC toolchain: An open source toolchain, including a compiler and debugger, targetted at the MSP430.
  • GoodFET debugger: An open-source JTAG adapter.
  • 43oh: An active MSP430 forum.
  • openMSP430: An open source, synthesizable MSP430 core that is compatible with the GCC toolchain.
457 questions
40
votes
4 answers

What's the catch with FRAM?

After recently acquiring an MSP430 Launchpad I've been playing with various microcontroller projects. Unfortunately, the MSP430G2553 only has 512 bytes of RAM, so doing anything complex requires external storage. After looking at SPI and I2C SRAM…
David Given
  • 1,173
  • 1
  • 8
  • 15
18
votes
5 answers

What is a popular cheap and robust substitute for 2n7000 MOSFET for use with 3.3 Volt designs?

What are the popular equivalents to the 2n7000, for 3.3 Volt MCU circuits to switch higher voltage devices? Background: For 5 Volt microcontroller based prototypes and experiments, my go-to solution for low frequency, low side switching of 50-200 mA…
Anindo Ghosh
  • 50,188
  • 8
  • 103
  • 200
15
votes
5 answers

What are some good ideas to practice on the MSP430

I've got 4 launchpads (I'm a hog, I know, I got 'em while I could) and I'm getting used to the programming, e.g. the timers, ADC, PWM, LPM, etc. I don't have a lot of money and would like to do some projects to solidify my knowledge. What are some…
Matt Williamson
  • 1,192
  • 2
  • 10
  • 24
15
votes
2 answers

Why do programs stop watchdog timer on MSP430?

Many sample programs for the MSP430 have their first line as: WDTCTL = WDTPW | WDTHOLD; // Stop watchdog timer Why do they do this?
necromancer
  • 407
  • 1
  • 3
  • 11
14
votes
1 answer

History of the MSP430

This question crossed my mind today. What is the history of the MSP430? When did it start, what did it evolve from, why was it made (i.e. what goals was it trying to achieve/what technical limitations with current uC was it trying to address), and…
TRISAbits
  • 1,348
  • 1
  • 13
  • 25
13
votes
4 answers

Waking Up From Deep Sleep Modes

Most microcontrollers (e.g. AVRs,MSP430s, PICs, etc) support a number of different sleep modes. The "deepest" sleep mode is the one that purports the lowest power draw (e.g. "Power Down", "Shut Down"), but all the clock systems are typically halted…
vicatcu
  • 22,499
  • 13
  • 79
  • 155
12
votes
4 answers

How do I eliminate PWM noise when driving a fan?

I'm driving a 12V 0.11A brushless DC fan with PWM using an MSP430Gxxxx --> TC427CPA FET driver --> BS170 N-FET. The fan is on the low side of the FET. Even with a duty cycle of 90% and a frequency of 10kHz, there's audible buzzing coming from the…
Vincent Van Den Berghe
  • 1,290
  • 2
  • 14
  • 21
11
votes
1 answer

Getting MSP430 USB Driver Signed By Microsoft

I am developing a product which utilizes an MSP430 microcontroller with a built-in USB module. I obtained a PID from Texas Instruments and used their tools to generate the descriptors, as well as a .inf file to install the driver software. The…
DerStrom8
  • 21,042
  • 8
  • 61
  • 95
10
votes
2 answers

Is it safe to connect two MCU pins directly to each other?

I am working on an MSP430 project that requires me to route the output of one peripheral into the input of another peripheral. Thus, I have two MCU pins connected directly to each other. This looks suspicious to me since there is the possibility of…
Dmitri
  • 320
  • 3
  • 9
10
votes
5 answers

Memory suggestions for MSP430

I'm developing a measurement application with the TI MSP430 and I would like to hear some suggestions on what type of memory I can use. The idea is to use it for logging during a certain time and then download the data to a PC when the device is…
Padu Merloti
  • 801
  • 1
  • 8
  • 20
10
votes
2 answers

Spy-Bi-Wire vs JTAG

I'm working on an MSP430 design and I'm very intrigued by the Spy-Bi-Wire two-wire programming interface. From what I read it is very similar in terms of functionality to JTAG and even looks better in some cases (less wires of course, but also…
Joel B
  • 3,477
  • 2
  • 29
  • 37
10
votes
2 answers

MSP430 Code Size in CCS

This should be pretty straight forward, but my google-ing is not turning anything up... I can build my project successfully in TI Code Composer Studio (CCSv5) and target my device. Now I want to know my program code size, so that I know how much…
vicatcu
  • 22,499
  • 13
  • 79
  • 155
9
votes
3 answers

MSP430 serial communication failing in cold weather

I have a product using the MSP430 microprocessor, which has been selling for a couple years now. One of the MSP430's jobs is to communicate over async serial to a low-power radio. With the onset of this winter, there has been an unacceptable…
markrages
  • 19,905
  • 7
  • 59
  • 96
9
votes
5 answers

Can I control a voltage output from a microcontroller?

I have to generate values between 0 V and 0.8 V for a circuit and take the value of the voltage output from the system and analyze the data. Can I generate voltage values automatically using a microcontroller? (For example: 0.05 V, 0.1 V, 0.15 V…
user26136
  • 91
  • 1
  • 1
  • 2
9
votes
1 answer

What happens to I/O pins in Low Power Mode on MSP430

I'm reading the datasheet for the MSP430G2553 about the low power modes that the microcontroller has but it doesn't talk about what happens to the IO Ports when it enters low power modes. It only talks about the what happens to the clocks like so:…
Dean
  • 8,408
  • 27
  • 70
  • 120
1
2 3
30 31