Questions tagged [msp430]

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

Filter by
Sorted by
Tagged with
0 votes
3 answers
74 views

MSP430 delay using timer with polling condition

Need help with this code, it is not creating any delay. I tried simulating this code in Proteus. ...
SlickDaDDy's user avatar
1 vote
0 answers
57 views

MSP430 Program Not Running Outside Debugger

I'm using a MSP430g2231 with EXP430G2 launchpad and CCS. My code runs fine in the debugger, but when I try to burn it to the MSP and run on external power it doesn't run. It appears that it is not ...
BrainUnderflow's user avatar
1 vote
0 answers
28 views

Help in system initialization and clock configuration of MSP430F427A MCU interfaced with custom LCD

When I debug the code, the LCD refreshes rapidly. I am not confident with the correct system clock configuration to use. Moreover, after debugging, in release mode, nothing displays on my LCD nor the ...
Bravo's user avatar
  • 11
1 vote
0 answers
46 views

MSP430 ADC sampling does not work right

I am trying to get the 12bit ADC of the MSP430F5529 working. For this reason I want to read values from its internal temperature sensor every 2 seconds. The ADC setup is in the main.c file and the ...
crispus's user avatar
  • 35
1 vote
0 answers
23 views

Bootloading : PC to USB to [MSP430 with USB] to I2C to [MSP430 without USB]

If I have a pair of MSP430s on a system, one with USB functionality and one without, is there an easy means to program the MSP430 without USB via the ...
kando's user avatar
  • 291
0 votes
0 answers
53 views

The output of my instrumentation amplifier (INA121) is not seen in the microcontroller (MSP430)

I am using an INA121 instrumentation amplifier, and its output is 156 mV, but it is not seen in the microcontroller, it is just giving 0 like: I increased its output voltage (gain) by decreasing the ...
Merve Özdaş's user avatar
0 votes
0 answers
62 views

EEG signals does not give the negative point in microcontroller

I made my own EEG circuit, and have some problems. In the beginning, I did not come across this situation but, suddenly, I started to get these outputs, and I could not find the reason. When I upload ...
Merve Özdaş's user avatar
2 votes
1 answer
86 views

MSP430 I2C communication no ACK

I'm trying to get I2C working with the MSP4302231 and had and still have some problems. The main problem is that I don't get an ACK from the slave to which I send its address on the I2C bus. Noticed ...
ulix's user avatar
  • 183
2 votes
1 answer
120 views

MSP430 I2C no ACK send over Bus - updated but still not working

I'm trying to get an I2C communication with an MSP430 (MSP430G2231) working. This is the first time I'm using a MSP430 for I2C and not sure if I'm doing everything correctly. I have a Slave connected ...
ulix's user avatar
  • 183
1 vote
1 answer
33 views

MSP430G2553: ISR not triggering when I2CTX-Flag is set

So I need to get an I2C up and running. To do so the µC relies on ISR's to push data byte by byte onto the data-line. So far so good I programmed my functions and ISR's to transmit and receive data. I ...
Steve's user avatar
  • 21
2 votes
0 answers
46 views

Ultrasonic Anemometer -- editing dev board to create pcb?

I want to design a PCB that uses TI's MSP430FR6043 microcontroller. The purpose is to make an ultrasonic anemometer. The basic idea is that the MSP430 sends out a pulse to an ultrasonic transducer, ...
ewineteer's user avatar
0 votes
2 answers
70 views

How to program MSP430FR6989 single chip

So i have done microcontroller programming of the MSP430FR6989 with its own development board using TI's CCS. For this project, however, I need to program the individual chip to place into a custom ...
narusik's user avatar
  • 13
0 votes
1 answer
45 views

MSP430 RTC_B Back up Battery Supply

I plan on using MSP430F5636IPZ from Texas Instruments as my microcontroller in a project which I am currently working on. The MCU comes with a RTC_B (Real Time Clock) with Battery Backup capability. ...
solitude_surfer's user avatar
1 vote
0 answers
94 views

Minimum MCU clock frequency to process an analog signal with a max. frequency component of 50 kHz

An MCU requiring 4 clock cycles to process a sample has to sample an analog signal having a maximum frequency component of 50 kHz. What should be the minimum clock frequency of the MCU? This image was ...
Yuva Adhithyan's user avatar
0 votes
1 answer
79 views

Using a ULN2003A to drive a solid-state relay

I plan to use a MSP430 microcontroller to drive three different DC-DC solid-state relays. The thing is that the MSP430 provides a digital output of only 3 VDC @ 15 mA. (Vol: low-level output voltage). ...
solitude_surfer's user avatar
0 votes
1 answer
24 views

Why am I seeing erratic behavior by a variable stored in "information memory" on MSP430?

Sometimes a variable in information memory updates as expected and sometimes not. For example, I would expect the following program to print... 0 0 1 ...but, in ...
bigjosh's user avatar
  • 9,918
