The MSP430 is a Texas Instruments low-power microcontroller family.
0
votes
1answer
43 views
Help required performing Single Master - Multiple(upto 16) Slave SPI Communication using MSP430
I am planning to use MSP430F6638 for SPI Communication between a single MSP430 Master and multiple MSP430 Slaves. I am using a 4x16 Multiplexer before each Slave for providing the Chip Select Signal. ...
2
votes
0answers
26 views
Msp430g2553 i2c communication library with itg3200 gyroscope
I've been creating an I2C library for communicating with ITG3200 gyroscope for MSP430g2553 experimental launchpad. I still have slight problems with sequential reading and the signed values but I'm ...
-1
votes
0answers
20 views
Interfacing MSP430 with a INT035TFT (TFT LCD) [closed]
I have a INT035TFT 3.5 inch TFT LCD manufactured by Displaytech ltd. I need to interface it with the MSP430-P1611 board from Olimex. The LCD already has an inbuilt display controller(SSD1963), so I ...
1
vote
0answers
48 views
Msp430 I2C Single Byte Read Write
I have this code I've been working on that connects an ITG-3200 gyroscope slave and MSP430G2553 master via I2C bus. It was working fine yesterday but somehow today it is not working. I tried to debug ...
3
votes
2answers
79 views
Developing for TI's CC430F5137 MCU
I'm developing an embedded systems project (I'm quite new to the area) and I have determined that I want to use the CC430F5137, my problem is: How can I develop for it?
From cross-compilation, to ...
1
vote
1answer
43 views
Brownout (low voltage) Detection on msp430F2274
I work on a Texas Instruments msp430f2274 with a battery. I want to know, when the supply voltage is low.
I found information about a "Supply Voltage Supervisor" but apparently it is not present in ...
1
vote
2answers
41 views
Using DTC and for repeated Single Channel Reading on MSP430
I'm trying to use the DTC to continuously update a variable without CPU intervention. However I am not getting any results and cannot figure out why. Any help would be appreciated.
Here is the method ...
0
votes
1answer
47 views
Rtc on msp430 crystal 32.768kHz, low power
I need setting timer on interrupt every second. I use 32.768kHz external crystal, mcu is MSP430G2553. In addition to the need get under consumed 10μA.
I try this code but consumed was cca 80-90 μA. ...
2
votes
1answer
48 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:
...
1
vote
1answer
153 views
Msp430 I²C single write-read example
I've been trying to use an I²C bus between a MSP430G2553 launchpad and ITG-3200 gyroscope breakout. Here is the Launchpad datasheet and user guide and the ITG-3200 datasheet. The ITG-3200 uses a ...
0
votes
0answers
44 views
Measuring CC2420 clock
I'd like to measure the CC2420 clock on a TelosB module that includes a MSP430F1611 microcontroller running the Contiki OS. I turned the CCA pin into a test pin to output the radio's 8 MHz clock. The ...
0
votes
0answers
59 views
XBee & MSP430 interface (Code Composer Studio) mesh network
I'd like to build a mesh network with XBees. I want to send data to a MSP430 which has a connection to an XBee, all XBees will have a connection to MSP430s.
I am curious if anyone has tried it before ...
1
vote
1answer
141 views
TinyOS interrupts handling
I'm working on a sensor project which uses TelosB based on CC2420 and MSP430F1611 running TinyOS.
The aim of the project is to measure the distance between two devices. I was thinking to measure the ...
1
vote
1answer
159 views
Bit Bang to I2C EEPROM MSP430
I found some code to Bit Bang to an EEPROM on the MSP430 here, but if I change the pins to what is on my design it fails to read and write. I've also added a LED for output this should blink if it ...
0
votes
0answers
242 views
Using a MSP430G2553 and PCF8574 expander to drive an LCD with HD44780 controller
I´m using a MSP430G2553 and PCF8574 expander to drive an LCD with HD44780 controller, through I2C communication. Obviously, the MSP430 is the master and the PCF is the slave.
I generate the start ...
2
votes
1answer
150 views
Controlling MSP430 PWM with a Laptop
I have written a code which takes two digit number from laptop and changes the PWM dutycycle to that number. It is part of a bigger requirement where I need to control motor speed over UART.
...
1
vote
1answer
81 views
Connection of EZ430-RF2500 development tool with PIC18f877
I want to conect the ez430-rf2500 development tool with PIC16f877 throught uart, do I have to use a max232 chip in order to be able to communicate between those two MCUs or it can be done without it.
3
votes
1answer
193 views
MSP430 printf() through Spy-Bi-Wire hangs
printf() to console through Spy-Bi-Wire should be supported in the TI Code Composer Studio. Found this page, which explains how to enable ...
5
votes
1answer
146 views
Open collectors & 74LVC245
I am trying to interface a PS/2 keyboard to a MSP430 for a toy. The PS/2 keyboard runs off 5V, but the MSP430 microcontroller runs off 3.3V. So I have a 74LVC245 level shifter to convert between the ...
5
votes
1answer
137 views
TI MSP430 JTAG Interface
I am working on interfacing a JTAG interface to a MSP430BT5190. Below is a showing of how it should be connected.
Looking at the pin out of the JTAG, I see there is a TDO and TDI. When connecting ...
0
votes
0answers
48 views
What values for Vin, V1, and V2 should I use to correctly program sensitivity parameter for A1362 sensor?
On pg. 15 of A1362 Programmable Linear Hall Effect Sensor you will see Voltage Pulse {High, Med, Low} defined for the Allegro A1362. Using observed values of MSP430's digitization, I need to select a ...
17
votes
3answers
425 views
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 ...
0
votes
1answer
67 views
What is the proper way to set the offset and sensitivity parameters for Allegro A1362 so MSP430 properly digitizes them?
What is the proper way to set the offset and sensitivity parameters for Allegro A1362 Programmable Linear Hall Effect Sensor so that TI MSP430 5528 properly digitizes them?
Using observed values of ...
4
votes
1answer
135 views
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 ...
2
votes
2answers
528 views
Using external oscillator for MSP430 Timer
I'm want to use an external low frequency crystal (32kHz) for the timer in my MSP430G2553 and the internal oscillator at 8MHz, but in the datasheet I can't see how I should use the external crystal ...
2
votes
3answers
71 views
Reading value of bit in PxIN register
I need to get the value of an input but only need to get one specific bit. Im porting some software and can't seem to think of a way to get the value from PxIN for the microchip pic it looks like ...
2
votes
1answer
186 views
Timer overflow on MSP430
I'm using an interrupt to wake the microcontroller once the value has been reached. I see that in the Capture/Compare Control Register there is a Capture Overflow bit. I can't seem to find an example ...
-3
votes
1answer
117 views
How can i test a microcontroller circuitry based on software?
Im attempting to write software to test circuits developed on a MSP430f5xx uC. Testing of circuits could be section wise based on the functionality of sections of circuit. I need to ensure the ...
6
votes
1answer
650 views
TI Launchpad MSP430 on Serial in Linux
The MSP-EXP430G2 LaunchPad Experimenter Board User's Guide (Rev. C) in chapter 3.2 states:
The LaunchPad includes a pre-programmed MSP430G2553 device [...]
Press button P1.3 to switch the ...
6
votes
1answer
292 views
License dilemma Texas Instruments Code Composer v5 for Stellaris vs MSP430
As I read the screenshot below, I have to pick the license for Texas Instruments' Code Composer Studio v5 as follows:
option 4: to use with a LaunchPad MSP430
option 3: to use with a LaunchPad ...
4
votes
2answers
243 views
Removing DC wander in the offset of a DC-biased audio signal
I'm trying to read an audio signal from an Android phone as a serial input to an MSP430G2553, adapting this design to use the MSP430's onboard comparator module instead of an LM324. The Android code ...
0
votes
1answer
185 views
USB ground on MSP430 Launchpad interfering with Comparator_A input voltage
I'm trying to read an audio signal from an Android phone as a serial input to an MSP430G2553, adapting this design to use the MSP430's onboard comparator module instead of an LM324. The Android code ...
0
votes
0answers
187 views
Touching SPI clock pin results in loss of sync
I've connected a Rasperry Pi to a MSP430 uC using a 3 wire 8bit SPI interface.
The SPI communication seems to work (I've checked on both ends and the data is correct).
On the PI I communicate using a ...
3
votes
2answers
755 views
How does __delay_cycles work?
I'm using a msp430g2553 and setting the clock to 1Mhz:
BCSCTL1 = CALBC1_1MHZ;
DCOCTL = CALDCO_1MHZ;
I've timed a 5 million ...
0
votes
1answer
378 views
How do I get the msp430 EZ430-RF2500 to communicate with an MPU-6000 gyroscope over SPI?
What are the steps necessary to get
Device 1. MSP430 ez430-rf2500 to communicate over Serial Peripheral Interface (SPI) with
Device 2. MSP430 5528 and MPU 6000 gyroscope?
Goal to get Device #2 ...
0
votes
0answers
70 views
Why do I get compiler errors in the ez430-rf2500 project?
I am currently running Code Composer Studio v5.3 on Windows 7 and I have managed to successfully execute the Temperature Demo using this chip:
http://processors.wiki.ti.com/index.php/EZ430-RF2500
...
2
votes
2answers
208 views
How do I load the Demo temperature program on an MSP 430 access point and end point?
I have successfully downloaded Code Composer Studio v5 on linux under evaluation license and I also have two devices: .
http://www.ti.com/tool/ez430-rf2500t (end point)
...
1
vote
0answers
237 views
JTAG adapters for various MCUs compatible with GNU/Linux [closed]
I'm going to experiment with various micro-controllers from now on and would like to know some opinions about official/3rd party JTAG programming&debugger adapters.
I'd like to know if some of ...
4
votes
2answers
238 views
Interfacing 3V TI MSP430 to PC serial port
I am scratching my head to figure out a possible soloution for this scenario:
I am developing a simple application using TI MSP430 microcontroller. The microcontrol part is powered by 2xAA batteries. ...
5
votes
4answers
377 views
Using a voltage regulator to power MSP430 microcontrollers
I'm trying to power a MSP430 microcontroller at 3.0V. I have a voltage regulator whose output is 3.6V, but I have a Bluetooth module that can only tolerate 3.0V. I plan to use a voltage divider to ...
3
votes
1answer
137 views
how to timestamp packets with CC2420 and MSP430F1611
I'm working on a sensor project which uses TelosB based on CC2420 and MSP430F1611 running TinyOS. And I want to timestamp each incoming packet, whose reception time is indicated by the SFD pin rising ...
5
votes
2answers
209 views
How do I decople a microcontroller with odd number of ground pins?
I'm building a DIP adapter board for MSP430FR5739 and I want to include the decoupling capacitors on the adapter board itself.
From what I can see, I'll need a capacitor on the analogue and digital ...
10
votes
3answers
759 views
What is a popular cheap and robust substitute for 2n7000 MOSFET for use with 3.3 Volt designs?
First off, this is not a shopping question, it is an attempt to harvest the knowledge of all the EEs who may have crossed the same bridge the question describes.
Question: What are the popular ...
4
votes
2answers
278 views
How to debug reset caused by WDTCTL security key violation in MSP430F1611?
I'm working on a sensor project which uses TelosB based on MSP430F1611 running TinyOS. My program is reset some time after boot up. After the PUC reset, IFG1 is found with WDTIFG bit set, indicating ...
2
votes
1answer
402 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 ...
3
votes
2answers
542 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 ...
5
votes
2answers
712 views
Multiplexing 2 digit 7Segment with one Bit
I want to control a 2 digit 7-segment LED with a MSP430 micro controller. The display has 8 input pins per digit (8th pin is the dot, which I do not need) and two ground pins (common cathode). The ...
3
votes
1answer
335 views
Simulation of RF in CC430F5137 is not working
I'm trying to debug the program RF_Toggle_LED_Demo.c which is included in slaa465b.zip (SLAA465 - CC430 RF Examples) via the simulator in IAR for MSP430 ver.5.501.
...
1
vote
1answer
247 views
Is it possible to write to serial terminal program via JTAG interface?
I have a CC430F5137 wireless development kit from Texas Instruments that I program via a JTAG interface, MSP-FET430UIF. On the computer side, the JTAG interface is connected to a USB port. Is it ...
4
votes
2answers
198 views
Automating linker file change
I am working on a firmware project in which i have to do a crc16 check for flash integrity.
Controller: MSP430
IDE: IAR EW 5.40 (Linker Xlink)
The crc is calculated using IAR Xlink linker and kept ...
