how control adc value offset by adc_sar_ip?

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

how control adc value offset by adc_sar_ip?

ソリューションへジャンプ
305件の閲覧回数
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 解決策
283件の閲覧回数
_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 返信
284件の閲覧回数
_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 件の賞賛
返信