Hi. Could You help me to understand somethink. In STM32 like STM32F103c8... there is a clock signal called RCC_APB2Periph_AFIO. When should be turned on this signal, always when I use peripherial, like Timmer, AD, USART or I2C or maybe when I used pins attached to this peripherial? Why we turn on this clock and also we give clock to the peripherial like ADC, SPI, USART? Why not only to ADC, SPI, USART but also to AFIO?
This has nothing to do with Keil!
The User Manual for the STM32 shows what clocks go to what peripherals.
You are right, it has nothing to do with Keil but it has with ARM.
Could You explain in simple english what is going on with that AFIO clock signal, when should it be used and how this clock is fed in STM32? Of course if it is not a problem?
No, it doesn't really even have anything to do with ARM - it is a specific detail of ST's STM32 chip.
You should be asking ST (or your Distributor) for support on their products!
Have you studied the STM32 User Guide?
"Home" page: www.st.com/.../1734.jsp
Reference Manuals: ">my.st.com/.../AllItems.aspx