2017-06-26 08:41 PM
Hi,
I am new to STM32 and want to learn STM32F4 but I could not find the standard peripheral library manual online. I would like to see some explanations of the library functions and some examples. Any help? Thanks in advance!
#standard-peripheral-library #stm32f4 #manualSolved! Go to Solution.
2017-06-27 01:47 AM
Hi
jq333
,standard device peripherals for the STM32F4 MCUs.
You may also use the
package; composed of STM32Cube HAL and low-layer APIs, plus consistent set of middleware components (RTOS, USB, FatFs, graphics and TCP/IP). All embedded software utilities come with a full set of examples running on STMicroelectronics boards.Hope this helps you to be more familiar with our STM32 devices.
Khouloud.
2017-06-27 01:47 AM
Hi
jq333
,standard device peripherals for the STM32F4 MCUs.
You may also use the
package; composed of STM32Cube HAL and low-layer APIs, plus consistent set of middleware components (RTOS, USB, FatFs, graphics and TCP/IP). All embedded software utilities come with a full set of examples running on STMicroelectronics boards.Hope this helps you to be more familiar with our STM32 devices.
Khouloud.
2017-06-27 03:51 AM
Look in the source code. The source ('.c') files contain instructions for their use as well (of course) as the details of their implementation. I compiled the SPL into a library file that I use in my projects, but I keep the source code handy for reference which I use often. In my opinion, the instructions should have been included in the header files instead of the source files.
2017-06-27 08:36 PM
Hi Kholoud and Tut,
Thanks for your help! My original thought was to find a PDF file that described the functions like in UM1061, a description of STM32F2xx standard peripheral library, or um0427, but I could not find the similar file for STM32F4. Are they basically same? Or the same description is also included in the package you recommended? The following is the link for UM1061 (
) and um0427 (http://www6.in.tum.de/pub/Main/TeachingWs2012Echtzeitsysteme/stm32f_firmw.pdf
)Thanks!
2017-06-28 05:52 AM
The information in UM1061 is much the same as the information in the header files and the descriptions in the source files (much of the descriptions are verbatim), however UM1061 in the link you provided is dated December 2011 so I think the header and source files would not only provide more up to date information, but will provide the information for the specific SPL revision you are using.
I don't know if there is an equivalent to UM1061 for STM32F4. It has been a while since I used STM32F2, but much of the SPL is the same. When we made the switch to F4, if I recall there wasn't much problem converting our SPL code from one to the other. To be honest, I had forgotten about UM1061. I have always used the header files and descriptions in the source files, along with the reference manual and datasheet of course.
2017-06-28 11:03 PM
Thanks!