I have made ADC configuratin according to soft Demo AN5162 .Now I can use four channels to sample four groups data,but when I want to add a channel to sample data,the MC9S12ZVC do not work under Debugging.You can look at ADC initialization part of my code.
Hi
You should use End_of_list command (CMD_SEL = 0xCx) only for the last channel, after that the measurement will be terminated. Also, make sure the RAM address you use to allocate lists is not address of the stack.
Regards
Daniel