cancel
Showing results for 
Search instead for 
Did you mean: 

ADC Clock set and test.

Ephraimoved
Associate III

Dear Sir.

I am using STM32U585 , How can I test if the AD Clock is running.? .

Please Advise.

1 REPLY 1
RomainR.
ST Employee

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.