1 vote
1 answer
108 views

How to set up MCP430 Pins for SBW?

Hello I'm a senior in college and I'm trying to develop a development board for the MSP430G2533IN20 Microcontroller, this is my first time working with TI MCU's, but I've worked with STM32 before. I'm ...
Mark Volosov's user avatar
1 vote
1 answer
79 views

MSP 430G2553 Keypad Error

I am trying to use 4x3 Keypad with MSP430G2553. I used code from electronicwings site ...
armancj2's user avatar
4 votes
0 answers
87 views

Any way to have MSP430 wake from sleep and immediately start executing the next instruction after the sleep, avoiding calling into the ISR?

I am executing a simple state machine that steps based on a pin change and sleeps between steps. A significant amount of time is spent in the overhead overhead of calling the ISR on each pin change, ...
bigjosh's user avatar
  • 9,918
0 votes
2 answers
65 views

I2C bus logic voltage confusion (same device different VDD & VIO recommendations)

I have a master (MSP430 with 3.3 V) and only one slave (TMF8805 at 3.3 V). My confusion comes from the sensor's datasheet where the power supply (absolute max ratings) allow for 2.7 V to 3.3 V. This ...
Weegeemaan32's user avatar
0 votes
0 answers
31 views

MSP430FR6989 Port Manipulation

I'm using MSP430FR6989 with energia IDE for easy programming. Is there a way to use Port Manipulation in energia? It's used for a bullet speed meter where speed is critical and the ADC conversion time ...
Toothbrushing Intensifies's user avatar
0 votes
0 answers
245 views

Programming ESP32 with ISP or UART

I am trying to program an ESP32-CAM board. I already have USBASP board with SPI as well as a MSP430 board. I read somewhere FTDI programmers are basically USB to serial. So, is there a way I can use ...
Shivendra Mishra's user avatar
2 votes
1 answer
79 views

Triggering ADC conversions with a timer on the MSP430FR5969

I am trying to repeatedly sample one channel from the ADC on my MSP430FR5969 using timer TA0. Unfortunately, the timer doesn't appear to be causing conversions. I expect my issue lies in my ...
Rohan Menon's user avatar
1 vote
1 answer
90 views

Is there a standard interface connector or layout for MSP430's "Spy-Bi-Wire" (SBW) interface?

Is there some standard order and/or footprint that people use for these 4 pins? Something akin to the standard 2x3 6-pin ISP layout for AVR chips?
bigjosh's user avatar
  • 9,918
0 votes
3 answers
129 views

Can a MSP430 be programmed with only VDD/RST/TST/GND connectors?

I've inherited a bit of a project and I need help. I have a PCB with only VDD/RST/TST/GND connectors and a MSP430-G2402 controller on the other side. I need to reprogram the microcontroller. I ideally ...
DavidMc1's user avatar
0 votes
1 answer
91 views

MSP430 ADC, using a different memory slot other than MEM0

I'm working with the MSP430Ware Sample Code for a basic ADC on the MSP-EXP430FR5994 development board. On the code, it uses MEM0 and the supporting infrastructure such as flag 0 to convert. The one ...
HFOrangefish's user avatar
0 votes
1 answer
138 views

How do I check compatibility of MCUs? I want to connect an ESP32 and an MSP430 together

I want to connect an MSP430FR6989 and ESP32 together in order to give the MSP430 WiFi functionality for a project I am working on. I am still new to working with MCUs so I was wondering if it is ...
BrettC's user avatar
  • 1
2 votes
1 answer
163 views

nRF24L01+ Doesn't Receive Packets

I am trying to send data from one MSP430 to another MSP430 using Nordic Semiconductor nRF24L01+ radios, but I am unable to receive transmitted packets. I am able to read from and write to the radio ...
dman's user avatar
  • 31
0 votes
1 answer
140 views

How to flash MSP430G2211 MCU?

After experimenting a light sensing tool on TI MSP430G2ET with MSP430G2553, I designed a real scheamatic and PCB with MSP430G2211. I used MSP430G2211 because it has less pinout and smaller than ...
Penny's user avatar
  • 73
3 votes
2 answers
237 views

Can I use a timer delay inside a i/o interrupt handler?

I'm using 12MHz HFXTCLK with full strength on my launchpad.I did not use any presacalar value for SMCLK (I used prescalar only for the timer). I'm using full speed 12MHz clock to my system. I want to ...
Shiv's user avatar
  • 31
0 votes
1 answer
374 views

MSP430 UART Trouble

I'm trying to learn how to use UART on a MSP430G2553 and I wrote this simple program. The program should set up a timer interrupt to happen once a second. The interrupt service routine should toggle a ...
dman's user avatar
  • 31
0 votes
1 answer
375 views

MSP430 Timer Interrupt Not Happening

I recently starting learning how to program a MSP430 and thought I'd start by writing a program to turn a LED on and off every second. However, when I run my code the LED goes on an stays on. When I ...
dman's user avatar
  • 31
2 votes
2 answers
233 views

Why is my I2C function inverting bytes?

I'm working with a MSP430G2553 and a BMP180 sensor. I have the following function in my program ...
EmTor's user avatar
  • 63
0 votes
1 answer
106 views

Is the dipping in VCC caused by inrush current of charging 1 uF and 0.1 uF capacitors?

I'm powering MSP430FR5994 microcontroller from a power supply using a 2.2 V regulator. This regulator can source up to 200 mA. When MSP430 turns on, it starts to charge a 1 uF and 0.1 uF by driving ...
Aalsubhi's user avatar
0 votes
0 answers
223 views

Interfacing MSP430 FRAUNCHPAD with MAX30102

I'm trying to interface the MAXIM MAX30102 with the MSP430FR5739 using I2C protocol. I'm using pull-up resistors (4.7 KOhm) on SDA and SCL lines, using a breakout board. However, the code stucks in ...
slow_breath's user avatar
0 votes
1 answer
54 views

How to use TA1 of P1.6 without also using it on P1.2 on MSP430F1101

I have been struggling for a lot of time now, training to use the pwm function on pin 1.6 of the microcontroller. For P1SEL=BIT2, it is correctly using TA1 on P1.2, but for P1SEL=BIT6 it is not using ...
Paul Schuldesz's user avatar
2 votes
0 answers
129 views

Interrupts not working on MSP430 when using different PWM pin

I have a very strange issue I have been stuck on for a few hours now and no matter how often I read and re-read the datasheet and user guide, I still cannot work it out. I am using an MSP430FR6927 and ...
MCG's user avatar
  • 11.8k
0 votes
0 answers
207 views

SPI communication using MSP-EXP430FF5529LP

I am using SPI communication for the first time using Energia IDE (similar to Arduino IDE) to a gas sensor. However I get FF's as output. I have tried connecting MISO to MOSI line to check what is ...
PAllavi's user avatar
0 votes
2 answers
643 views

How to exit from an interrupt's loop for MSP430

I'm new to MSP430 and microcontrollers. Right now I'm learning interrupt routines and trying to write a program that changes the LED's state (OFF-ON-BLINK) by every press on P1.1 button. I have used ...
Efe's user avatar
  • 35
1 vote
2 answers
86 views

MSP432 Read BF & Address Counter from HD77480 LCD

Functional Background I have written a small menu test project on MSP432401R using a HD77480 16x2 LCD in 4-bit mode (actual model is the HiLetgo HD77480 16x2 1602A). Port/Pin setup is as follows: <...
David C. Rankin's user avatar
2 votes
1 answer
186 views

Not able to use UART on MSP430F5529LP [closed]

I have my MSP on Com8. Here is my code: ...
RasenRhino's user avatar
1 vote
1 answer
523 views

MSP430 Prevent Bouncing

I'm currently working on a homework that does: the first press to the button at P1.1 opens the LED at P1.0, the second press to the same button blinks the LED and the third press closes the LED. I ...
Efe's user avatar
  • 35
2 votes
1 answer
79 views

MSP430 Datasheet missing pins

I have been looking at potential microcontrollers for an upcoming project and I have found that the MSP430FR697x microcontrollers fulfill my requirements. At least, I think they do. I require at least ...
MCG's user avatar
  • 11.8k
0 votes
1 answer
234 views

Are operations on a MSP430's FRAM Atomic

In a MSP430 with internal FRAM, I am storing a long variable in FRAM with the following code. ...
Eric Johnson's user avatar
0 votes
0 answers
89 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 ...
ucaktas's user avatar
1 vote
1 answer
138 views

Building custom hardware for programming boards with microcontrollers

I have a PCBA that includes a MSP430 microcontroller and another module. The connection is shown in the photo below where the former (MSP430) is at the bottom and the top is for the other module. ...
sdbol's user avatar
  • 113
1 vote
3 answers
811 views

MSP430: How to change variables in in interrupt service routine when waking up from LPM?

I am using an MSP430FR2433 with the development board from TI and want to use its low power mode 3.5 so that I can wake it up from a GPIO pin or the RTC. I am using one of the LPM3.5 example codes in ...
vague1's user avatar
  • 21
0 votes
2 answers
53 views

Probing an externally powered circuit using MSP432 connected to the PC

I have an circuit powered by an external SMPS and I'd like to debug it using a TI MSP432 MCU. The MCU is connected to the PC and I'll use TExaS Display software (it basically works as a cheap low-...
strange_bakery's user avatar
0 votes
0 answers
57 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. ...
Fırtına Hüseyin GÖKTAŞ's user avatar
1 vote
0 answers
110 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 ...
George Bogdan Ion's user avatar

1
2 3 4 5
10