09.12.2012 Views

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Analog-to-digital converter (ADC) <strong>RM0090</strong><br />

Figure 51. Alternate + regular simultaneous<br />

ADC1 reg CH0 CH1 CH2<br />

ADC1 inj<br />

CH0<br />

ADC2 reg<br />

ADC2 inj<br />

If a trigger occurs during an injected conversion that has interrupted a regular conversion, it<br />

is ignored. Figure 52 shows the behavior in this case (2nd trigger is ignored).<br />

Figure 52. Case of trigger occurring during injected conversion<br />

1st trigger<br />

3rd trigger<br />

11.10 Temperature sensor<br />

The temperature sensor can be used to measure the ambient temperature (TA ) of the<br />

device.<br />

The temperature sensor is internally connected to the ADC1_IN16 input channel which is<br />

used to convert the sensor’s output voltage to a digital value.<br />

Figure 53 shows the block diagram of the temperature sensor.<br />

When not in use, the sensor can be put in power down mode.<br />

Note: The TSVREFE bit must be set to enable the conversion of both internal channels:<br />

ADC1_IN16 (temperature sensor) and ADC1_IN17 (VREFINT ).<br />

Main features<br />

1st trigger<br />

● Supported temperature range: –40 to 125 °C<br />

● Precision: ±1.5 °C<br />

285/1416 Doc ID 018909 Rev 3<br />

CH2 CH3<br />

CH3 CH5 CH6 CH6 CH7<br />

ADC1 reg CH0 CH1 CH2<br />

ADC1 inj<br />

CH0<br />

ADC2 reg<br />

ADC2 inj<br />

2nd trigger<br />

CH2 CH3<br />

CH3 CH5 CH6 CH6 CH7<br />

2nd trigger<br />

CH0<br />

CH0<br />

CH3 CH4<br />

CH7 CH8<br />

synchro not lost<br />

ai16062<br />

CH3 CH4<br />

CH0<br />

CH7 CH8<br />

2nd trigger<br />

ai16063

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!