Quantcast
Channel: MSP430 Technical Forums
Browsing all 2077 articles
Browse latest View live

gcc asm output for rrc absolute mode

I'm puzzled as to why gcc is producing code for rrc as follows:       f97e: 1f 42 02 02 mov &0x0202,r15     f982: 12 c3       clrc     f984: 0f 10       rrc r15     f986: 82 4f 02 02 mov r15,...

View Article


energia no unused fet error, ubuntu 14.04

So, I recently had to do a reinstall of ubuntu, and I'm unable to get energia working again with the fr5969 (wolverine). I downloaded energia, and can start it fine. Code compiles without issues. But...

View Article


MSP430 Part # difference

Hi,   What is the difference (last character) between part# MSP430G2553IRHB32R and MSP430G2553IRHB32T? Part# link here.   Is the last character designator related to package quantity/carrier or...

View Article

WIZnet ioShield-L Ethernet Booster Pack

I came across this and had not heard anyone mention it.  http://wizwiki.net/wiki/doku.php?id=osh:ioshield-l:start   ioShield-L is an Ethernet BoosterPack for MSP430 LaunchPad development...

View Article

Oversampling, averaging and getting confused.

I see things like 'sample the sensor 16 times then divide by 16' to reduce errors and influence caused by noise.Is that any better than running continuous 'sample the sensor and add it to the result...

View Article


Problem with analogRead()

Hello,   I have the MSP-EXP430FR5969 Wolverine Launchpad (Rev 1.6) and I'm trying to read the voltage output of a LM35 temperature sensor. I went on and used adafruit's code and adapted it to the...

View Article

Using TivaC TM4C123GXL + Energía + Ubuntu 14.04

Hi everyone I recently left behind windows to emigrate to Ubuntu 14.04, but I'm in troubles, I started using energia and a tiva C tm4c123gxl on windows, I did all the instalation, and a lot of programs...

View Article

TLV Die record - how is it set?

On some series of the MSP430, as we all know, there is a chip-series-unique serial number that can made from the lot/wafer ID plus the die X & Y positions - a total of 8 bytes.   How are the X...

View Article


Listing of all booster packs?

Is there a resource somewhere that lists all booster packs (Both TI and third party) and cross references them to the boards they will work with?

View Article


another gcc asm mystery: extra register pushed but never used

Given the following C code: static uint16_t rx_buffer = 0; __attribute__((interrupt(TIMER0_A0_VECTOR))) static void SoftUART_RX(void){ register int16_t tmp = TA0CCTL0; TA0CCR0 += rx_ticks_per_bit;...

View Article

MeArm - DIY robotic arm

I have done a few small projects with my Launchpad but want to take on a more interesting project.   I will be printing a MeArm in the next couple of weeks and want to know if anyone had used a...

View Article

bitRead() always returns 1 on LM4F120 (Launchpad stellaris)

Remove post, stupid error on user side....

View Article

FLASH, RAM and usage calculation

Suppose you have an application like SimpliciTi that says:" low memory needs(<8kB flash and 1kB RAM depending on the configuration)", you also have in your program the Petit FAT file system: "Very...

View Article


Image may be NSFW.
Clik here to view.

Arduino Uno, I2C cannot communicate with digitalpotentiometer~~!!!

I'm using AD5258 digitalpot, but my arduino cannot control it, and my program always freeze at Wire.endTransmission(); My code is quite simple, I just want to use arduino to control digitalpot so as to...

View Article

Image may be NSFW.
Clik here to view.

Arduino Uno, I2C cannot communicate with digitalpotentiometer~~!!!

I'm using AD5258 digitalpot, but my arduino cannot control it, and my program always freeze at Wire.endTransmission(); My code is quite simple, I just want to use arduino to control digitalpot so as to...

View Article


A higher performing timer UART snippet

This code snippet demonstrates a timer based UART running on a 1MHz G2231. The code starts by outputting "RESET\n" and going into full duplex loopback mode. Both the transmit and receive interrupts are...

View Article

One sketch multiple architectures

This is probably an FAQ but I can't find the answer anywhere - sorry.   I have several Launchpads, an MSP430, TM4C123 and a TM4C129. I have the same sketch that I'd like to target at each of them but...

View Article


How to work with a non official github branch in Energia

I have downloaded Energia for Windows.  I want to program a board with a CC430, which is not officially supported by Energia. But the code is available in github:...

View Article

How can I write Symbols into LCD with MSP430G2553?

Hello guys,  I'm building a Holter ECG, and would like put one symbol on the LCD. Need to inform the user the level of charge that the battery has. And I would put the battery symbol so that...

View Article

Image may be NSFW.
Clik here to view.

"spikes" in the ultrasonic reading

hi,  i'm trying to build an array of unltrasonic sensors, i'm currently using two maxbotic sensors on the msp430G2553 launchpad. i'm switching between them using a mux (MM74HC151 multiplexer)  using...

View Article
Browsing all 2077 articles
Browse latest View live