i am using s32k314 and s32ds RTD4.0.0.
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.
解決済! 解決策の投稿を見る。
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:
I hope this information is helpful.
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:
I hope this information is helpful.