Quantcast
Channel: MSP430 Technical Forums
Viewing all articles
Browse latest Browse all 2077

MSP432 Debugging and Interrupt Oddities

$
0
0

I found this old project for a MSP430 and was trying to modify it for my project as well as getting it work with the MSP432 LaunchPad. The code seems to work but only if when in the debugger I start and pause the code. In the ADC14ISRHandler routine I set this variable:

diode_sensor_result_ready = 1;

If I run the code this variable is always 0 but if I pause the code it seems like that enables the ISR to run, set the variable to1 and then the code proceeds. 

 

I uploaded the project to Github if someone has the time to look through it, https://github.com/GeorgeIoak/Cheese

 

The reference project is from here, http://forum.43oh.com/topic/1069-msp430-based-digital-thermometer

 

I was following some of the other TI examples on setting and using the WDT but I'll admit that I don't have my head wrapped around all this yet!


Viewing all articles
Browse latest Browse all 2077

Trending Articles