MSP430FR2433 Internal Oscillator

Configure MSP430FR2433 MCLK for 8 Mhz or 16 Mhz internal oscillator.

MSP430FR2433 – 8MHZ INTERNAL OSCILLATOR

MSP430FR2433 – 16MHZ INTERNAL OSCILLATOR

MSP430FR2433 – ROUTE CLOCK TO PORT PINS

 

8 MHZ INTERNAL OSCILLATOR

 

16 MHZ INTERNAL OSCILLATOR

 

end post

MSP430FR2433 External Oscillator

This code block can be used to add an external clock oscillator to the MSP430FR2433 Launchpad. The code should be located at the top of the MAIN function. Note that it is not necessary to set the direction of P2.0 (xout) and P2.1 (xin) as the input/output direction is automatically set with P2SEL0 and P2SEL1.

An oscilloscope can be used to check clock output on P1.3.

Crystal Oscillator

 

MSP430FR2433 LAUNCHPAD EXTERNAL OSCILLATOR CODE

MSP430FR2433 LAUNCHPAD CLOCK OUTPUT TO PORT PINS CODE

 

MSP430FR2433 LAUNCHPAD WITH EXTERNAL OSCILLATOR

 

end post

MSP430G Servo Tester Program

This program can be used with a Texas Instruments MSP-EXP430G2 Launchpad to create an encoder adjustable servo output that ranges from 1.0 ms to 2.5 ms and can be used to test hobby servos. The servo output is on port pin P1.2 and is adjustable in 0.020 ms (20 us) increments. Port pin P1.5 goes high when the servo output is at 1.5 ms. This allows an LED indicator to be connected as a visual aid.

Encoder connections are similar to this: Encoder Connections.

MAIN PROGRAM

PROGRAM INTERRUPTS

OUTPUT WAVEFORMS

1.0 ms SERVO WAVEFORM

 

1.5 ms SERVO WAVEFORM

 

2.5 ms SERVO WAVEFORM

 

SERVO TESTER

 

SERVO TESTER

 

//end post

Decorative Sun Project

This is a decorative Sun made to hang on a door or wall. The center wood face is made from 0.5 inch Baltic Birch plywood and is 10 inches in diameter.

The center face part has several coats of white primer and the finish coat was several coats of Rust-Oleum bright copper.

The outer flame part is made from 0.050 inch white styrene plastic that has a faceted surface. This material was designed primarily for fluorescent light fixtures.

A flame pattern was created on cardboard and was traced onto a stack of four pieces of the styrene material that was then taped together and cut out at the same time. The flames were solvent welded together using Methyl Ethyl Ketone (MEK).

The outer flame part was also finished with several coats of Rust-Oleum metallic bright copper.

 

 

end post

 

 

MSP430 LED Voltage Display Code

M430G2553 code to create a DC voltmeter with a three digit multiplexed LED display. The voltage range is dependent on the input voltage divider.

MAIN FUNCTION CODE  

INTERRUPT AND DELAY FUNCTION

VOLTAGE DISPLAY SCHEMATIC

End Post