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

Burned P1.7 trace on a R1.5 with G2553.

Not sure how it happened. Haven't even used that LP for a while but that trace is MIA, as in from the pin header to the PDIP socket, it's gone. Discovered it because of a post I made in the Energia...

View Article


Serial.println fails for int value > 9

Any ideas why a Serial.println would be OK for an int value of 9 but not for an int value of 10 ?   Seems to work fine when passing 'unsigned long' values around, but not 'int' values, so I guess it's...

View Article


Bug: scrollCount and interval must be greater than 0

For some odd reason that I can't determine, my Energia 12 install just flipped out on me.  This is on Fedora Linux 19, 64-bit.   [ebrundic@spock energia-0101E0012]$ ./energia Exception in thread "main"...

View Article

A question for the community.

Before I go hog wild and start posting; I have a question for the members.   Does anyone want to see the code examples?   I have four main projects for the Tiva boards.   Multi-functional timing...

View Article

Not able to update SP and PC using inline assembly in MSP430-GCC

I am writing a simple task scheduler for my MSP430F5529 USB launchpad. I need to update stack pointer(SP), then enable interrupts and then update program counter (PC). But I am getting an error with my...

View Article


CC2530 with MSP430G2553

Hi,   I have a CC2530 by Anaren. I have successfully loaded the demo program on my MSP430G2553 from IAR Workbench. Is there any way to convert the code to Energia? I have to move the environment to...

View Article

Image may be NSFW.
Clik here to view.

Need Help: converting SYMA 107G CONTROLLER LIBRARY

Hi,     I've seen many youtube videos about ir car controls...  In most videos, it looks quite frustrating. The cars, although always respond to forward / backward or left / right commands, but you can...

View Article

Mass erase

Hey guys, how do you mass erase a chip to put it back to factory default - blank reset vectors, default USB BSL VID/PID, etc.? I have a few MSP430F5510 that I want to re-use from failed board that I...

View Article


Programmer compatibility between Energia and CCSv6

Hi,   As I am migrating from Energia IDE to Energia under CCSv6, and switch back an forth, it wants to update the Programmer firmware:   "Error initializing emulator: A firmware update is required for...

View Article


Image may be NSFW.
Clik here to view.

MSP430G2553 Flash write.

I'm using the Launchpad to program a simple program that takes on some values and saves them for later use. I'm using the MSP430 launchpad. I'm using energia for programming the launchpad. It has a...

View Article

What is Energia from cpp perspective?

I am sorry if this has been answered elsewhere.    My understanding is that Energia is a combination of the following:   1) an IDE    2) a run-time library (digitalWrite, Serial, etc.)   4) a directory...

View Article

UART and alternatives

Hi,   I need two chips within the same device to communicate via UART. The device needs to survive wild temperature variations. It is my understanding that temperature affects clocks, even crystals,...

View Article

Tiva - External Interrupts (RISING/FALLING)

Since interrupts are going to be a key in my upcoming controller - figured I it would be best to work them out now.    First run through with interrupts on the Tiva. Thanks to the pin guide it was...

View Article


Need Library for TI Fuel Gauge Bq34z100

Hi everybody.    I would like to use the MSP430FR5969 to read my battery status information from Texas Instruments Bq34Z100 fuel gauge that communicates via I2C.    I know there is a Booster Pack for a...

View Article

const, infomem flash, and volatile keyword

Just thought I'd share a funny debugging session I just went through.  Reminds me of @Rickta59 's post about the compiler "optimizing" things yesterday...   So I've never really used the infomem in any...

View Article


Energy use for interrupts

This is more of a theoretical question, as I have enough battery not to go THAT ulp. However, I am learning, and my battery power might change, so..   (and I am sorry if this is a noob question; I...

View Article

A simple design question

I've been programming C for many years, but that was in past life, can't believe how rusty I got. Time to add oil to the rust :-)   So.. my device is connected to a 3rd party peripheral. I am...

View Article


FR5969

Do you know why the blink example for driverlib doesnt work with the new release of Energia on the FR5969 Launchpad?   Look the compilation error:   blink.ino: In function 'void setup()':...

View Article

FR5969 - Blink Example Not Working

Do you know why the blink example for driverlib doesnt work with the new release of Energia on the FR5969 Launchpad?   Look the compilation error:   blink.ino: In function 'void setup()':...

View Article

An exercise in advanced C semantics

Dealing with memory mapped registers, and ensuring the consistency of shared values in the face of interrupts, often requires use of the volatile qualifier in C. Given the following code: typedef...

View Article
Browsing all 2077 articles
Browse latest View live