Skip to main content
Associate
July 2, 2024
Solved

Duplicate ADC Initialization Calls in IOC-Generated Function

  • July 2, 2024
  • 1 reply
  • 1228 views

After updating to STM32CubeIDE Version: 1.16.0 Build: 21983_20240628_1741 (UTC), I've noticed that HAL_ADC_Init is being called twice. This behavior is different from the previous version 1.15, where it was called only once. Although the code still functions correctly, it seems less streamlined than before. Could you please review the attached MX_ADCx_Init.c file for potential issues or necessary adjustments?

 

This topic has been closed for replies.
Best answer by STTwo-32

Hello @rflamino 

I've been able to reproduce this on my side. It does not seem to be a source of problem, but I've reported to the concerned team (under internal ticket number 185621) for review on the coming versions.

Update: this issue has been solved on the STM32CubeMX V6.13.0.

Best Regards.

STTwo-32.

1 reply

STTwo-32
STTwo-32Best answer
ST Technical Moderator
July 3, 2024

Hello @rflamino 

I've been able to reproduce this on my side. It does not seem to be a source of problem, but I've reported to the concerned team (under internal ticket number 185621) for review on the coming versions.

Update: this issue has been solved on the STM32CubeMX V6.13.0.

Best Regards.

STTwo-32.

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.