This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/MSP-EXP430FR4133: Start-up of the Launchpad

Part Number: MSP-EXP430FR4133
Other Parts Discussed in Thread: MSP430FR4133,

Tool/software: Code Composer Studio

This code worked once and I could see the LED blinking but after that it wasn't the case. I reprogrammed the out of the box code which worked but then to no avail. If there are more startup demo codes that are easier to modify, will help. The out of the box program uses many headers which need to be included. Some one suggested to initialise the clock first but I couldn't find a demo code for it. 

#include <msp430.h>/#include <msp430fr4133.h>


/*
* main.c
*/
int main(void)
{

WDTCTL = WDTPW | WDTHOLD; // Stop watchdog timer
int i;
P1SEL0 |= 0x0001;
P1DIR |= 0X0001;
while (1)
{
P1OUT &= ~0x0001;
for(i = 0; i < 20000; i++);
}

}

**Attention** This is a public forum