Msp430

Msp430 Example Code Assembly

Hello Joshua,I copied your code excerpt and was able to get it working from the start with CCS V6.1 and TI Compiler V5.2.2. I tested it by wiring the MSP-EXP432P401R 3V3 pin to P5.4, in which case LED1 would turn on. Upon disconnection the LED would turn off. So your firmware is fine, the problem lies somewhere in the hardware. Make sure that the voltage you are supplying to P5.4 is greater than half of AVcc (1.65 V) and you could even try a continuity test between the P5.4 header and pin on the MSP432P401R device to make sure that the connection is sound. You could also make sure that the LED header is properly connected, but seeing as how you aren't able to enter the ADC ISR at all I doubt that this is the issue.Guns up,Ryan. I confirmed that if I check ADC14MEM0 before the sleep code LED0 is controlled properly.What's odd is that it only works once and if I pause the debugger it is caught in the defaultISR routine of the msp432startupccs.I'm running the latest CCS 6.1.2 with all updates applied and working with the sample code so I'm at a loss as to why it seems the USR is not being handled properly.Update.

After doing a little more searching I ran across this thread, which gave me the clus that the startup file didn't get copied over when the project was created. I thought that would be the answer but unfortunately after making that change I am now not able to connect to the board. I don't think it's directly related to this but until I can fix this new error I am no longer able to debug code. All content and materials on this site are provided 'as is'. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right.

Msp430 Example Code

No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

TypeNameLatest commit messageCommit timeFailed to load latest commit information.Jul 20, 2016Jul 20, 2016Jul 20, 2016Jul 20, 2016Jul 20, 2016Jul 20, 2016Jul 20, 2016Jul 20, 2016Jul 20, 2016Jul 20, 2016Jul 20, 2016Jul 20, 2016Jul 20, 2016Jul 20, 2016Jul 20, 2016Jul 21, 2016Jul 21, 2016Jul 21, 2016Jul 21, 2016Jul 21, 2016Jul 21, 2016Jul 22, 2016Jul 22, 2016Jul 22, 2016Jul 23, 2016Jul 23, 2016Jul 23, 2016Jul 24, 2016Jul 24, 2016Jul 24, 2016Jul 25, 2016Jul 20, 2016Jul 25, 2016.