Skip to main content
Stefan W
Associate II
September 14, 2017
Question

Bug in HAL for STM32F413 Tempsensor

  • September 14, 2017
  • 1 reply
  • 640 views
Posted on September 14, 2017 at 08:26

Hi,

while getting the ADC Tempsensor of the STM32F413 to work, I noticed that the Reference Manual and the HAL declare different ADC-Channels for the Tempsensor on the STM32F413. Changing the channel in the HAL made the temperature measurement work, so the Reference Manual seems to be correct.

I had to change the definition of IS_ADC_CHANNEL() and ADC_CHANNEL_TEMPSENSOR in the file stm32f4xx_hal_adc_ex.h (in my case V1.7.0).

Is there a better place to report issues like this?

#stm32f413 #hal
This topic has been closed for replies.

1 reply

ST Technical Moderator
September 14, 2017
Posted on September 14, 2017 at 16:55

Hello

W_hle.Stefan

,

Thank your for your reported issue.I raised this internallyto the appropriate team.

Kind Regards

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks