cancel
Showing results for 
Search instead for 
Did you mean: 

SARADC 12 BIT Supervisor and SARADC 12 BIT Modules

Angle
Associate II

What is the different and function between SARADC 12 BIT Supervisor and SARADC 12 BIT Modules?

0693W00000QKQ7MQAX.png

This discussion has been locked for participation. If you have a question, please start a new topic in order to ask your question
1 ACCEPTED SOLUTION

Accepted Solutions
Giuseppe DI-GIORE
ST Employee

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.

View solution in original post

7 REPLIES 7
Giuseppe DI-GIORE
ST Employee

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.

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 ?

Giuseppe DI-GIORE
ST Employee

Please specify which micro are you using.

Regards

SPC57 sphaero. im using the ADC on pin PI[1] and P1[2]

Giuseppe DI-GIORE
ST Employee

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.

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;

Giuseppe DI-GIORE
ST Employee

SARADC12DSV is the name of the software instance of the supervisor ADC.

In details:

  • SAR = Successive Approximation Register
  • ADC = Analog to Digital Converter
  • 12 = 12 bit
  • D = Device
  • SV = SuperVisor

Regards.