Questions tagged [msp430]

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

48 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
1answer
288 views

MSP432 Programming and boundary scan issues (4-Wire, 2-Wire and SWD)

I have reached a predicament. I have a production board with an MSP432 that will not program. To provide some context, I am using the XDS110 that is supplied with the MSP432 launchpad and am simply ...
3
votes
0answers
512 views

clocking MSP430 UART from DCO

I'm designing a simple remote-controlled sensor. It's going to be connected with others and a master device using RS485. All it's going to be doing is transmitting the status of a few digital lines ...
2
votes
0answers
3k 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 ...
1
vote
0answers
48 views

RTC Calibration - ppm Offset to Adjust Clock Rate Faster/Slower, by How Much?

I have a TI MSP432P401R board. I have looked through the various other questions related to RTC calibration and I have not found an answer to this seemingly simple question. The MSP432 SDK driverlib ...
1
vote
0answers
39 views

MicroUSB to MCU interface with logical level conversion

I'm trying to interface a micro USB port to a microcontroller but I'm not sure about something. The micro USB port will be connected to a computer with a simple USB cable and that will give me a 5V ...
1
vote
0answers
50 views

MSP430 UART Reading

I'm trying to transmit and receive data between Arduino Uno and CC430. There is no problem with sending data from CC430 to Arduino Uno. I can receive the data on Arduino side. Also I can transmit the ...
1
vote
0answers
49 views

Why does FreeRTOS API function xEventGroupSetBitsFromISR cause error when I use it in an ISR?

I am using FreeRTOS on MSP430 microcontroller and I have an error that occurs when I use API function xEventGroupSetBitsFromISR() inside of ADC interrupt routine. I have searched online and I saw that ...
1
vote
0answers
38 views

The LCD of my MSP430 development board doesn't work when voltage biases are generated externally

I am programming the LCD of my MSP430FR6989 development board (MSP-EXP430FR6989), and I have a question regarding generating VLCD (V1) and LCD biasing. The development board got a 14-segment, 6 digit ...
1
vote
1answer
73 views

MSP432+BLE+ Debugger interfacing

I would like to Interface a BLE to a MSP432 microcontroller in serial. The BLE has a inbulit Atmel controller. I have a firmware for BLE in keil. Intially I have flashed the firmware to BLE directly ...
1
vote
1answer
629 views

How to disable timer on MSP430?

I am new to the TI MSP430G2553. I would like to send a PWM signal like in this picture: (Image source: Adafruit - Understanding Infrared Signals) However I can't do that, because I don't know how to ...
1
vote
1answer
66 views

MSP430F2272: Timer B Capture giving shorter measures than the real ones

I'm using: CCS V8 MSP430F2272 DSO-x 2024A Agilent oscilloscope Trying to measure elapsed time between pulses with Timer B, Capture Mode. My square wave source is at 50 kHz and my timer_b clock at 1 ...
1
vote
0answers
168 views

Difficulty with servo control using TI MSP430

I'm using an MSP430FR4133 chip to test out a servo (I haven't used or interfaced with servos before). I believe I've attached the servo wires to the correct pins, but when I run the program to turn it ...
1
vote
0answers
88 views

Converting an SPI configuration for msp430 to msp432 IAR Workbench

I have a spi configuration code for a msp430 and DAC161S997 but i am trying to use the DAC with my ...
1
vote
0answers
210 views

Controlling DAC161S997 via SPI

I am using msp-exp432p4111 devalopment board and trying to use DAC161S997 with it.The main goal is creating a ...
1
vote
0answers
292 views

MSP430G2553 Reading from ADC10 Temperature with Button ISR

This is my lab assignment. When I press the button, the red LED toggles on and off. But, I can't seem to read anything from it. Also, there's an empty loop in the code, but I don't know what to insert ...
1
vote
0answers
195 views

Davies MSP430 Software Debounce Question

currently working on software button debounce. Using Davies MSP430 book. I am trying to write similar code in C (using CCS) for a MSP430FR6989. The program uses bit shifting, and I understand idea of ...
1
vote
0answers
388 views

