LRADC voltage measurement

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

LRADC voltage measurement

1,681 次查看
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,513 次查看
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,513 次查看
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,513 次查看
igorpadykov
NXP Employee
NXP Employee

I think you can debug adding printfs

to sources and comparing good LRADC channel with bad.

0 项奖励
回复