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

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

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

跳至解决方案
985 次查看
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 解答
883 次查看
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 回复数
884 次查看
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 项奖励
回复
883 次查看
hwo
Contributor III

Thanks Artur, that helps a lot.  Thank you!

0 项奖励
回复