Skip to main content
MKass.1
Associate
September 1, 2021
Solved

How do I report an error in Cube initialization code?

  • September 1, 2021
  • 2 replies
  • 941 views

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
September 1, 2021
MKass.1
MKass.1Author
Associate
September 1, 2021

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