AnsweredAssumed Answered

How to use CodeWarrior to read analog voltage of Battery using MCU internal A/D converter with Real Time Simulator/ Debugger. I do not have targer hardrware board to connect to my system.

Question asked by Srinivasu Batchu on Nov 24, 2017
Latest reply on Dec 14, 2017 by ZhangJennie

I do not have NXP/ Freescale target board for MCHS08 series MCU's. 

 

I am trying with CodeWarrior ver6.3 to write the programs, compile and then run the same in simulator environment with help of Debug/ Relatime Simulator. 

 

Please let me know how to read analog voltage input of a battery (DC voltage varies from 2.50 Volts to 4.5 volts). Using Analog to Digital Converter, I could able to do the same, if you have the actual target hardware board. Please let me know to do the same with out Target hardware board by using CodeWarrior Simulator.  

Outcomes