cancel
Showing results for 
Search instead for 
Did you mean: 

How activate one AF and more Analog func on same pin G431

MM..1
Chief III

Hi i plan new design and require activate for example on PA3 ADC1_IN4 and same time COMP2_INP.

Is this possible and if yes how sequence to setup HAL LL or direct?

EDIT: Renamed from more AF ... only one AF poss.

14 REPLIES 14

No. Cube is right. (here :) )

See rm : setting the AF ...ONE value per pin - so its ONE AF possible . dot .

AScha3_0-1721987794203.png

AScha3_1-1721987818181.png

 

If you feel a post has answered your question, please click "Accept as Solution".

I agree one AF, but disagree many Analog. As is showed on your screens analog is always connected, next in MX you can see + GPIO_Analog not selected and this result i can set AF input capture TIM and manualy set ADC and COMP.

No.

see basic pin decision:

AScha3_0-1721988668142.png

IF set to analog...you see yourself. :)

If you feel a post has answered your question, please click "Accept as Solution".

No i set primary AF 10 mode


@MM..1 wrote:

I agree one AF, but disagree many Analog. 


I didn't say that.

I said that any analogue disables all AF.

 


@MM..1 wrote:

As is showed on your screens analog is always connected, 


But it says that activating Analogue disconnects the AF:

AndrewNeil_1-1721989259900.png