2023-12-29 09:19 AM
Hello all, good day I hope your Christmas season is going well. I'm looking for a pdf document equivalent of the PDF that is attached to this post that gives description for STM32MP157F-DK2 HAL and low-layer drivers or a HAL API Manual/Programming manual to program our STM32MP157F-DK2 board using STM32CubeIDE. I tried searching the internet for anything of the sort but I couldn't find anything for my STM32MP157F-DK2 board please provide kind support as soon as possible thank you best regards.
2023-12-29 10:08 AM
Duplicate:
2023-12-29 10:21 AM
If what you're looking for doesn't exist on the project page, and it doesn't show up in a google search, it probably doesn't exist. The code is open source, you can use that as the documentation.
https://www.st.com/en/embedded-software/stm32cubemp1.html#tools-software
2023-12-29 09:27 PM
Dear Sir/Madam, Thank you for your kind reply. How are we supposed to program the board without the documentation of the HAL API in STM32CubeIDE? I watched a Digikey tutorial series on STM32 they said to search for the HAL API Documentation for your board to program the STM32 Board https://www.youtube.com/watch?v=hyZS2p1tW-g&list=PLEBQazB0HUyRYuzfi4clXsKUSgorErmBv it seems very important as it details all the HAL functions that we can use when programming. We have also searched the link you have provided for the documentation however we could not find anything on the HAL API. Please provide kind support thank you best regards.
2023-12-30 06:52 AM
I don't know. If you need a PDF and can't go off of the code and function definitions within the code, maybe programming this chip isn't for you.
The HAL stuff is more targeted for MCUs, not MPUs. That video is for MCUs.
2024-01-03 03:01 AM
I'm afraid the document you are asking for does not exist for STM32MP1 products.
Note: the DK2 is a board and there is only HW documentation https://www.st.com/en/evaluation-tools/stm32mp157f-dk2.html.
The STM32MP15x devices (which is the processor of the DK2 board) are intended to run Linux on Cortex-A7 and bare-metal SW on Cortex-M4 (using STM32CubeMP1 HAL). Cortex-M4 is seen as a coprocessor of Linux subsystem (e.g. to manage real time activities).
Regarding STM32CubeMP1, some information is listed here: https://www.st.com/en/embedded-software/stm32cubemp1.html
Getting started is in wiki: https://wiki.st.com/stm32mpu/wiki/Getting_started/STM32MP1_boards/STM32MP157x-DK2/Develop_on_Arm%C2%AE_Cortex%C2%AE-M4
Within STM32CubeMP1 package, you will have many examples and application you could refer to.
https://wiki.st.com/stm32mpu/wiki/STM32CubeMP15_Package_release_note_-_v1.6.0
Then, full information and details about using HAL fonctions are inside the 'C' code as comments.
Regards.
2024-01-03 06:08 AM
Hi @purushotham2608 ,
The HAL user manual is provided in the Cube Firmware package under STM32Cube_FW_MP1_V1.6.0\Drivers\STM32MP1xx_HAL_Driver\STM32MP157Cxx_CM4_User_Manual.chm
Let us know if it fit your expectation.
Olivier
2024-01-03 11:50 PM
2024-01-04 12:33 AM
Hi @purushotham2608 ,
This is not equivalent since the .chm is an automatic generated documentation from code. It does contain not "human" made educational section as you can have in the .pdf.
Anyway, it document the same way all API functions :
eg USART_Init
.chm
Note that most of generic "learning" chapter in the L4 pdf are likely applicable to STM32MP1 M4.
Differences to be cross-checked using .chm and code itself.
This is all we can provide as generic documentation. If you are still stuck finding some information, please be more specific in a dedicated post.
Olivier
2024-01-04 01:48 AM
Dear Sir/Madam, Good day, Thank you for your kind reply once again, As long as we can use this documentation to program our board and it lists all the functions that we can use to program this board we will be satisfied (such as using this documentation to learn how to turn on an LED as an example).