Calibration of EVADC

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Enthusiaser
Level 1
Level 1
5 replies posted 10 questions asked 25 sign-ins

Hello

I am trying to calibrate the Adc Offset for current measurement.

When i tried to calibrate then adc is not receiving HW trigger and vice versa.

Can u provide suitable solution that i can calibrate first and then it will trigger from HW. Result will stored upon interrupt generation.

flow is like:

 1. calibration()

2. Enable HWtrigger

3. interrupt will generate

4. result will store

0 Likes
1 Reply
Nambi
Moderator
Moderator
Moderator
50 likes received 5 likes given 100 solutions authored

Hi,

1. Could you share the exact part number used at your end(e.g., TC277 or TC397)?

2. How is the calibration performed currently? Is it using any ILLD API or custom code flow?

3. You can refer to the IfxEvadc_startupCalibration() API from Aurix ILLD for calibration procedure. You can see that IfxEvadc_Adc_initGroup() calls IfxEvadc_startupCalibration() conditionally if a calibration procedure was configured to run at startup. You can refer to this flow.

Best Regards.

0 Likes