;; project_name ;; ;; Copyright date - By name ;; ;; Description: .include "msp430x2xx.inc" .org 0xf800 start: ;; Turn off watchdog. mov.w #(WDTPW|WDTHOLD), &WDTCTL ;; Turn off interrupts dint ;; Setup stack pointer mov.w #0x0280, SP ;; Set MCLK to ~1.016MHz with DCO. ;; These values were calculated from an MSP430G2553 under testing ;; and will change depending on the chip and temperature, etc. mov.b #DCO_3, &DCOCTL mov.b #RSEL_7, &BCSCTL1 mov.b #0, &BCSCTL2 ;; Enable interrupts. eint main: jmp main .org 0xfffe dw start

Selecting settings on this side will change the source code which can be copy/pasted into a text file that can be assembled. This is a work in progress. I also may or may not remove this. Feel free to email suggestions.

MCU:

DCO (CPU clock):

I/O Coming Soon.

SPI Coming Soon.

TimerA Coming Soon.

TimerB Coming Soon.