Questions tagged [msp430]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
38 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 ...
user avatar
0 votes
1 answer
76 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 ...
user avatar
  • 1
2 votes
1 answer
85 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 ...
user avatar
  • 21
0 votes
1 answer
56 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 ...
user avatar
  • 1
3 votes
2 answers
123 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 ...
user avatar
  • 31
0 votes
1 answer
145 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 ...
user avatar
  • 21
0 votes
1 answer
121 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 ...
user avatar
  • 21
2 votes
2 answers
178 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 ...
user avatar
0 votes
1 answer
89 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 ...
user avatar
0 votes
0 answers
93 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 ...
user avatar
0 votes
0 answers
64 views

RF430FRL152H NFC is not sending an intent to be read from android app

I am trying to code an app on Android Studio that reads data from the RF430FRL152H board, but first, it needs to see if there exists an NFC TAG. I have code set up from many different sources and so ...
user avatar
0 votes
1 answer
31 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 ...
user avatar
2 votes
0 answers
57 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 ...
user avatar
  • 11.5k
0 votes
0 answers
62 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 ...
user avatar
0 votes
2 answers
295 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 ...
user avatar
  • 13
1 vote
2 answers
39 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: <...
user avatar
2 votes
1 answer
84 views

Not able to use UART on MSP430F5529LP [closed]

I have my MSP on Com8. Here is my code: ...
user avatar
1 vote
1 answer
164 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 ...
user avatar
  • 13
2 votes
1 answer
66 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 ...
user avatar
  • 11.5k
0 votes
1 answer
108 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. ...
user avatar
0 votes
0 answers
56 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 ...
user avatar
1 vote
1 answer
79 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. ...
user avatar
  • 113
0 votes
2 answers
355 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 ...
user avatar
  • 11
1 vote
0 answers
212 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 ...
user avatar
0 votes
2 answers
41 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-...
user avatar
0 votes
0 answers
44 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. ...
user avatar
1 vote
0 answers
47 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 ...
user avatar
0 votes
2 answers
61 views

How to detect a capacitor installation

The circuit I'm designing uses external capacitor to measure its ESR. I use MSP430 as a controller, capacitance of the external capacitor can vary between 100n and 10uF. The problem is I should ...
user avatar
  • 103
1 vote
0 answers
115 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 ...
user avatar
1 vote
1 answer
96 views

voltage shifting from 3.3V to 1.65V with SN74LVC

I made a circuit to convert 3,3 V to 1,65 V JTAG signals with SN74LVC2G125 buffer. I am using this circuit to program and debug an RF430 chip with a MSP-FET430UIF. I did the same circuit as page 32 ...
user avatar
  • 21
0 votes
0 answers
30 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 (...
user avatar
1 vote
1 answer
296 views

Programming an LCD interface with a ST7066U

I am trying to program an interface between my 2x16 LCD and my MSP430FR6989. The LCD communicates parallelly with the MPU (E RS EW D7 -- D0), and it uses an ST7066U controller IC. from reading the ...
user avatar
  • 569
1 vote
1 answer
533 views

How to configure the I2C of the MSP430

I have an MSP430FR6989 development board (MSP-EXP430FR6989). I would like to program it to communicate with a MAX30102 Pulse Oximeter and Heart Rate IC, the interface is done through I2C protocol. I ...
user avatar
  • 569
0 votes
0 answers
90 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 ...
user avatar
0 votes
1 answer
364 views

MSP430 Timer Interrupt Not Triggering

I'll post my code below. The problem is that the MSP's ISR_TRAP function (a function that handles ISRs that are not otherwise handled) is triggering and trapping me in its endless loop. This happens ...
user avatar
1 vote
2 answers
115 views

Reading datasheet addresses for base and offsets

OK, so for myself and others out there I wanted to clarify I am correct on how I am reading datasheets such as the one in the image below. The thing is the data sheet of this MCU says it is 16-bit ...
user avatar
  • 23
2 votes
1 answer
252 views

Test UART send and receive without a physical device

I know how to transmit and receive using UART, but is there a way to test a simple send/receive app while only having openMSP430?
user avatar
  • 123
0 votes
0 answers
67 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 ...
user avatar
  • 133
1 vote
0 answers
130 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 ...
user avatar
1 vote
0 answers
77 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 ...
user avatar
  • 569
0 votes
1 answer
84 views

MSP430FR2433 SPI data corrupted

I'm currently working with MSP430FR2433 Micro. I want to interface this micro with the following modules: LCD screen via SPI (https://www.orientdisplay.com/store/amc0802br-b-y6wfdy-spi-8x2-character-...
user avatar
  • 133
1 vote
1 answer
180 views

MSP430 LCD Interfacing via I2C

I am new at this. I am trying to interfacing 1602A LCD display with MSP430G2553 via PCF8574. When I run the code, nothing happens: ...
user avatar
5 votes
2 answers
680 views

UART in my code transmits a character, yet on the oscilloscope I find it gave me another signal

I using MSP430FR6989 microcontroller (development board MSP-EXP430FR6989) to try and send a UART signal via it's TX pin The configuration of the MSP430: Clock System 32.768 Khz Baud Rate 9600 8 bits, ...
user avatar
  • 569
0 votes
1 answer
68 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 ...
user avatar
1 vote
1 answer
172 views

Different voltage differences for a UART signal (when tested from one microcontroller, vs when tested between two microcontrollers)

I have a question regarding UART signals. I am doing a project where I press a pushbutton (BTN0, BTN1, BTN2) it registers at a microcontroller (MSP430FR6989), transmits a signal to another ...
user avatar
  • 569
0 votes
1 answer
1k views

HX711 chip not working

I'm working on an electronic weight scale using MSP430 and I need your help: I've written the code using Energia and I've used the HX711 module for testing and everything works just fine. The final ...
user avatar
0 votes
4 answers
576 views

My oscilloscope is not measuring the frequency of my wave accurately

I bought an oscilloscope from Amazon it is Hantek DSO5102P (Digital, 2 Channel, 100 MHz, 1 GSa/s) I am trying to test it, I have an MSP430FR6989 development board (MSP-EXP430FR6989) and programmed it ...
user avatar
  • 569
0 votes
2 answers
94 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 ...
user avatar
0 votes
1 answer
490 views

How to use JTAG and pogo and USB? [closed]

I need to use pogo connectors/pads that will be routed to MSP430 microcontroller. These pogo pads will be routed in a way that allows for JTAG 4-wire programming to program the microcontroller. Is ...
user avatar
2 votes
2 answers
677 views

MSP430 multiple slaves in SPI communication

I want to make an MSP430G2553 communicate using SPI with a 7-segment display and with another microcontroller MSP430G2452. So the MSP430G2553 would be the master and both the 7-segment display and ...
user avatar
  • 123

1
2 3 4 5
9