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.

933件の閲覧回数
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 返信

798件の閲覧回数
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 件の賞賛
返信