AnsweredAssumed Answered

how to get right AD value in 9s12zvc

Question asked by BANGJIE HE on May 13, 2019
Latest reply on May 16, 2019 by Daniel Martynek

hello.

i hope read AD value from PL1.this input voltage range is from 5.5 V to 28 V.  i download VLG-MC9S12ZVC-DEMOSW.zip from NXP. and add my code in main.c

in

 

then we can read AD value from PL1.But sometimes we will read err AD value.

normal we can read right AD value ( 235).but sometimes the err  AD value is 08.  so i am confused.how to get right AD value. thank you very much.

Outcomes