how control adc value offset by adc_sar_ip?

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

how control adc value offset by adc_sar_ip?

跳至解决方案
299 次查看
rlaxortn
Contributor IV

i am using s32k314 and s32ds RTD4.0.0.

 

rlaxortn_0-1751007923560.png

 

1. Is there a way to control the offset when reading adc from adc_sar_ip?

 

2. How can I change and control the offset?

 

thanks to help.

标记 (1)
0 项奖励
回复
1 解答
277 次查看
_Leo_
NXP TechSupport
NXP TechSupport

Thank you for your interest in our products and for contributing to our community.

There are two ways to change the offset of an ADC instance.

1. With User Offset in Config Tools, as the image you have shared.
2. In code, using Adc_Sar_Ip_SetUserGainAndOffset() function.

See details in User Manual for S32K3_S32M27x ADC Driver in right top corner of ADC driver:

_Leo__0-1751049993377.png

I hope this information is helpful.

在原帖中查看解决方案

0 项奖励
回复
1 回复
278 次查看
_Leo_
NXP TechSupport
NXP TechSupport

Thank you for your interest in our products and for contributing to our community.

There are two ways to change the offset of an ADC instance.

1. With User Offset in Config Tools, as the image you have shared.
2. In code, using Adc_Sar_Ip_SetUserGainAndOffset() function.

See details in User Manual for S32K3_S32M27x ADC Driver in right top corner of ADC driver:

_Leo__0-1751049993377.png

I hope this information is helpful.

0 项奖励
回复