Skip to main content
MKass.1
Associate
Sep 1, 2021 2:50 PM UTC
Solved

How do I report an error in Cube initialization code?

I am using stm32L412CBU microcontroller and I am using both ADC units. The code generation generates this line of code:

PeriphClkInit.AdcClockSelection = ADCCLockSelection; which is incorrect according to the structure RCC_PeriphCLKInitTypeDef for this controller, you will find that this member is disabled for this particular controller.

This topic has been closed for replies.

2 replies

TDK
TDKBest answer
Sep 1, 2021 6:36 PM UTC
MKass.1
MKass.1Author
Associate
Sep 1, 2021 6:50 PM UTC

OK, thanks. I didn't know that it was already reported. I am new here.