cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F103C8 internal Temp sensor on which channel? ADCx_IN16 or ADC1_IN18

AAnth.1
Senior

Hi

reading the ref manual of the STM32F103C8, it says in chapter 11.10 that the temp sensor is internally connected to ADCx_IN16. In figure 39, it says that the temp sensor is connected to ADC1_IN18.

I reckon that this is a simple typo, or do I miss anything fundamental here? However, I could not find this information in the errata sheet.

If it's a typo, what's the correct ADC channel then?

Thank you,

0693W000006FZZeQAO.png

3 REPLIES 3

0693W000006FeqLQAS.jpgHello,

This is from DS.

Every indication is that it's channel 16.

https://github.com/STMicroelectronics/STM32CubeF1/blob/master/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h#L306 :

#define ADC_CHANNEL_TEMPSENSOR  ADC_CHANNEL_16  /* ADC internal channel (no connection on device pin) */

Still ought to be corrected in the RM (which is now in its 20th revision).

@Imen DAHMEN​ can this plese be placed into the pipeline. Thanks.

JW

Hello,

Thanks @Vangelis Fortounas​ , @Community member​  for pointing out this typo.

I raised this internally to correct the RM0008 in the coming release.

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen