LRADC voltage measurement

cancel
Showing results for 
Search instead for 
Did you mean: 

LRADC voltage measurement

294 Views
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?

Labels (1)
0 Kudos
3 Replies

126 Views
igorpadykov
NXP TechSupport
NXP TechSupport

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 Kudos

126 Views
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 Kudos

126 Views
igorpadykov
NXP TechSupport
NXP TechSupport

I think you can debug adding printfs

to sources and comparing good LRADC channel with bad.

0 Kudos