Hi Edward,
You were right. PE didn't generate the code for pin setting. But in my code there is next issue apart from of this. After set the input pin, there is needed to set the RSTA bit in the ADCFLWCTL register, and in case when restart mode is used (as in my example) when the end of list is reached, the RSTA bit has to be re-set.
Thanks for your reply :smileyhappy: