AnsweredAssumed Answered

How to simulate analog input to ADC module?

Question asked by hochull lee on Jul 16, 2007
Latest reply on Jun 23, 2008 by CrasyCat
Hi! I am Korean. If some bad grammer occurs, plz understand my poor level of english.
 
Referring to following documentation http://www.freescale.com/files/soft_dev_tools/doc/train_ref_material/QTQYPET.pdf, I tried to simulate analog input AD conversion.
But several parts that I couldn't get are there.
 
If it's not bothering you, would you give me some helps?
 
1. My development information
 Freescale Codewarrior 5.7.0
 Target: MC9S12DT256CPVE
 
2. Questoins.
 1) Is it posssible to simulate analog input to ADC(or ADT) module?
   I can use visualization tool a bit. But I don't know how to input anlog signal to ADC with visualization tool. In above pdf file, they use bar instrument in which they set "Port to display" as 0x3E, which part I don't understand(refer to page 10). Is 0x3E memory address related to analog input?
 
 2) What's difference between following terms in "Port to Display" option?
 substitue vs subscribe, variable vs expression
 
 3) Do I need this command to use FCS?
 inputa 00 (refer to page 6). One of message from this forum, they say it's not need. It's only for S08. Is it right?
 
Thank you for listening!!
ps)I attatched the pdf file.
 
 
Message Edited by t.dowe on 2009-08-31 03:54 PM

Outcomes