ADC Clock Setting in ST Cube MX for STM32H742VGT
- May 9, 2022
- 4 replies
- 2603 views
Dear all,
I used STM323H742VGT in one of my cards and I would like to configure it with ST Cube MX V6.5.0. According to the reference manual ADC clock source and pre-scaler can be set using ADCx_CCR register.
I would like to use asynchronous clock source which is adc_ker_ck_input. However, I couldn't find any setting in ADC section of CubeMX. There aren’t any settings also for pre-scaler. I am familiar with STM32F7 and I could select pre-scaler over Cube MX.
On the other hand, ADC_Clock is not enabled in Clock Configuration page in Cube MX. I don't know why. Normally, if I set a peripheral, related clock is enabled and I can change parameters in Clock configuration page.
I added some screen shuts and if you can help me, it would be great. If I cannot set in ST cube MX, I need to write driver for it. I prefer ST Cube MX should do it for me. I may miss one thing to set and spend days to figure out.
Best Regards