This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

information for direct work with registers(stm32f407vg discovery board)

Hello guys, Does any one can introduce me a site, book, ... where I can find information about working directly with registers in STM32F(407VG)?
I want to be familiar with this topic(working with keil 5)
If not, what about CMSIS based one? I need something that explain step by step for a person who is beginner!

Thanks a lot

Parents Reply Children
  • Thanks a lot, I checked them before, lots of information, It was a little bit confusing for me. not good to start for a beginner person like me! :)

  • Well, if you choose to work directly with the registers, what do you expect?

    If you choose to work directly with the registers, then you must also accept the responsibility to study and fully understand all those registers, how they work, and and how to use them.

    If that's too much for you, then use the libraries provided - that's what they're there for!!

    See: http://www.keil.com/forum/59710/

  • Note that the concept of working directly with the registers is basically the same for most processors.

    So you can learn the concept with just about any processor - including a much simpler processor that you might just run in the simulator.

    Then you can get the full ST documentation for your real processor and read through the individual chapters that describes the registers, the supported values and how different registers might interact.

    In the end, most embedded programs will interact more or less directly with the processor registers - even if some processors have a framework where you might assign values to a struct and have a (possibly inlined) function move the values from the struct into the actual registers.