Questions tagged [msp430]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
20 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
43 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
463 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
45 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
71 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
97 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
204 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
46 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
75 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
184 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
33 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
195 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
75 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
44 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
63 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
27 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
115 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
93 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
142 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
59 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
106 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
144 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
342 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
77 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
168 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
61 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
188 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
50 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
152 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
148 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
133 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 ...
2
votes
1answer
143 views

Why does writing to a read-only register increase current consumption?

Looking at the datasheet of the MSP430, it says writing to read-only registers results in increased current consumption. Why is that? What is happening when trying to write to a read-only section of ...
11
votes
1answer
803 views

Getting MSP430 USB Driver Signed By Microsoft

I am developing a product which utilizes an MSP430 microcontroller with a built-in USB module. I obtained a PID from Texas Instruments and used their tools to generate the descriptors, as well as a ....
2
votes
2answers
154 views

MSP430F5529: Unable to write to FLASH

Background: I am trying to write an 8-bit value to Info C block of FLASH on the MSP430F5529. Info C starts at address 0x1880, so I use a #define to keep this value:...
0
votes
2answers
158 views

Blow MSP430 security fuse with FET430 or MSP-FETFlash programmer

Is it possible to use a FET430, MSP-FETFlash or similar programmer to program and then blow the security fuse of the MSP430 devices? We have 500 which already been soldered on the boards and were ...
1
vote
2answers
425 views

MSP430 Baud Rate Generation: Datasheet Discrepancy

My project is based around the MSP430F5529. From the MSP430x5xx family user guide: NOTE: Baud-rate settings quick set up To calculate the correct the correct settings for the baud-rate ...
1
vote
1answer
394 views

Ver2.0 SDHC Card long response time after ACMD41 during initialization

I would like to implement a very low power SD card handling with MSP430 processors. I would like to log measurement data onto SD card without a file system. I want to turn on and off the SD card power ...
0
votes
1answer
569 views

I2C driver for MSP432

I am trying to develop a I2C driver for MSP432. As of now, I am interfacing a accelerometer through USCI B2_ module on MSP432. The problem that I am facing is I am getting a NACK in the IFG register ...
1
vote
1answer
105 views

MSP430 USB Module and Baud Rate Detection

I am working on a project which uses the USB module integrated into the MSP430F5529, specifically using the MSP-EXP430F5529LP development board from TI. I am using the USB API provided in MSPWare. ...
2
votes
1answer
473 views

MSP430F5529 UART: UCTXIFG Doesn't Set Again After Initiating Transmit

I am attempting to program a sort of bridge between UCA0 and UCA1 in UART mode on the MSP430F5529 using the MSP-EXP430F5529LP development board. I am using an interrupt for receiving data but for ...
4
votes
2answers
424 views

Set up an ADC ISR, but every time an ADC Interrupt is called it goes to isr_trap.asm instead

I am trying to do a program with my MSP430FR6989 from Texas Instruments. I send an Analogue signal to my ADC module in the uC, which converts it to a digital signal. If the value is greater than 0x800 ...
1
vote
0answers
130 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
2answers
281 views

How to design Watchdog timer that reset the system if Watchdog counter is not cleared at least every 1/4 seconds

This is the code I have for a green LED blinking every 2s with watchdog mode for MSP432. ...
3
votes
2answers
273 views

I am trying to trigger an ADC conversion through TA0 CCTL1 Output in my MSP430, but nothing is happening

I am doing a simple project with MSP430FR6989, where I am converting an analog signal to a digital one, when it finishes conversion it will jump to an ISR and increment an integer. We can configure ...
1
vote
1answer
201 views

Writing to FLASH on MSP430F5529

I am having some trouble writing to FLASH on the MSP430F5529. I have gone through the examples provided by TI and read through the user guides and part datasheet, but have been unable to find the ...
1
vote
1answer
129 views

Why does the UART not report an error for a data byte with wrong parity?

I am trying to learn about UART Serial communication of the MSP430FR6989 from Texas Instruments. Datasheet User's Guide I doing a program where my UART will send a character through the TX pin of ...
1
vote
0answers
85 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
182 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 ...
0
votes
1answer
64 views

Using a PCA9306 voltage-leveler with an MCU and a 5.5v arduino sensor

This is what I'm trying to do: I have an MSP430G2553 chip and I'd like to write an ADC program to translate some input from an arduino sensor (I have a few analog sensors that use 5.5v - some work ...

1
2 3 4 5
8