Questions tagged [msp430]

The msp430 is a family of 16-bit microcontrollers from Texas instruments.

The MSP430 family is designed for low cost, low power consumption embedded applications. The architecture dates from the 1990s and is reminiscent of the DEC PDP-11.

The Wikipedia article contains an extensive description of the architecture and variants, and the home page has an extensive set of technical documents, support tools and products. There is also the developer community.

640 questions
2
votes
1 answer

MSP 430G2553 Sampling in Compare Mode with Timer_A

Friends , I have to sample the input , every 14 microsecond in a 61 micro second slot with the timer input (Project Requirement). I have to do it 8 times to make a byte. More like UART , but I am using it for One Wire Bus communication for my…
Gaurav K
  • 2,864
  • 9
  • 39
  • 68
2
votes
1 answer

Can I save MSP430 CRC registers during FreeRTOS context switch?

I am using MSP430F5418 with FreeRTOS 7 in medium data model. I want to save the MSP CRC registers on FreeRTOS context switch. I edited the portext.s43 like this. In save context macro, after pushing 15 registers to stack, I push the CRC…
Harikrishnan
  • 3,664
  • 7
  • 48
  • 77
2
votes
1 answer

BTstack on MSP430F5438A + CC2564 bluetooth module

First, is there any good documentation for the btstack API's. I am trying to learn how to fully use btstack , send and receive data, look for devices within range and initiate connection.I am implementing this for MSP-430F5438A + CC2564 Bluetooth…
2
votes
2 answers

how to find official information on the chip reserved addresses and magic bits?

How can i find from the chip manufacturer the list of magic addresses for several chips? with decent explanations of the values it supports? I couldn't even figure out the term to call/search for it. just starting in embedded programming. there's…
gcb
  • 13,901
  • 7
  • 67
  • 92
2
votes
2 answers

How to make MSP430 Sleep in mode 4?

I have an MSP430 Assignment which I'm doing in assembly, and the final part states to do this: Then the microcontroller is put to sleep in mode 4. Another game will start by pushing the RESET button. I can't find any way of putting it into sleep…
Mr. Adobo
  • 815
  • 1
  • 12
  • 24
2
votes
1 answer

SPI poll read/write on an MSP430?

Sorry for such a simple question, but does anyone have a C example of initializing the MSP430 for SPI mode and performing poll read and write operations? Very new stuff to me and am not sure where to start. Thanks.
ARW
  • 3,306
  • 7
  • 32
  • 41
1
vote
0 answers

MSP430-HC05 There is nothing at Serial Monitor

I'm trying to send AT commands to HC05 for get other device names and rssi values.I'm using MSP-EXP430G2ET and HC05 module, pin connections are: MSP HC05 RX(P1.1) TX TX(P1.2) RX GND GND 3.3V VCC EN and STATE pins are empty. (I don't…
Mert Yavuz
  • 11
  • 3
1
vote
1 answer

How can I corrrect the following formula so I'll read the acurrate temperature?

Currently I'm working with a MSP-EXP430F5529LP microcontroller and a LM35, because I need to built a thermometer. The results will show on a seven segment, 4 digit display. I'm using the following conversion, in order to show the temperature in…
1
vote
0 answers

Where did they get this value from?

So I've got the following example code that prints the temperature of a connected temp sensor. But this line I don't understand NVIC->IP[20] = 0x60; //Set interupt priority to 3 How does a hex value of 0x60 corresponds to a priority of 3? And…
JorisTDP
  • 11
  • 1
1
vote
1 answer

Simple code confusion about define directive parameter

I'm trying to learn C to program this small routine on a Texas Instruments MSP430. Could you help me understand the ((unsigned char *) 0x0023) part? I'm having issues understanding this middle portion of this Define directive. I've tried looking…
Celljak
  • 13
  • 2
1
vote
2 answers

short 2 different Ports in MSP430 software wise

I need some help/advice/tip on how to short two 2 ports in MSP430 software wise. set P4.4 to be equal to P2.6
Abhay
  • 85
  • 3
  • 10
1
vote
1 answer

Program not working for IAR EW for msp430

the #include isnt blue like it is in my lab manual for my class. I dont know if this is the issue or not. I have just installed the software according to the dirrections and restarted 3 times and I havent found any answers online enter image…
1
vote
1 answer

12-bit ADC in MSP430FR2476 seems to only work in 10-bit mode

Here is the problem: I am trying to initialize the 12-bit built-in ADC on MSP430FR2476, but no matter what I do it seems to work at 10 bits. I change the resolution bits in a control register and alas, to no avail. No matter what I have tried…
1
vote
3 answers

Pragma and Interrupt Vector Table : TI MSP430

My program contains few global variables , whose values are set during the interrupt service routine (USCI_A0_ISR()) execution. Once the execution of USCI_A0_ISR() is done , will the global variables hold the value assigned or will be set back to…
Abhay
  • 85
  • 3
  • 10
1
vote
0 answers

MSP430 compiler not found when using Contiki-NG

I'm trying to simulate a Sky mote with the Cooja simulator shipped with the Contiki-NG project. I access the simulator as stated at their wiki: cd contiki-ng/tools/cooja ant But when I try to compile the hello-world example, which seems to execute…
Jaime_mc2
  • 673
  • 5
  • 18