2022-07-04 07:02 PM
What is the different and function between SARADC 12 BIT Supervisor and SARADC 12 BIT Modules?
Solved! Go to Solution.
2022-07-04 11:47 PM
Supervisor ADC can read all ADC channels
SARADCx can read a subset of ADC channels
Supervisor ADC is mainly used for safety reason (redundancy).
Typical usage:
1) read ADC channel[y] using SARADCx
2) read ADC channel[y] using Supervisor ADC
3) compare the two values
3.1) if the two value are almost the same, then value is correct
3.2) if the two values differs then there is an issue in reading the ADC
Regards.
2022-07-04 11:47 PM
Supervisor ADC can read all ADC channels
SARADCx can read a subset of ADC channels
Supervisor ADC is mainly used for safety reason (redundancy).
Typical usage:
1) read ADC channel[y] using SARADCx
2) read ADC channel[y] using Supervisor ADC
3) compare the two values
3.1) if the two value are almost the same, then value is correct
3.2) if the two values differs then there is an issue in reading the ADC
Regards.
2022-07-05 01:41 AM
okay, then for example if my pin configuration is ANP5_12b_1. so the driver that i need to set is on SARADC 12 bit modules which is in SARADC1? am i right ?
2022-07-05 02:14 AM
Please specify which micro are you using.
Regards
2022-07-05 02:16 AM
SPC57 sphaero. im using the ADC on pin PI[1] and P1[2]
2022-07-05 02:33 AM
P[1] --> ANP[5] --> SAR_ADC_1 (Note: only available on eTQFP 144)
PI[2] --> ANP[5] --> SAR_ADC_2
See Reference manual RM0387 Table 12
Regards.
2022-07-05 07:57 PM
what mean by code line " SARADC12DSV"
I know that it mean using the ADC Supervisor but what mean by 12D?
/* change driverUnderTest value to test others SARADC modules. */
driverUnderTest = &SARADC12DSV;
2022-07-06 12:38 AM
SARADC12DSV is the name of the software instance of the supervisor ADC.
In details:
Regards.