2009-05-30 12:54 AM
When is the AFIO clock required?
2011-05-17 04:13 AM
Hi,
I can find no mention of when it would be required to enable the AFIO clock. The firmware library examples sometimes enable but mostly don't. The documentation says nothing about it. Could somebody clarify when it should be enabled please? Does anybody actually know?! Thanks, Nick.2011-05-17 04:13 AM
Yes, I think the STM32 documentation is particularly poor at giving this kind of information - See my post of 03-01-2009 at 12:56 in this thread:
(should be bottom of the 1st page)2011-05-17 04:13 AM
Hi,
Quote:
The documentation says nothing about it.
I agree: [ This message was edited by: lil-vince on 30-05-2009 10:04 ]2011-05-17 04:13 AM
Hi,
Check Section 7.4 AFIO registers in the RM0008: Note: To read/write the AFIO_EVCR,AFIO_MAPR and AFIO_EXTICRX registers, the AFIO clock should first be enabled. Chris2011-05-17 04:13 AM
Dear gentlemen,
Please refer to our FAQ Knowledge base : we have added one regarding this Topic : Cheers, STOne-32.2011-05-17 04:13 AM
Thank you STOne-32,
I tried searching before I asked. Honestly. Thanks again for your help. Regards, Nick. Ps, The EXTI worked for me when it was connected to PA0 (WITHOUT having the AFIO clock enabled). Perhaps the AFIO clock is only required when the EXTI lines are connected to pins other than on Port A (default)? Cheers.