Circuit:

Following some examples with the MSP430F5529 and using CCS, it is the turn to use the ADC12_A, which has a resolution of 12 bits, this time we will use the example called "MSP430F55xx_adc_01" included in the folderWhat does this example? Basically it configures to read the voltage through port A0 and attend it by means of an interruption (the system is in LowPowerMode until the interruption takes it out of there), when the voltage in A0 is greater than 0.5 * AVcc (considering that AVcc is connected to VCC, the value should be about 3.3V approximately, I have measured it with my multimeter and walked in the 3.5V) will turn on LED1, otherwise it will remain off.Now reviewing the schematic of the experimental board, we will note that pin A0 is connected to DB0 (a Touch Pad) which will not serve to demonstrate this example, therefore I have decided to use the potentiometer that has the board, this is connected to A5 (as shown in the following image), to work properly we must activate P1.8 and leave jumper JP2.