Questions tagged [msp430]

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

Filter by
Sorted by
Tagged with
1
vote
0answers
41 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 ...
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
2answers
35 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-...
0
votes
0answers
39 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. ...
1
vote
0answers
38 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 ...
0
votes
2answers
59 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 ...
1
vote
0answers
49 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
30 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 ...
0
votes
0answers
27 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 (...
1
vote
1answer
57 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 ...
1
vote
1answer
86 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 ...
0
votes
0answers
77 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
1answer
87 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 ...
1
vote
2answers
53 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 ...
2
votes
1answer
177 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?
0
votes
0answers
39 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 ...
1
vote
0answers
47 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
34 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 ...
0
votes
1answer
47 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-...
1
vote
1answer
85 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: ...
5
votes
2answers
532 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, ...
0
votes
1answer
51 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 ...
1
vote
1answer
82 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 ...
0
votes
1answer
359 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 ...
0
votes
4answers
281 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 ...
0
votes
2answers
51 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
1answer
157 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 ...
2
votes
2answers
376 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 ...
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 ...
1
vote
1answer
560 views

Break at address “0xfffa” with no debug information available, or outside of program code (TI CCS MSP430)

I am trying to learn about UART communication with my MSP430FR6989 microcontroller from TI (link), and that is a link for the User Guide (link) The idea of my mini project is to connect the MSP430 <...
0
votes
1answer
114 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 ...
1
vote
1answer
58 views

How to program an MSP430 chip on a launchboard with no IC holder

Our university provides MSP-EXP430FR4133 LaunchPad Development Kits like the one shown in this picture : Although this doesn't have a slot to program an IC like these ones do: I was wondering if it'...
0
votes
1answer
155 views

Can any MSP430 be programmed with a 4-wire JTAG?

I am a senior in college and am designing a board based around the MSP430G2744IDA38. I have used an MSP430 launchpad but that was an easy USB connection to program. I notice that a JTAG can be used to ...
0
votes
0answers
42 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
195 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 ...
1
vote
2answers
127 views

MSP-GANG programmer standalone script?

I have a project that uses 2 separate MSP430 microcontrollers. Both of them need to have different firmware uploaded to them. My place of work use the 8-way MSP-GANG programmers to program instruments ...
0
votes
2answers
235 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 ...
1
vote
1answer
70 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 ...
3
votes
4answers
2k views

Programming bare microcontroller chips

I'm an electronics hobbyist and I have done a lot of electronics projects using launchpads like MSP430G2553, Arduino and Tiva C Series, so I never faced any problems to upload code to these ...
1
vote
1answer
131 views

I2C communication between MPU6050 and MSP430FR2433

I'm trying to communicate in I2C between a MSP430FR2433 and an MPU6050. I can send the start bit then the slave address (0x68) followed by the write bit (0) but the slave send me a NACK. I'm using the ...
4
votes
0answers
159 views

Is it possible to power a MCU with a button press / touch? [closed]

I hope to use a piezoelectric button to harvest and produce a sufficient energy burst to power ON and bootup a MSP430 for a few ms enough to update a simple data structure (e.g. two integers stored in ...
1
vote
1answer
562 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 ...
0
votes
1answer
94 views

MSP microcontroller Watchdog timer

I am new to programming microcontroller. what does the following like of code do: WDT_A->CTL = WDT_A_CTL_PW | WDT_A_CTL_HOLD i have looked at the technical ...
2
votes
1answer
235 views

Understanding MSP430 ADC setup

I'll get the first statement out of the way: I am a complete beginner when it comes to programming. I have a decent grasp of an Arduino, and have also been using the STM32 (via the Nucleo) and have ...
1
vote
1answer
65 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 ...
0
votes
2answers
251 views

Acceleration calculation from ADC raw data

We have interfaced PCB393B12 accelerometer with MSP430F5438A board, by using 8-bit ADC. We receive raw data in 0-255 range with 0v to +2.5v as reference. How we can obtain corresponding ...
-1
votes
1answer
55 views

Energia/MSP-EXP432 Issue: Analog In Pin removing voltage from Voltage Divider

In the circuit below, I want to measure the voltage going to the ADC (output from the voltage divider consisting of a fixed resistor and photoresistor) using an MSP-EXP432; however, the MSP-EXP432 "...
1
vote
2answers
182 views

MSP430FR5994 SVSH Interrupt from LPMx.5

Background: I plan to use lpmx.5 under cap power but need a way to save the rtc registers to FRAM when the super-cap runs down. Plan: Use SYSRSTIV SVSH interrupt to wake up and save the counter, or ...
3
votes
1answer
155 views

Lithium thionyl chloride for GSM application

I'm trying o use a LiSoCl2 battery in a low power GSM application. When the system is in standby only the microcontroller(MSP430) is powered(3.3v) and the GSM(5v) and sensor(5v) is turned off. The ...
1
vote
1answer
311 views

msp430FR6989 board code problem

Working on a school project and I am stuck on my last bit of code. Let’s say S1 is held down and the red LED is on. If, in the meanwhile, S2 is pushed, the green LED remains off and the red LED ...

1
2 3 4 5
9