How to read analog DC voltage of battery of 3.3 Volts using A/D converter of MC9S08SL8 MCU and to view the same in CodeWarrior "Real Time Simulator". I do not have demo or evaluation board and working with CodeWarrior v6.3 Debugger/ Simulator.

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to read analog DC voltage of battery of 3.3 Volts using A/D converter of MC9S08SL8 MCU and to view the same in CodeWarrior "Real Time Simulator". I do not have demo or evaluation board and working with CodeWarrior v6.3 Debugger/ Simulator.

935 次查看
srinivasubatchu
Contributor I

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. 

0 项奖励
回复
1 回复

800 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

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.

pastedImage_1.png


Have a great day,
Jennie Zhang

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复