Debouncing circuit to count the pulses of a water meter with pulse emitter

I want to design a debouncing circuit to count the pulses of a water meter with pulse emitter (it behaves like a push-button). The microcontroller is the msp430g2553. I want to eliminate the rebounds ...
1
vote
1answer
217 views

MSP430F169 BSL NAK (0xA0)

I have an MSP430F169 that I'm trying to program using the BSL protocol. I don't have a JTAG programmer. Unfortunately, the MSP430F169 responds with NAK (A0) even to the unprotected commands (except ...
1
vote
0answers
221 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-...
1
vote
0answers
752 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
0answers
94 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
0answers
284 views

reading only 12-bits from SPI on MSP430F2122, is it possible?

I'm trying to read data from a RGB sensor (S9706) and I thought about using the SPI for the readings. The problem is that the sensor wants a little pause of 3-4us after each 12-bits (the colors ...
1
vote
0answers
3k views

Controlling LCD with MSP430 via I2C backpack PCF8574

I'm at my wits end with this at the moment. I need to interface my MSP430G2553 with the PCF8574 I2C expander in order to drive an LCD display. So far I've had not much luck at all. There is very ...
1
vote
0answers
520 views

MSP430 Low Voltage ADC Input Protection

I'm using the MSP430 SD16_A 16 bit Sigma-Delta ADC (page 843) for bipolar differential ADC measurements in a +/- 0.6V range. While the inputs can handle +3.3V, on the negative side the absolute ...
1
vote
0answers
622 views

External Sensor interfaced with MSP430

I have interfaced a humidity sensor with MSP430F2274 on pin P2_2 (Kit CC2530 ZNP) and using the following code to read the output voltage from the sensor. But it doesn't seem to be working. I am ...
1
vote
0answers
77 views

How do I locate proper radio initialization procedure in order to send IEEE 802.15.4 frame?

I am using an AT86RF233 radio connected to an MSP 430 micro-controller. I need to write a function similar to line 92 on this page. This function (trx_frame_write) is supposed write a frame for ...
1
vote
0answers
791 views

Problem Refreshing 4-digit 7-segment display with UART on the MSP430G2553

I'm working on a program that: samples the ADC every half a second with timer interrupt sends a signal via UART on button press (port 2 interrupt) displays the ADC value to a 4-digit multiplexed 7-...
1
vote
1answer
349 views

Problems initializing SD card with MSP430

I've been working on some code to talk to an SD card with the MSP430. I can't get the card to enter into idle mode, and I'm actually pretty stumped as to why. I've looked at the microcontroller output ...
0
votes
0answers
25 views

MSP430G2553 with MAX30100 library compiling errors

I am trying to work on MSP430G2553 with MAX30100 pulse oximeter sensor but the energia max30100-master library is not working. These errors are I am trying to fix. How can I get these components to ...
0
votes
0answers
32 views

Simulation not working for my custom module on top of openMSP430

Creating a new project in Vivado and importing the core openMSP430 (https://github.com/olgirard/openmsp430) files, I could easily test everything out by setting tb_openmsp430.v as the top file in the ...
0
votes
0answers
40 views

CC430 - NodeMCU I2C Communication Problem

I'm trying to communicate CC430 microcontroller based board with ESP8266(NodeMCU). I can communicate in one-direction e.g. NodeMCU to CC430. However I can't send any character CC430 to NodeMCU board. ...
0
votes
0answers
28 views

CC430F6137 UART problem when DC powered

I have a problem with my system and I can't handle the problem. The problem is that when I power the system with DC volt (3.3V) without debugging then I can't see anything on the receiver side (...
0
votes
0answers
78 views

Chosing a small microcontroller

My IO/peripheral requirements are extremely minimal (I2C, a timer output, 2-3 GPIO). Problem is, I'm not sure how much "compute" I need, especially since there's not a lot of straightforward ...
0
votes
0answers
41 views

MSP-FET UART loopback

I'm trying to use the uart on an MSP-FET to connect to a custom-made board. But I stumble on the first hurdle - getting some traffic through the uart. I'm bridging pins 12 and 14 (TX and RX) and all ...
0
votes
1answer
52 views

Why my data in MSP430 flash was lost?

I am using MSP430F5340 MCU, IDE is IAR workbench,today after adding some lines of code, I found my data that previously stored in flash was crashed. So I supposed the code memory size in flash has ...
0
votes
2answers
59 views

How to program a MSP430FR5959 using pogo pads?

I am laying out/designing a board that will be using a MSP430FR5959 microcontroller and I need to be able to program it as requested with pogo pad/connectors. I will probably be using 2-wire or 4-wire ...
0
votes
0answers
37 views

How to implement polar codes on MSP430 in CCS?

I am working on error correction codes. I want to know, is it possible to implement polar codes on MSP430FR5994? Actually, I wanted to confirm its feasibility for small devices, namely sensor tags ...
0
votes
1answer
126 views

How to measure elapsed time using MSP430

What I want to do is measure the time it takes for a blade to spin round driven by a motor, and I am trying to achieve this using an LDR which detects the change in light each time the blade rotates ...
0
votes
0answers
49 views

MSP430 JTAG, read flash content / Chip ID

I am very new to MSP430 programming, I only have experience with Atmels AtMega and the Atmel Studio. In Atmel Studio I have the possibility to read the Chip ID, and Flash. How can I accomplish this ...
0
votes
0answers
228 views

Trying to write to FRAM with MSP430

I am pretty new to embedded work, so I am just trying to pick things up on a small scale. So, for the reason, I have an accelerometer connected to my MSP430FR6989 Launchpad. At the minute, all I want ...
0
votes
2answers
250 views

MSP430 MPU9250 MPU6050 I2C: After sending the address NACK

I have a problem with read from my MPU6050/MPU9250. Both are connected with AD0 to ground so both should have the address 0x68. With both sensors the same behaviour ...
0
votes
0answers
98 views

Trying to figure out how to power this heart rate sensor circuit

I'm using an MSP430 as my mcu, and a nokia 5110 lcd display. Both these devices work off of 3.3V. The LM324 opamps work with a minimum of 3V, so using 2xAA batteries will be cutting it close. I could ...
0
votes
0answers
49 views

Interfacing NT7605-based LCD with MSP430

I've spent the last week or two trying to get my MSP430 to communicate with an NT7605-based LCD. I found this post with a very similar problem: Debugging initialization of LCD with NT7605 driver I'...
0
votes
0answers
139 views

Firmware update using MSPDEBUG goes directly into the debugging console

I have encountered a strange problem using mspdebug with my MSP430FR5969 launchpad. I have recently started with msp430 programming. I was interested in running the Curve25519 project on MSP430. I ...
0
votes
0answers
191 views

MSP430 SPI not working at higher speeds (4+ MHz)

I'm trying to output a byte's waveform using SPI in master mode. This is working as expected when using the REFOCLK at 32 KHz. However, when using XT2 at 4 MHz or the DCOCLK (at 20 MHz) the waveforms ...
0
votes
0answers
253 views

msp430 with MMA8652 not working

I am trying to read accelerometer MMA8652 data with MSP430G2553. I am using TI sample program that was written for temperature sensor. I have change my slave address to default 0x1D for accelerometer, ...
0
votes
0answers
1k views

Using MSP430 with Energia

I've had a MSP430 for a very long time, but only recently got interested in it. The chip in my MSP430 is a MSP430G2231, which according to http://energia.nu/Guide_MSP430LaunchPad.html I should be ...
-1
votes
1answer
758 views

“Fatal Error : Could not find device ” error while trying to download program to the MCU

[![enter image description here][2]][2]I'm using MSP430F5131 and trying to program it by IAR Embedded Workbench while using the MSP-FET debugger. A short background of the PCB: After i compiled the ...