Quantcast
Channel: Active questions tagged msp430 - Stack Overflow
Browsing index pages (88 articles)
↧

Image may be NSFW.
Clik here to view.

MSP430 inconsistent conversion from int to hex string

I'm having trouble converting some sensor readings to a hex string on my MSP430G2231.I'm using this library: https://github.com/jwr/msp430_usi_i2c To read temperature data from a couple TI...

View Article


How to install freepascal onto the Mac to allow compiling for AVR, MSP430,...

I would like to cross compile Pascal to the AVR microcontroller series. My specific target is the AVR64DU32, but would want to be able to compile to other AVR architectures as well as to Texas...

View Article


MSP430 GCC CMake --> no Mapfile is written, Why?

Situation is simple:msp430-gcc-9.3.1.11_linux64,a simple example program main.c plus a cmake script to compile it.the cmake script is mostly copy paste from others I use (so its main parts are proven...

View Article

Image may be NSFW.
Clik here to view.

How to change MSP430FR5739 PWM frequency according to external signal?

I’m working with an MSP430FR5739 and I’m trying to implement a PWM output whose frequency can change dynamically based on an external signal.Here’s the behavior I want:The PWM runs with a maximum...

View Article

code composer studio msp430g2231. variable in for loop stays at the initial...

I expect the variable i to decrement and make the led on P1.0 to go from slow blinking to fast blinking, then repeat. I turned off optimizations in code composer studio but the led blinks at a constant...

View Article


I am trying to translate my C code into assembly but my code is not working....

I am trying to use an MSP-EXP3430G2ET with a Buzzer and a potentiometer on CCS. The goal of the program is to have 2 modes, a high frequency mode and a low frequency mode. If you press the button, it...

View Article

MSP430FR5969 not going to sleep

I am using MSP430FR5969 and trying to put it into LMP4 mode. I cannot enter the LPM4 mode with global interrupts enabled. The code I am using is as below. Is there something I am missing or doing...

View Article

MSP430 and RFM22

i need help!i have a TI msp-exp430g2 launchpad and a RFM22B and i need them to communicate with each other and i have no idea how to. after along time i came up with the code below to send data to the...

View Article


Image may be NSFW.
Clik here to view.

Command Prompt Error 'C:\Program' is not recognized as an internal or...

I am trying to run the following batch command. The command has been extracted from the IDE so is confirmed working. Getting the error mentioned below.I have tried a few variations with double quotes...

View Article


MSP430 GDB hangs while processing a for loop-based delay

I'm using the MSP430-GCC-OPENSOURCE toolchain, based on gcc-9.3.1.11, developed by TI in collaboration with Mitto Systems. When I debug the following code in Eclipse Embedded using msp430-elf-gdb, the...

View Article

Repeated/Missing data in I2C transmission from MSP430FR5972 (slave) to...

I am very new to embedded programming and I2C protocol. I would like to develop a command "CMD_READ_V" which will eventually read an analog voltage from the MSP430 A0 and report it back to the Arduino....

View Article

Image may be NSFW.
Clik here to view.

MSP430 inconsistent conversion from int to hex string

I'm having trouble converting some sensor readings to a hex string on my MSP430G2231.I'm using this library: https://github.com/jwr/msp430_usi_i2c To read temperature data from a couple TI...

View Article

DOES THE ADC PIN OF MSP430 boards consume any power? [closed]

Say I want to monitor some voltage source for some time. So if i connect it to the analog pin I can monitor it. But will this affect the life of voltage source ? if so how can I calculate it ? How much...

View Article


Why doesn't memcpy update the MAC address pointer in my Contiki-NG Black Hole...

I'm working on simulating a Black Hole attack in a TSCH network using Contiki-NG and Cooja (Z1 Motes ) with simple node which exists in the following path...

View Article

Image may be NSFW.
Clik here to view.

In C, will a compiler allow me to alter variables if they won't be used anymore?

I am converting this ATmega328 code for use on the Texas Instruments MSP430FR5994. It sets registers in HW via I2C. It isn't working (HW isn't behaving as I expect). I got the code from here:...

View Article


CCS hex utility how to get omitted memory values

I am working on a project where I have to dump memory of msp430fr5739. I am using Code Composer Studio v20 and Hex utility to achieve this. My only problem is the ti-txt format file only containts...

View Article

How to correctly calculate address spaces?

Below is an example of a question given on my last test in a Computer Engineering course. Anyone mind explaining to me how to get the start/end addresses of each? I have listed the correct answers at...

View Article


MSP430 assembly language: variable allocation error

Learning MSP430 Launchpad assembly language in class. The current assignment is to do stepwise multiplication and division (i.e. simulating them with recursive addition and subtraction).I went over how...

View Article

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/coojaantBut when I try to compile the...

View Article

How to correctly calculate address spaces?

Below is an example of a question given on my last test in a Computer Engineering course. Anyone mind explaining to me how to get the start/end addresses of each? I have listed the correct answers at...

View Article
Browsing index pages (88 articles)


Latest Images