Questions tagged [msp430]

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

Filter by
Sorted by
Tagged with
2
votes
2answers
42 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
28 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 ...
0
votes
1answer
50 views

Break at address “0xfffa” with no debug information available, or outside of program code

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
55 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
37 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
48 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
23 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
68 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
58 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
71 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
45 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 ...
0
votes
0answers
27 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
24 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
76 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
132 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
189 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
34 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
65 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
132 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
54 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
145 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
44 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
133 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
136 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
79 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
110 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
730 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
129 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
126 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
284 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
284 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
453 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
87 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
361 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
338 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
112 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
246 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
230 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
166 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
102 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
82 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
157 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
52 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
257 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
76 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
106 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
63 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
187 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
161 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 ...

1 2 3 4 5 8