Announcements

Equip yourself to optimize AURIX™ MCUs for Evs at the EV Webinar. Click here to register.

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

AURIX™ Forum Discussions

Cooldeveloper
Level 1
Level 1
5 sign-ins First question asked Welcome!

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
First like given 25 likes received 50 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