cancel
Showing results for 
Search instead for 
Did you mean: 

TIM10 compare output is PF6, But I want to use PF7

Kang Sung Gu
Associate II
Posted on October 01, 2017 at 07:24

  I used STM32F429ZI

0690X00000608HBQAY.png

I make this sorce code

GPIOF->MODER |= 0x00002000; //PF6 AF mode

GPIOF->PUPDR |= 0x00002000; //PF6 pull down

GPIOF->AFR[0]|= 0x03000000; //PF6 AF3(TIM8..11)

It is good work. ( PORTF6 IDR is good working)

But I want to use PF7, so change sorce code

GPIOF->MODER |= 0x00008000; //PF7 AF mode

GPIOF->PUPDR |= 0x00008000; //PF7 pull down

GPIOF->AFR[0]|= 0x30000000; //PF7 AF3(TIM8..11)

But it is not work (PF7 IDR is not working)  why?

PF6 -> PF7 can not?

Just only use PF6?

4 REPLIES 4
matic
Associate III
Posted on October 01, 2017 at 08:00

Only few of pins can be used for a certain function (or maybe only one). Press CTRL and click on the pin which is selected by default (PF6 in your case). All other possibilities will be coloured in blue.

Posted on October 01, 2017 at 08:38

Thank you Obid.Matic have a nice day

Posted on October 01, 2017 at 14:49

PF7 would need to use TIM11, no relationship to TIM10 available

0690X000006047PQAQ.jpg
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Posted on October 01, 2017 at 15:03

I found dataSheet thanks to you