How to determine completion of Start-Up Calibration for Aurix 2G EVADC

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

cross mob
User9635
Level 4
Level 4
50 replies posted 50 questions asked 25 replies posted
Hello Support,

GLOBCFG.SUCAL=1 will trigger start-up calibration for Aurix 2G.
Then what logic should be used to reset the GLOBCFG.SUCAL to zero?
For Aurix 1G VADC, there is a condition to reliably check for Start-Up calibration completion because of presence of CALS [Bit 29] as shown below.
CALS bit is removed in EVADC for Aurix 2G. So, please provide me a reliable method to check for Start-Up Calibration completion in EVADC of Aurix 2G.
4264.attach
Best Regards
0 Likes
4 Replies
NeMa_4793301
Level 6
Level 6
10 likes received 10 solutions authored 5 solutions authored
In TC3xx, check to see if calibration has completed with GxARBCFG.CAL=0, as specified in the SUCAL description.
0 Likes
User9635
Level 4
Level 4
50 replies posted 50 questions asked 25 replies posted
Hello Support,
That means within the code, we will have to look for an edge transition from CAL=0 to CAL=1 and then back to CAL=0 for every EVADC Group instead of the easy way to check for a Flag being SET as was done in Aurix 1G.
Is that correct?
I am assuming edge detection of CAL bit within Embedded Real-Time code will involve do-while loop with tight timing constraint.
Please let me know if end user can avoid any way to avoid edge detection of CAL bit as mentioned above by checking some other signature similar to Aurix 1G.
Best Regards
0 Likes
User9635
Level 4
Level 4
50 replies posted 50 questions asked 25 replies posted
Hello Support,
Actually CAL bit will be finally be zero or 1 at the end of calibration is not mentioned anywhere within the document as shown below.
May be there is a error in the document as you can see completely opposite statements.

4269.attach
4270.attach
Best Regards
0 Likes
FD_aurix
Level 5
Level 5
100 sign-ins 100 replies posted 5 solutions authored

One additional question,  what are the condition to be able to activate the startup calibration? how long does it should take after the ANONC set to 1?

0 Likes