2024-04-05 11:20 PM
HI
I use Cube MX with STM32U585RIT6.
When I use ADC4 In3 In4 In9 In22 and In23, the channel In9 is not properly initialised.
I must add this manually :
/* USER CODE BEGIN ADC4_Init 2 */
/** Configure Regular Channel
*/
sConfig.Channel = ADC_CHANNEL_9;
if (HAL_ADC_ConfigChannel(&hadc4, &sConfig) != HAL_OK)
{
Error_Handler();
}
/* USER CODE END ADC4_Init 2 */
With the STM32U585VIT, I have the same problem with channel9 dont work
Then it work. I have this probleme in CubeMX from 6.9 to 6.11 versions.
Solved! Go to Solution.
2024-07-05 06:17 AM
Hello @Markko67
This issue is solved on the new release of the STM32CubeMX (V6.12.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.
2024-04-06 12:52 AM - edited 2024-04-17 08:35 AM
Hello @Markko67
Thank you for reporting this issue. I can reproduce it on my side. I've report it internally to the concerned team for correction on the next releases (under internal ticket niumber 179275).
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.
2024-07-05 06:17 AM
Hello @Markko67
This issue is solved on the new release of the STM32CubeMX (V6.12.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.