I have an STM32F407G discovery board and I am trying to turn on an LED without using any example code.
I happen to know that the GPIOs require the RCC AHB1 clock to be enabled because I read about it online a long time ago.
But this information is not very obvious from the reference manual (at least not to me, any tips appreciated). The GPIO and RCC sections are miles apart. What is the procedure for learning a processor like this one other than "hope it has a large community and search online forums when stuck"!.
Here is a link to the reference manual.
Edit:
Typical that after asking this question I stumbled on a part of the manual that says (section 2.1.11):
After each device reset, all peripheral clocks are disabled (except for the SRAM and Flash memory interface). Before using a peripheral you have to enable its clock in the RCC_AHBxENR or RCC_APBxENR register
I think my question still stands however- the manual is over 1500 pages, is there a good strategy for relatively quickly conquering a processor through its reference manual?
A general hint when reading those 1500+ pages thick tomes is to focus on the register descriptions. That gives a good place to start, and when you don't understand what certain bits in the register is for, you can read about those more in-depth at the point where you need to know about them. This way you can filter out various special features of a hardware peripheral that are of no interest for your specific project.