Tool/software: Code Composer Studio
I'm not sure if I'm even asking this question correctly so please bear with me.
I'm having an issue with my stored data read from an A/D converter. When I'm debugging and look at the variables that are set from an A/D converter pin, 11 out of 12 of my variables are stored as 0. The last is the value expected. When I connect my device to my computer via USB, I can see the values for each of the variables on the MSP430 USB HID application, the values for these variables are all reading as expected. It is only when it is disconnected where all but one of the variables are lost. I'm guessing it is because they being set to be stored in an improper register but how do I find where these variables are being stored?
FYI, the variables are all based on values read from up to 3 A/D pins. The USB HID application allows the user to select which pin corresponds to each variable, and the same variables are always reading zero in the debugger regardless of what A/D they base their values off of.