mx287 what would happen when sample voltage is much larger than VDDIO?

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

mx287 what would happen when sample voltage is much larger than VDDIO?

ソリューションへジャンプ
715件の閲覧回数
hwo
Contributor III

I come across 2 questions about the lradc module recently.

1. As mentioned in the title, the iMX28_RM has a reference in chapter 38.2,  page 2662, 

For input channels (other than BATT, 5V, or VDDIO) with signals larger than 1.85
V, the divide-by-two option should be set
(HW_LRADC_CTRL2_DIVIDE_BY_TWO). With the DIVIDE_BY_TWO option
set, the maximum input voltage is VDDIO – 50mv.

 

if our VDDIO is 3.3V,  does that mean the channels like lradc0 can't sample voltage which is larger than 3.3v minus 50mv?

2. If I configure the channel 0 as an analog input. So when one conversion is finished, the VALUE field in HW_LRADC_CH0 represents the actual voltage or I have to have it multiplied by voltage/per bit.

Thanks a lot. 

ラベル(2)
0 件の賞賛
1 解決策
613件の閲覧回数
art
NXP Employee
NXP Employee

Q1. If our VDDIO is 3.3V, does that mean the channels like lradc0 can't sample voltage which is larger than 3.3v minus 50mv?

A1. It means that no voltage higher than 3.3v minus 50mv can be applied to the pin.

Q2. The VALUE field in HW_LRADC_CH0 represents the actual voltage or I have to have it multiplied by voltage/per bit.

A2. The measurement result is represented in the LRADC measurement units. Taking into the account the full input measurement range of 1.85V and the full range number of measurement units of 2^12 = 4096, the measurement unit value is 1.85V / 4096 = approx. 450uV. So, the actual measurement value in voltage units is the number in the VALUE field multiplied by 450uV.


Have a great day,
Artur

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

元の投稿で解決策を見る

0 件の賞賛
2 返答(返信)
614件の閲覧回数
art
NXP Employee
NXP Employee

Q1. If our VDDIO is 3.3V, does that mean the channels like lradc0 can't sample voltage which is larger than 3.3v minus 50mv?

A1. It means that no voltage higher than 3.3v minus 50mv can be applied to the pin.

Q2. The VALUE field in HW_LRADC_CH0 represents the actual voltage or I have to have it multiplied by voltage/per bit.

A2. The measurement result is represented in the LRADC measurement units. Taking into the account the full input measurement range of 1.85V and the full range number of measurement units of 2^12 = 4096, the measurement unit value is 1.85V / 4096 = approx. 450uV. So, the actual measurement value in voltage units is the number in the VALUE field multiplied by 450uV.


Have a great day,
Artur

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

0 件の賞賛
613件の閲覧回数
hwo
Contributor III

Thanks Artur, that helps a lot.  Thank you!

0 件の賞賛