LRADC voltage measurement

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LRADC voltage measurement

1,678件の閲覧回数
joecool
Contributor I

I try to read out the system voltage levels using LRADC channels.

However, I don't get around with the output values: Channel 6 (VDDIO) gives an output value of about 3640, channel 15 (VDD5V) gives an output value of 2789. What do these values mean, what formula is necessary to get the real voltages?

ラベル(1)
タグ(4)
0 件の賞賛
返信
3 返答(返信)

1,510件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Joe

i.MX23 LRADC has 12 bits resolution (0-4095 max.), max.1.85V input,

IMX23RM  sect.33.2 Operation, so you can recalculate it

easily.

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信

1,510件の閲覧回数
joecool
Contributor I

Oh yes, I didn't expect it to be as simple. ;-) Just wondering if it is a linear measurement, because for die temperature sensing there's also a gamma correction necessary.

Voltage measurement works fine now on pins VDD5V, VDDIO and BATT, but not for VDDM (2.5V). According to the i.MX233 manual channel 4 is bonded to VDDM, but all I can measure from LRADC is something about 3.7 volt. Any idea?

0 件の賞賛
返信

1,510件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

I think you can debug adding printfs

to sources and comparing good LRADC channel with bad.

0 件の賞賛
返信