Hi, Andy [quote userid="620052" url="~/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/1432120/msp430f5529-why-doesn-t-while-1-halt-the-program"]I tried making the (1) a volatile variable but that did not work.[/quote] What is this (1)? I am not sure about (1). [quote userid="620052" url="~/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/1432120/msp430f5529-why-doesn-t-while-1-halt-the-program"] I'm getting strange behavior on my I/O ports when running but with a simple test program making the pins produce square wave, it works file. Yet in the program of interest I am getting continuous pulses on a port which is a peripheral data port after inserting the while(1); [/quote] Seems Launchpad work normal. There are a lot of MSP430 code example you can refer to in MSP430 SDK: C:\ti\msp\MSP430Ware_3_80_14_01\examples\devices\MSP430F5xx_6xx\MSP430F55xx_Code_Examples\C Regards, Helic
↧