Part Number: MSP430FR5994
Tool/software: Code Composer Studio
Hello,
I have a problem reading the register of P1 in the debug mode.
Can you help me?
Thanks
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.
Part Number: MSP430FR5994
Tool/software: Code Composer Studio
Hello,
I have a problem reading the register of P1 in the debug mode.
Can you help me?
Thanks
Normally you can't read the registers (or much of anything else) while the MCU is running. Try Pausing the debugger (double vertical bars, at the top).
Unsolicited: I suggest you move the printf call to follow the LOCKLPM5 line. I don't know whether there are any dependencies there.