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

digitalReadFast and speed of digitalRead

Hello,   Is there an equivalent of digitalReadFast in arduino?   For regarding msp430g2553:   how can we do things like reading PINB, PINC and them using them with ands in energia? and would that...

View Article


analogWrite() precision question

Hello,   Is there anyway to output pwm from a msp430g2553 other than analogWrite() ?    I am expecially interested in increasing the resolution of pwm output. I have been implementing a pid motor...

View Article


Image may be NSFW.
Clik here to view.

Alternative super small CRT for msp430-elf-gcc 4.9.1

So now that that CCS 6 includes a "released" msp430-elf-gcc, I thought I'd share my ultra small c-runtime startup code as an exported CCS project.  This will be useful to those who want to use the free...

View Article

CC3200 and pgmspace.h/PROGMEM?

In the Energia port for the CC3200, will there be an avr/pgmspace.h replacement to help manage access to the program memory?  If it is not already in the works, would such a thing be workable?   As I...

View Article

Image may be NSFW.
Clik here to view.

Garden_automation_and_sensor_network

Here is my current project and entry for the Hackaday Prize: http://hackaday.io/project/2375-Garden_automation_and_sensor_network   The main purpose originally was to have temperature monitoring of a...

View Article


Image may be NSFW.
Clik here to view.

Made a couple of MSP430 tutorials

Hi all,   I have made a couple of MSP430 Tutorials and thought I would share the links here:   ADC tutorial and example code I did this one awhile ago and just covers the ADC with 3 example codes,...

View Article

Excessive current useage when analogReference is not DEFAULT

I've run into an issue with execssive current usage on the Launchpad. My goal is to run a sensor on a battery for at least a year. The initial test was promosing because the launchpad (with J3 jumpers...

View Article

Image may be NSFW.
Clik here to view.

Shorted out msp430

I am working on a circuit that drives some 7-seg displays and a relay based on a sensor reading. I have the circuit built and I am powering it with an old variable supply I built in a class. The supply...

View Article


Daylight Saving Time detection and adjustment

This code quickly determines if a date is within daylight savings time (DST). A companion function adjusts the date and time if necessary.There are many ways to determine if a date is within DST. This...

View Article


Image may be NSFW.
Clik here to view.

C-Programmable Logic Controller with MSP430

Hi,   A new project based on MSP430 microcontroller is in process of being finalized. This is a PLC that can be programmed in C. A preliminary description of it can be found at:...

View Article

msp430g2553 default speed when xtal is not used

Hello,   What would be the speed of the msp430g2553 when we use those xin xout pins as outputs and the xtal is removed?   Will it still run in 16mhz?   Is there an option to configure the dco in...

View Article

interrupt pins on msp430F5529

Hello,   Which pins can be used for attachInterrupt on a msp430f5529?   All my attempt to attach interrupt failed on the 5529. The code was running on 2553, but now I wanted to try it with the 5529 i...

View Article

Could not communicate with FET error = 35

So, this is my first foray into using the msp430.  I am working on an WSPR beacon project.  Essentially, I have the code and the project materials.  I got the TI-LaunchPad MSP-EXP430G2 that came with...

View Article


Image may be NSFW.
Clik here to view.

MSP430 tracker

here's my latest project, a fully open-source msp430f5510-based gps/gprs tracker. it's a device that wakes up every few minutes and does the following:  - tries to get a gps fix  - connects to the gsm...

View Article

Image may be NSFW.
Clik here to view.

DC Current per I/O Pin (MSP430G2xxx)

simple question:   DC Current per I/O pin MSP430G2xxx?     previously found, now I can not find   

View Article


MSP-FET Backchannel UART.

Just got my half-price MSP-FET in the mail today.  MSP-FET Backchannel UART support was added in MSP Debug Stack 3.4.1.0.  The firmware version and driver versions match this on my system.   I default...

View Article

Updating Software using MSP430 USB BSL

Hi,   We need some advice on updating MSP430F5529 program using USB BSL. We want to add/update a small part of data to the current firmware through USB BSL.   But the problem is the BSL automatically...

View Article


MSP430G2553 on breadboard

Hi everyone!   This is my second time on the forum. The first time i was here it was to ask for help with interrupts and an LED display. 43oh was very helpful and I accomplished my goal. Today I am...

View Article

Quadrature encoders and interrupts

I have some quadrature encoders I'm working to interface with. The issue is that they have detents that are aligned with the "open" state on both lines (so you can idle them with zero current draw)....

View Article

A more efficient circular FIFO buffer

For my purposes I just needed a simple FIFO buffer, but implementations I saw either wasted a byte of buffer space, required extra fields or were not very performant. This implementation provides full...

View Article
Browsing all 2077 articles
Browse latest View live