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.
Where to get AN5162??sunkemiao
Hi Daniel,
Thank you..
Regards,
Vinit
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
Hi,Daniel:
I follow your advice.I use End_of list command only for the last channel.Now I can sample data. I am very happy,because the problem have perlexed me for long time.
Hi,Daniel :
I have made the