Can AD conversion detect negative voltage?(I use S12ZVL family)

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

Can AD conversion detect negative voltage?(I use S12ZVL family)

847 次查看
Jen1
Contributor I

微信图片_20220413142045.png

DJM: Result Register Data Justification — Conversion result data format is always unsigned. This bit controls justification of conversion result data in the conversion result list.

Q: I want to detect the negative voltage in the circuit, but according to the data manual, the conversion result is always unsigned. How can I detect the negative voltage with sign?  

0 项奖励
回复
3 回复数

829 次查看
Jen1
Contributor I

Thank you very much for your answer.

I have some other question:  Can I measure more than 9 volts or 16v?

0 项奖励
回复

820 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Yes, it is, using HVI (High Voltage Inputs).

Please refer to the S12ZVL RM.

2.4.5 High-Voltage Input

J.1 High-Voltage Inputs (HVI) Electrical Characteristics.

danielmartynek_0-1649924397599.png

 

BR, Daniel

 

0 项奖励
回复

837 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @Jen1,

The ADC can't measure negative voltage.

The input voltage (V_IN) must be within the <V_RL; V_RH> range.

danielmartynek_0-1649854192604.png

If negative voltage (V_IN < VSSA) is applied to a pin, the voltage is clamped to VSS.

Please refer to the S12ZVL RM,

C.1.1.4 Current Injection.

A.1.2 Current Injection

Table A-10. 5V I/O Characteristics (Junction Temperature From –40C To +175C)

danielmartynek_1-1649854462139.png

 

Regards,

Daniel

0 项奖励
回复