Questions tagged [msp430]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
24 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
1k 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 ...
0
votes
0answers
11 views

Xbee Router in API mode not sending frames from UART input?

My current system is setup as follows: MCU ------ Xbee A(Router) ------ Xbee B(Coordinator) Xbee A is a router in API mode, Xbee B is a coordinator in API mode. MCU is MSP430, Xbee modules are ZB ...
0
votes
0answers
22 views

How to disable port2 interrupt when port 1 interrupt is active?

I am using MSP430G2553 with IAR. I would like to make an IR communication system which has a transmitter-receiver on both sides. When I try to send my signal, the receiver on the opposite can't ...
1
vote
1answer
51 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
112 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
0answers
63 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
0answers
26 views

Msp430 f5328 Eeprom data get erased when burn new firmware

Hi is there anyway I can do this? I need to have my serial number in eeprom. But the problem is my data has been erased when I burn new firmware. Is there anyway I can avoid this. Thanks
0
votes
1answer
42 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
86 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
40 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
70 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
35 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
104 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
116 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 ...
0
votes
0answers
26 views

ADC sensing Range of MSP430I2020 controller

my project is based on Weight scaling using load cell. currently, I'm working on inbuilt 24 bit ADC of msp430i2020 controller.internal ADC reference voltage is 1.2 volt. Capacity of load cell -300KG ...
1
vote
1answer
47 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
67 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 ...
12
votes
1answer
604 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
94 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
70 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
139 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 ...
0
votes
1answer
185 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
210 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
62 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
216 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 ...
3
votes
2answers
221 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
81 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
182 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
145 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
84 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
72 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
72 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
99 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
42 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 ...
2
votes
4answers
181 views

Is there a way to write a generic GPIO code for MSP430?

I'm currently working on an MSP430 board and I'm trying to create libraries for it so I can easily use them on my project. I'm starting with basic Digital I/O functions. Say for example I need to ...
0
votes
0answers
65 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
1answer
88 views

Difference between `gcc` and `gcc-msp430`

What is the difference between using gcc versus using gcc-msp430? When I run man gcc, there ...
0
votes
1answer
53 views

MSP430FR6989 Watch Dog Timer

I am trying to learning about the Watch Dog Timer peripheral of MSP430FR6989 (link to MSP430). It's Watch Dog Timer peripheral WDT_A have a 16 bit control register (WDTCTL), in order to perform a ...
-1
votes
1answer
118 views

What is a RTOS, is it embedded or do I need to install? (MSP430) [closed]

First of all, I have the basic knowledge in low-level programming of microprocessors but I don't have the in-depth details which I need. I have never worked with RTOS before in my previous class. Now ...
2
votes
1answer
130 views

Code Composer Studio 6.1.0 debugger is not acting as it should

I am learning to code on a microcontroller from Texas Instruments, MSP430FR6969 (link), using MSP-EXP430FR6969 launch pad (link). I am also using an IDE CCS 6.1.0 (link). I am doing a simple ...
0
votes
0answers
40 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'...
1
vote
0answers
177 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 ...
0
votes
1answer
183 views

Hardware Schematic For Connecting Vibration Sensor to MSP430

I have a MiniSense 100 Vibration Sensor with me, which I am trying to interface with my MSP430 Launchpad to track the vibrations of refrigerator compressor. However, I am not sure if connecting it ...
-2
votes
2answers
75 views

msp430-uart-receiving big data [closed]

I want to take data from sensor with UART. But I know the coming data from uart like; decimal = 126 0 10 131 0 0 27 0 1 2 0 - - 159 hexadecimal = 7E 00 0A 83 00 00 24 00 01 02 00 01 7A DA Firstly,...
0
votes
1answer
204 views

Problem when using MSP430G2553 without Launchpad

I am trying to build a capacitive touchless sensor with an MSP430G2553 to control a small DC motor. When the chip is on the Launchpad, everything goes well. The sensor works, it sends a signal to the ...
1
vote
1answer
104 views

Only one attachInterrupt works at a time

I am using the MSP430f5529 launchpad and coding in Energia. The goal is to make a program that can detect whether the onboard pushbutton is up or down (as part of an eventual Morse code decoder), ...
1
vote
2answers
122 views

Switch for turning off MSP430

A MSP430F1232 is connected to a PL2303, i.e. URXD0/UTXD0 are connected to the PL2303 TX and RX. VCC and VSS also come from the PL2303 (over USB). In addition, a switch with a pull-up resistor and a ...
0
votes
0answers
120 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
1answer
130 views

Does an interrupt signal with 2.8 V high level need a level shifter for a 3.3 V microcontroller?

So, I am currently working on interfacing a MSP430G2553 and an I2C proximity sensor VL6180X. In order to have consistency in my voltages and hardware design, i choose this I2C device from polulu (...