Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 8159

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

5 votes
1 answer
3k views

MSP430 programming under Linux - mspdebug fails to connect to programmer

I am trying to program the MSP430 (on an MSP-EXP430F5438 evaluation board) under Linux using gcc-msp430 (I eventually will do code larger than the 16k that the free version of the Code Composer allows) … As a debugger, it is recommended to use mspdebug, but when I try to use it, it doesn't connect to the FET430UIF. ~$ sudo mspdebug uif MSPDebug version 0.19 - debugging tool for MSP430 MCUs Copyright ( …
Renan's user avatar
  • 5,129
4 votes
2 answers
2k views

What is wrong with this MSP430 code?

I am using the MSP-EXP430F5438 evaluation board, which has pushbuttons connected to P2.6 and P2.7 and LEDs connected to P1.0 and P1.1. I want to make it such that P2.6 sets the LEDs on and P2.7 reset …
Renan's user avatar
  • 5,129
2 votes
Accepted

Reading value of bit in PxIN register

Besides, (at least with CCS and I think - but I have no way to test - with GCC, it might change with other compilers) instead of doing bit shifts, the msp430.h header defines a BITn constant which you …
Renan's user avatar
  • 5,129
2 votes
1 answer
5k views

How to calculate the modulation register for MSP430 UART?

I'm using a MSP430F5529 clocked at 1 MHz and want to use the UART at 9600 bauds. So far I did: void UART_init(void) { UCA0CTL1 |= UCSWRST; // Reset the UART's state machine UCA0CTL0 |= UCMSB …
Renan's user avatar
  • 5,129
4 votes
1 answer
2k views

UART is garbled when running at more than 9600 bps

I'm connecting 2 MSP430F5529-based boards (running at 1 MHz) using UART and MAX3232 (MSP430F5529 -> MAX3232 -> cable, a few cm long - will be longer in our final application -> MAX3232 -> MSP430F5529) …
Renan's user avatar
  • 5,129
7 votes
1 answer
2k views

SD card access slows down with many files

I'm working on a data logger application using a MSP430F5529 running at 2 MHz and a SD card using FatFs. The SPI interface is already running at maximum frequency. However I am seeing very erratic pe …
Renan's user avatar
  • 5,129
1 vote

Developing for TI's CC430F5137 MCU

To get started, you probably will want a development board, like CC430F5137 Wireless Development Tool, which has a JTAG interface. Studying its schematic and the datasheet, you should be able to desig …
Renan's user avatar
  • 5,129