2020-10-28 08:32 AM
CubeMX doesn't let change the speed for the LTDC Pin PB11 to High, it only accepts "low",
When activating the ADC3, the init has 3 lines wrong:
static void MX_ADC3_Init(void)
{
..
/* Peripheral clock enable */
__HAL_RCC_ADC12_CLK_ENABLE(); ->> Should be __HAL_RCC_ADC3_CLK_ENABLE();
...
/* Disable ADC deep power down (enabled by default after reset state) */
LL_ADC_DisableDeepPowerDown(ADC1); -->> Should be ADC3
/* Enable ADC internal voltage regulator */
LL_ADC_EnableInternalRegulator(ADC1); -->> Should be ADC3
...
Regards,
Marco
Solved! Go to Solution.
2020-10-29 02:56 AM
I opened your project, and I could change PB11 speed.
For ADC3 problem, I think it has been detected and will be corrected in next CubeMX version 6.1.0
2020-10-29 02:56 AM
I opened your project, and I could change PB11 speed.
For ADC3 problem, I think it has been detected and will be corrected in next CubeMX version 6.1.0
2020-10-29 04:59 AM
Hi Mike,
thanks.
Regarding PB11: I have the problem when G5 is configured on PC1, moving it to PB11 solved it for me as well