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.

MSP432WARE: MSP432WARE

Part Number: MSP432WARE
Other Parts Discussed in Thread: MSP430WARE,

Hi ,

Last year when I started working with the msp432 Launchpad , I used CCSv6.1.1, and example projects for msp432 were present in MSP430WARE itself.

Due to some reason I had to uninstall CCS and again when I reinstalled same version of CCS, I was not able to find the example projects for msp432 in MSP430WARE.

I searched and downloaded MSP432WARE which had example projects but when I load the project (say the simplest project , LED blink), it is throwing me more than 60 errors.

Even projects in Simplelink_msp432_sdk are not working.

I would not like to upgrade CCS to Version7 since I have many running projects using present version(6.1.1)

I have downloaded three packages: MSP430WARE , MSP432WARE, & Simplelink_msp432_sdk

//******************************************************************************

//   MSP432P401 Demo - Software Toggle P1.0

//

//   Description: Toggle P1.0 by xor'ing P1.0 inside of a software loop.

//   ACLK = 32.768kHz, MCLK = SMCLK = default DCO~1MHz

//

//               MSP432P401x

//             -----------------

//         /|\|                 |

//         | |                 |

//         --|RST             |

//           |                 |

//          |             P1.0|-->LED

//

//   William Goh

//   Texas Instruments Inc.

//   June 2016 (updated) | November 2013 (created)

//   Built with CCSv6.1, IAR, Keil, GCC

//******************************************************************************

#include "msp.h"

#include <stdint.h>

 

int main(void) {

   volatile uint32_t i;

 

   WDT_A->CTL = WDT_A_CTL_PW |             // Stop WDT

                 WDT_A_CTL_HOLD;

 

   P1->DIR |= BIT0;                       // P1.0 set as output

 

   while (1)                              // continuous loop

   {

       P1->OUT ^= BIT0;                   // Blink P1.0 LED

       for (i = 20000; i > 0; i--);       // Delay

   }

}
 
The above shows the LED pin toggle program.
 The text marked in red , I do not understand the different syntax used . it gives errors along with the others in different files


Would be great if somehow could help me out with the same.

Regards,
Maisie

**Attention** This is a public forum