MCU Clock Configuration :
Concept : In order to work with any peripheral we have to enable their clock. In STM32 MCU the clocks for almost all peripherals are manage by RCC block which stands for Reset & Clock Control. GPIO Port peripheral is connected to AHB1 as we have seen in the block diagram. AHB bus operates at frequency called HCLK. GPIO peripheral clock is derived from AHB1 and AHB1 bus clock is 16 MHz by default as MCU operates at Internal RC Oscillators.
By default clocks for all peripherals are disabled to save power. To enable clocks for particular peripheral we need to look for RCC section and register for enabling and disabling that particular bus. So for GPIO we need to go for RCC_AHB1ENR.
Let us understand with the video to configure MCU Clock using STM32CUBEMX.
✔ Register for this free course & you will get an access to e-Learning content and code files🏆🚀
https://www.hexnbit.com/product/free-...
🌐 STM32 Related Courses:
Certificate Course: https://www.hexnbit.com/advance-embed...
Foundation Course: https://www.hexnbit.com/product/found...
✨ HEXNBIT Social Media :
Instagram: / hexnbit
Twitter: / hexnbit_life
YouTube: / hexnbit
Facebook: / hexnbit
🎓 Other Courses:
Visit : https://www.hexnbit.com/
About us: Hexnbit provides one-stop solutions for the students & working professionals in Skill development programs. The platform not only provides subject expertise to the candidates but also, give them industry exposure to apply their learning analytically in a practical real-world.