2022-10-09 04:56 AM
Dear Sir.
I am using STM32U585 , How can I test if the AD Clock is running.? .
Please Advise.
2022-10-12 05:51 AM
Hello @Ephraimoved (Community Member)
There are two ADC ADC1 and ADC4
You can check corresponding RCC peripheral clock enable register.
RCC AHB2ENR1 Bit 10 ADC1EN:
ADC1 clock enable Set and cleared by software.
0: ADC1 clock disabled
1: ADC1 clock enabled
RCC AHB3ENR Bit 5 ADC4EN:
ADC4 clock enable Set and cleared by software.
0: ADC4 clock disabled
1: ADC4 clock enabled
In order to use ADCx on U5 device, you also need to set
PWR SVMCR Bit 30 ASV: VDDA independent analog supply valid.
Best regards
Romain
In order to give better visibility on the answered topics, please click on 'Select as Best' on the reply which solved your issue or answered your question. See also 'Best Answers'
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.