I am working on to read analog DC voltage of a battery of 3.3 volts as input voltage using A/D converter of Freescale MC9S08MCU.
I do not have target hardware and trying with CodeWarrior ver 6.3 as Debugger/ Simulator. Can you please let me know, how to read the analog voltage inputs.
Please note that this is to simulate the analog inputs but not digital outs.
Hello Srinivasu Batchu ,
The ADC simulator included in CW6.3 full chip simulator is very simple.
It can only simulate ADDI and ADCLR register of ADC module. We can reach it with referring below screenshot.
Have a great day,
Jennie Zhang
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------